VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 Referenceabstract

Will manage basic functionality of a joystick controller. Implement pure virtual functions to responsd to joystick controls.

Inheritance diagram for DtJoystickControllerInterface:
Inheritance graph
[legend]

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)
 

Protected Attributes

const
DtJoyDeviceControllerDescriptorInterface
myJoyDeviceControllerDescriptor
 
bool myJoystickEnabled
 
int myRequestCount
 
DtSimulationServicesmyJoystickSimManager
 
DtLocalObjectmyJoystickOwner
 

Private Member Functions

 DtJoystickControllerInterface ()
 
 DtJoystickControllerInterface (const DtJoystickControllerInterface &orig)
 
DtJoystickControllerInterfaceoperator= (const DtJoystickControllerInterface &orig)
 

Constructor & Destructor Documentation

DtJoystickControllerInterface::DtJoystickControllerInterface ( DtLocalObject owner,
DtSimulationServices 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
int DtJoystickControllerInterface::myRequestCount
protected
DtSimulationServices* DtJoystickControllerInterface::myJoystickSimManager
protected
DtLocalObject* DtJoystickControllerInterface::myJoystickOwner
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)