VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions
DtJoystickControllerInterface Class Reference

Will manage basic functionality of a joystick controller. More...

Inheritance diagram for DtJoystickControllerInterface:
Inheritance graph
[legend]

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
DtSimManagermyJoystickSimManager
DtVrfObjectmyJoystickOwner

Private Member Functions

 DtJoystickControllerInterface ()
 default constructor; not implemented.
 DtJoystickControllerInterface (const DtJoystickControllerInterface &orig)
 copy constructor; not implemented.
DtJoystickControllerInterfaceoperator= (const DtJoystickControllerInterface &orig)
 assignment operator; not implemented.

Detailed Description

Will manage basic functionality of a joystick controller.

Implement pure virtual functions to responsd to joystick controls

Constructor & Destructor Documentation

DtJoystickControllerInterface::DtJoystickControllerInterface ( DtVrfObject owner,
DtSimManager simManager,
DtComponentDescriptor desc 
)

CTOR.

virtual DtJoystickControllerInterface::~DtJoystickControllerInterface ( )
virtual

destructor

DtJoystickControllerInterface::DtJoystickControllerInterface ( )
private

default constructor; not implemented.

DtJoystickControllerInterface::DtJoystickControllerInterface ( const DtJoystickControllerInterface orig)
private

copy constructor; not implemented.

Member Function Documentation

virtual bool DtJoystickControllerInterface::joystickEnabled ( ) const
virtual
virtual void DtJoystickControllerInterface::processJoyDeviceRequest ( DtSimMessage msg)
protectedvirtual
static void DtJoystickControllerInterface::joyDeviceRequestCallback ( DtSimMessage msg,
void *  usr 
)
staticprotected
virtual void DtJoystickControllerInterface::processJoystickControlMessage ( DtSimMessage msg)
protectedvirtual
static void DtJoystickControllerInterface::joystickControlMessageCallback ( DtSimMessage msg,
void *  usr 
)
staticprotected
virtual void DtJoystickControllerInterface::calcAndSetPortValues ( const DtString functionGroup,
const DtString function,
double  value,
bool  repeat 
)
protectedpure virtual
virtual void DtJoystickControllerInterface::joystickConnected ( )
protectedpure virtual
virtual void DtJoystickControllerInterface::joystickDisconnected ( )
protectedpure virtual
DtJoystickControllerInterface& DtJoystickControllerInterface::operator= ( const DtJoystickControllerInterface orig)
private

assignment operator; not implemented.

Member Data Documentation

const DtJoyDeviceControllerDescriptorInterface* DtJoystickControllerInterface::myJoyDeviceControllerDescriptor
protected
bool DtJoystickControllerInterface::myJoystickEnabled
protected
DtSimManager* DtJoystickControllerInterface::myJoystickSimManager
protected
DtVrfObject* DtJoystickControllerInterface::myJoystickOwner
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)