![]() |
VR-Forces 4.5 Class Documentation
|
Will manage basic functionality of a joystick controller. More...

Public Member Functions | |
| DtJoystickControllerInterface (DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc) | |
| CTOR. | |
| virtual | ~DtJoystickControllerInterface () |
| destructor | |
| virtual bool | joystickEnabled () const |
Protected Member Functions | |
| virtual void | processJoyDeviceRequest (DtSimMessage *msg) |
| virtual void | processJoystickControlMessage (DtSimMessage *msg) |
| virtual void | calcAndSetPortValues (const DtString &functionGroup, const DtString &function, double value, bool repeat)=0 |
| Override to set. | |
| virtual void | joystickConnected ()=0 |
| Called when joystick is connected for this controller. | |
| virtual void | joystickDisconnected ()=0 |
| Called when joystick is disconnected for this controller. | |
Static Protected Member Functions | |
| static void | joyDeviceRequestCallback (DtSimMessage *msg, void *usr) |
| static void | joystickControlMessageCallback (DtSimMessage *msg, void *usr) |
Protected Attributes | |
| const DtJoyDeviceControllerDescriptorInterface * | myJoyDeviceControllerDescriptor |
| bool | myJoystickEnabled |
| int | myRequestCount |
| DtSimManager * | myJoystickSimManager |
| DtVrfObject * | myJoystickOwner |
Private Member Functions | |
| DtJoystickControllerInterface () | |
| default constructor; not implemented. | |
| DtJoystickControllerInterface (const DtJoystickControllerInterface &orig) | |
| copy constructor; not implemented. | |
| DtJoystickControllerInterface & | operator= (const DtJoystickControllerInterface &orig) |
| assignment operator; not implemented. | |
Will manage basic functionality of a joystick controller.
Implement pure virtual functions to responsd to joystick controls
| DtJoystickControllerInterface::DtJoystickControllerInterface | ( | DtVrfObject * | owner, |
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc | ||
| ) |
CTOR.
|
virtual |
destructor
|
private |
default constructor; not implemented.
|
private |
copy constructor; not implemented.
|
virtual |
|
protectedvirtual |
|
staticprotected |
|
protectedvirtual |
|
staticprotected |
|
protectedpure virtual |
Called when joystick is connected for this controller.
Implemented in DtSensorGimbalController, DtHumanJoystickMovementController, DtGroundJoyMoveController, DtBallisticGunJoyController, DtFixedWingJoyFlightController, DtRotaryWingJoyFlightController, DtGroundJoyTurretController, and MyJoystickControllerComponenet.
|
protectedpure virtual |
Called when joystick is disconnected for this controller.
Implemented in DtSensorGimbalController, DtHumanJoystickMovementController, DtGroundJoyMoveController, DtBallisticGunJoyController, DtFixedWingJoyFlightController, DtRotaryWingJoyFlightController, DtGroundJoyTurretController, and MyJoystickControllerComponenet.
|
private |
assignment operator; not implemented.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |