Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Parallel Class Reference

Class for setting user specified bit patterns at the parallel port of a system for a certain amount of time. More...

#include <parallel.hpp>

Inheritance diagram for Parallel:

Inheritance graph
[legend]
Collaboration diagram for Parallel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Parallel ()
 Constructor.
 ~Parallel ()
 Destructor.
void output (short, timespec)
 Set a specified bit pattern at the first parallel port of the system for a defined amount of time.

Detailed Description

Class for setting user specified bit patterns at the parallel port of a system for a certain amount of time.

Definition at line 27 of file parallel.hpp.


Constructor & Destructor Documentation

Parallel::Parallel  ) 
 

Constructor.

Definition at line 26 of file parallel.cpp.

Parallel::~Parallel  ) 
 

Destructor.

Definition at line 33 of file parallel.cpp.


Member Function Documentation

void Parallel::output short  pattern,
timespec  wait
 

Set a specified bit pattern at the first parallel port of the system for a defined amount of time.

Parameters:
pattern bit pattern to set
wait defined wait time
Todo:
Implement code paths for architectures other than Linux i386.
Warning:
This method currently only works on Linux i386. On other architectures it will do nothing at all.
Definition at line 46 of file parallel.cpp.

References TimeInterval::compareDifference(), TimeInterval::measureA(), and TimeInterval::measureB().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Dec 17 14:54:29 2004 for Psychological Test Framework by doxygen 1.3.8