19#include <vrfmodel/parachuteController.h>
20#include <vrfmodel/joystickControllerInterface.h>
36 public DtJoystickControllerInterface
48 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
61 virtual void tick()
override;
68 virtual const char*
type()
const override;
80 static DtSimComponent*
creator(
const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
81 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
104 const DtString& functionGroup,
const DtString& function,
double value,
bool repeat)
override;
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.
DtVreParachuteController()
Default constructor (not implemented)
virtual void processParachuteTolocationTask(DtSimMessage *msg) override
Processes parachute-to-location task messages.
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:54
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const char * DtVreParachuteControllerType
Type identifier for the VRE parachute controller component.
Definition vreParachuteController.h:25
Base template class for VR-Engage simulation components.