|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <PlatformJoystick.h>
Public Member Functions | |
| PlatformJoystick (int i) | |
| The Standard constructor. | |
| PlatformJoystick (const PlatformJoystick &js) | |
| virtual | ~PlatformJoystick () |
| The Standard destructor. | |
| virtual signed int | GetHatState (unsigned int hat) |
| virtual Variant | GetBallState (unsigned int ball) |
| virtual signed int | GetAxisState (unsigned int axis) |
| virtual signed int | GetButtonState (unsigned int button) |
| PlatformJoystick () | |
| PlatformJoystick (int id) | |
| virtual | ~PlatformJoystick () |
| virtual signed int | GetHatState (unsigned int hat) |
| virtual Variant | GetBallState (unsigned int ball) |
| virtual signed int | GetAxisState (unsigned int axis) |
| virtual signed int | GetButtonState (unsigned int button) |
Public Member Functions inherited from PJoystick | |
| PJoystick () | |
| The Standard constructor. | |
| virtual | ~PJoystick () |
| The Standard destructor. | |
| int | GetNumHats () |
| int | GetNumBalls () |
| int | GetNumAxes () |
| int | GetNumButtons () |
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 |
| virtual std::ostream & | SendToStream (std::ostream &out) const |
Additional Inherited Members | |
Protected Attributes inherited from PJoystick | |
| Variant | mName |
| int | mNumHats |
| int | mNumBalls |
| int | mNumAxes |
| int | mNumButtons |
| bool | mIsOpen |
Protected Attributes inherited from PEBLObjectBase | |
| ComplexDataType | mCDT |
| std::map< std::string, Variant > | mProperties |
Definition at line 37 of file sdl/PlatformJoystick.h.
| PlatformJoystick::PlatformJoystick | ( | int | i | ) |
The Standard constructor.
Definition at line 41 of file sdl/PlatformJoystick.cpp.
References PJoystick::mIsOpen, PJoystick::mName, PJoystick::mNumAxes, PJoystick::mNumBalls, PJoystick::mNumButtons, PJoystick::mNumHats, and PError::SignalFatalError().
| PlatformJoystick::PlatformJoystick | ( | const PlatformJoystick & | js | ) |
Definition at line 67 of file sdl/PlatformJoystick.cpp.
References NULL.
|
virtual |
The Standard destructor.
Definition at line 73 of file sdl/PlatformJoystick.cpp.
| PlatformJoystick::PlatformJoystick | ( | ) |
Definition at line 4 of file validator/PlatformJoystick.cpp.
| PlatformJoystick::PlatformJoystick | ( | int | id | ) |
|
virtual |
|
virtual |
Implements PJoystick.
Definition at line 122 of file sdl/PlatformJoystick.cpp.
Referenced by PEBLEnvironment::GetJoystickAxisState().
|
virtual |
Implements PJoystick.
|
virtual |
Implements PJoystick.
Definition at line 97 of file sdl/PlatformJoystick.cpp.
References PJoystick::GetNumBalls(), PList::PushBack(), and PError::SignalWarning().
Referenced by PEBLEnvironment::GetJoystickBallState().
|
virtual |
Implements PJoystick.
Definition at line 136 of file sdl/PlatformJoystick.cpp.
References PJoystick::GetNumButtons(), and PError::SignalWarning().
Referenced by PEBLEnvironment::GetJoystickButtonState().
|
virtual |
Implements PJoystick.
|
virtual |
Implements PJoystick.
Definition at line 81 of file sdl/PlatformJoystick.cpp.
References PJoystick::GetNumHats(), and PError::SignalWarning().
Referenced by PEBLEnvironment::GetJoystickHatState().
|
virtual |
Implements PJoystick.
|
protectedvirtual |
Reimplemented from PJoystick.
Definition at line 13 of file validator/PlatformJoystick.cpp.
|
protectedvirtual |
Reimplemented from PJoystick.