19 #define DtJoystickControllerComponentExampleType "joystick-controller-component-example"
45 virtual const char*
type()
const;
const MyJoystickControllerComponenet & operator=(const MyJoystickControllerComponenet &orig)
Joystick routines that must be enabled in order for this to be considered a joystick controller Joyst...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual void joystickConnected()
Joystick routines that must be enabled in order for this to be considered a joystick controller Joyst...
virtual const char * type() const
Type of controller this is.
virtual void joystickDisconnected()
Joystick control has been disabled for this controller.
MyJoystickControllerComponenet()
Joystick routines that must be enabled in order for this to be considered a joystick controller Joyst...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
VRF4API_METHOD const DtSimulationServices * simManager() const
This is the deprecated API that can be used as a reference to migrate 4.X code to 5...
Definition: simComponent.h:566
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Will manage basic functionality of a joystick controller. Implement pure virtual functions to respons...
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
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
virtual ~MyJoystickControllerComponenet()