|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <DeviceState.h>
Public Member Functions | |
| DeviceState (DeviceTest test, int interfaced, PDevice *device, PEBL_DEVICE_TYPE pdt) | |
| virtual | ~DeviceState () |
| virtual int | GetInterface () const |
| virtual int | GetState (int iface) const |
| virtual int | TestDevice () const |
| PDevice * | GetDevice () |
| PDevice * | GetEventQueue () |
| virtual PEBL_DEVICE_TYPE | GetDeviceType () |
Protected Member Functions | |
| virtual std::ostream & | SendToStream (std::ostream &out) const |
Protected Attributes | |
| int | mInterface |
| This is different from the value or values that an interface can take on. | |
| DeviceTest | mDeviceTest |
| PDevice * | mDevice |
| PEBL_DEVICE_TYPE | mPDT |
Friends | |
| std::ostream & | operator<< (ostream &out, const DeviceState &device) |
Definition at line 74 of file DeviceState.h.
| DeviceState::DeviceState | ( | DeviceTest | test, |
| int | interfaced, | ||
| PDevice * | device, | ||
| PEBL_DEVICE_TYPE | pdt | ||
| ) |
Definition at line 33 of file DeviceState.cpp.
|
virtual |
Definition at line 43 of file DeviceState.cpp.
|
inline |
|
inlinevirtual |
| PDevice * DeviceState::GetEventQueue | ( | ) |
|
virtual |
|
virtual |
Definition at line 54 of file DeviceState.cpp.
|
protectedvirtual |
Reimplemented in ValueState, IntervalState, and RegionState.
Definition at line 75 of file DeviceState.cpp.
|
virtual |
Reimplemented in ValueState, IntervalState, and RegionState.
Definition at line 59 of file DeviceState.cpp.
|
friend |
Definition at line 67 of file DeviceState.cpp.
|
protected |
Definition at line 102 of file DeviceState.h.
Referenced by GetDevice(), ValueState::TestDevice(), IntervalState::TestDevice(), and RegionState::TestDevice().
|
protected |
Definition at line 101 of file DeviceState.h.
Referenced by ValueState::TestDevice(), IntervalState::TestDevice(), and RegionState::TestDevice().
|
protected |
This is different from the value or values that an interface can take on.
The 'interface' of a device is one of a number of interfaces a device may have.
These could include the specific button on a mouse, direction of mouse movement (x or y),
Definition at line 99 of file DeviceState.h.
Referenced by GetInterface(), ValueState::SendToStream(), ValueState::TestDevice(), IntervalState::TestDevice(), and RegionState::TestDevice().
|
protected |
Definition at line 105 of file DeviceState.h.
Referenced by GetDeviceType().