19#include <vrfmodel/parachuteController.h>
48 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
61 virtual void tick()
override;
68 virtual const char*
type()
const override;
83 static DtSimComponent*
creator(
const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
84 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
107 const DtString& functionGroup,
const DtString& function,
double value,
bool repeat)
override;
DtVreJoystickControllerInterface(DtSimComponent *component, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc)
Constructs an interface alongside an existing component base.
DtVreParachuteController(const DtVreParachuteController &orig)
Copy constructor (not implemented)
const DtVreParachuteController & operator=(const DtVreParachuteController &orig)
Assignment operator (not implemented)
virtual ~DtVreParachuteController() override
Virtual destructor.
virtual void joystickDisconnected() override
Handles joystick disconnection events.
virtual void preFirstTickInit() override
Calls base first-tick initialization and restores incoming joystick state.
DtVreParachuteController()
Default constructor (not implemented)
virtual DtVector projectLandingLocation(DtSimObjectReference entity)
Projects the expected landing location of an entity.
DtVreParachuteController(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
virtual const char * type() const override
Gets the type identifier for this component.
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Factory method to create a new instance of this component.
virtual void joystickConnected() override
Handles joystick connection events.
virtual void calcAndSetPortValues(const DtString &functionGroup, const DtString &function, double value, bool repeat) override
Processes joystick input and sets corresponding port values.
virtual void tick() override
Updates the controller state each simulation frame.
DtVreSimComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSimComponent.h:63
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
!
Definition glsVreMessageUtil.h:50
const char * DtVreParachuteControllerType
Type identifier for the VRE parachute controller component.
Definition vreParachuteController.h:25
Internal-state persistence for VRE joystick controllers.
Base template class for VR-Engage simulation components.