|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <PParallelPort.h>
Public Member Functions | |
| PParallelPort () | |
| The Standard constructor. | |
| virtual | ~PParallelPort () |
| The Standard destructor. | |
| virtual void | Init () |
| virtual void | SetPort (Variant v) |
| virtual void | Close () |
| virtual char | GetStatusState () |
| virtual char | GetDataState () |
| virtual void | SetDataState (char x) |
| virtual void | EmulateStandardPort () |
| virtual void | SetOutputMode () |
| virtual void | SetInputMode () |
| virtual int | GetState (int iface) |
Public Member Functions inherited from PDevice | |
| PDevice () | |
| The Standard constructor. | |
| virtual | ~PDevice () |
| The Standard destructor. | |
| virtual PEBL_DEVICE_TYPE | GetDeviceType () |
| virtual int | GetState (int iface) const |
Public Member Functions inherited from PEBLObjectBase | |
| PEBLObjectBase () | |
| Standard Constructor. | |
| PEBLObjectBase (ComplexDataType cdt) | |
| Standard Constructor. | |
| PEBLObjectBase (const PEBLObjectBase &pob) | |
| virtual | ~PEBLObjectBase () |
| Standard Destructor. | |
| virtual bool | InitializeProperty (std::string name, Variant v) |
| virtual bool | SetProperty (std::string name, Variant v) |
| Variant | GetProperty (std::string) const |
| virtual ObjectValidationError | ValidateProperty (std::string, Variant v) const |
| virtual ObjectValidationError | ValidateProperty (std::string) const |
| ComplexDataType | GetType () |
| virtual std::string | ObjectName () const |
| virtual std::ostream & | PrintProperties (std::ostream &out) |
| virtual Variant | GetPropertyList () |
Protected Member Functions | |
| virtual std::ostream & | SendToStream (std::ostream &out) const |
Protected Attributes | |
| unsigned int | mPort |
| bool | mIsOpen |
Protected Attributes inherited from PEBLObjectBase | |
| ComplexDataType | mCDT |
| std::map< std::string, Variant > | mProperties |
Definition at line 37 of file PParallelPort.h.
| PParallelPort::PParallelPort | ( | ) |
The Standard constructor.
Definition at line 67 of file PParallelPort.cpp.
References CDT_PARALLELPORT, and PEBLObjectBase::mCDT.
|
virtual |
|
virtual |
Definition at line 161 of file PParallelPort.cpp.
References mIsOpen, and mPort.
Referenced by ~PParallelPort().
|
virtual |
Definition at line 222 of file PParallelPort.cpp.
|
virtual |
Definition at line 197 of file PParallelPort.cpp.
References Inp32(), and mPort.
Referenced by GetState().
|
virtual |
Definition at line 275 of file PParallelPort.cpp.
References GetDataState(), GetStatusState(), SetDataState(), SetInputMode(), and SetOutputMode().
|
virtual |
Definition at line 183 of file PParallelPort.cpp.
References Inp32(), and mPort.
Referenced by GetState().
|
virtual |
Definition at line 83 of file PParallelPort.cpp.
References mIsOpen, mPort, NULL, and PError::SignalFatalError().
|
protectedvirtual |
Reimplemented from PDevice.
Definition at line 266 of file PParallelPort.cpp.
|
virtual |
Definition at line 211 of file PParallelPort.cpp.
References mPort, and Out32().
Referenced by GetState().
|
virtual |
Definition at line 251 of file PParallelPort.cpp.
References Inp32(), mPort, and Out32().
Referenced by GetState().
|
virtual |
Definition at line 231 of file PParallelPort.cpp.
References Inp32(), mPort, and Out32().
Referenced by GetState().
|
virtual |
Definition at line 140 of file PParallelPort.cpp.
References mPort, PEBLPPortLPT1, PEBLPPortLPT2, and PEBLPPortLPTX.
|
protected |
Definition at line 66 of file PParallelPort.h.
Referenced by Close(), Init(), and ~PParallelPort().
|
protected |
Definition at line 65 of file PParallelPort.h.
Referenced by Close(), GetDataState(), GetStatusState(), Init(), SetDataState(), SetInputMode(), SetOutputMode(), and SetPort().