![]() |
VR-Forces Developer's Guide
|
Will manage basic functionality of a joystick controller. Implement pure virtual functions to responsd to joystick controls.

Public Member Functions | |
| DtJoystickControllerInterface (DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc) | |
| virtual | ~DtJoystickControllerInterface () |
| 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 |
| virtual void | joystickConnected ()=0 |
| virtual void | joystickDisconnected ()=0 |
Static Protected Member Functions | |
| static void | joyDeviceRequestCallback (DtSimMessage *msg, void *usr) |
| static void | joystickControlMessageCallback (DtSimMessage *msg, void *usr) |
Private Member Functions | |
| DtJoystickControllerInterface () | |
| DtJoystickControllerInterface (const DtJoystickControllerInterface &orig) | |
| DtJoystickControllerInterface & | operator= (const DtJoystickControllerInterface &orig) |
| DtJoystickControllerInterface::DtJoystickControllerInterface | ( | DtLocalObject * | owner, |
| DtSimulationServices * | simManager, | ||
| DtComponentDescriptor * | desc | ||
| ) |
CTOR.
|
virtual |
destructor
|
private |
default constructor; not implemented.
|
private |
copy constructor; not implemented.
|
virtual |
|
protectedvirtual |
|
staticprotected |
|
protectedvirtual |
|
staticprotected |
|
protectedpure virtual |
Override to set.
Implemented in DtSensorGimbalController, DtGroundJoyMoveController, DtBallisticGunJoyController, DtFixedWingJoyFlightController, DtRotaryWingJoyFlightController, and DtGroundJoyTurretController.
|
protectedpure virtual |
Called when joystick is connected for this controller.
Implemented in DtSensorGimbalController, DtGroundJoyMoveController, DtBallisticGunJoyController, DtFixedWingJoyFlightController, DtRotaryWingJoyFlightController, and DtGroundJoyTurretController.
|
protectedpure virtual |
Called when joystick is disconnected for this controller.
Implemented in DtSensorGimbalController, DtGroundJoyMoveController, DtBallisticGunJoyController, DtFixedWingJoyFlightController, DtRotaryWingJoyFlightController, and DtGroundJoyTurretController.
|
private |
assignment operator; not implemented.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |