19 #define DtJoystickControllerComponentExampleType "joystick-controller-component-example"
45 virtual const char*
type()
const;
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const MyJoystickControllerComponenet & operator=(const MyJoystickControllerComponenet &orig)
DtSimManager * simManager()
Gets the sim manager.
Definition: simComponent.h:410
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
virtual void joystickConnected()
virtual const char * type() const
Type of controller this is.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual void joystickDisconnected()
Joystick control has been disabled for this controller.
MyJoystickControllerComponenet()
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:29
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
Will manage basic functionality of a joystick controller.
Definition: joystickControllerInterface.h:23
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
virtual void calcAndSetPortValues(const DtString &functionGroup, const DtString &function, double value, bool repeat)
Called when a particular function group and function for this controller has been called...
Definition: joystickController.h:21
virtual ~MyJoystickControllerComponenet()