18#include <vrfmodel/turretSlewController.h>
19#include <vrfmodel/joystickControllerInterface.h>
20#include <vrfobjcore/simRadio.h>
23class DtSimulationServices;
24class DtJoyDeviceControllerDescriptor;
52 DtComponentDescriptor* desc, DtReaderWriterRegistry* parentRegistry = 0);
64 virtual const char*
type()
const override;
76 static DtSimComponent*
creator(
const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
77 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
89 const DtString& functionGroup,
const DtString& function,
double value,
bool repeat)
override;
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.
DtGroundJoyTurretController()
Default constructor (not implemented)
virtual void joystickDisconnected() override
Handles joystick disconnection event.
virtual ~DtGroundJoyTurretController() override
Virtual destructor.
virtual void joystickConnected() override
Handles joystick connection event.
DtGroundJoyTurretController & operator=(const DtGroundJoyTurretController &orig)
Assignment operator (not implemented)
DtGroundJoyTurretController(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
virtual void calcAndSetPortValues(const DtString &functionGroup, const DtString &function, double value, bool repeat) override
Processes joystick input and updates output ports.
virtual const char * type() const override
Gets the type identifier for this component.
DtGroundJoyTurretController(const DtGroundJoyTurretController &orig)
Copy constructor (not implemented)
const char DtGroundJoyTurretControllerType[]
Type identifier for the ground turret joystick controller component.
Definition groundJoyTurretController.h:27
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
Include export definitions for this library.
Definition glsVreMessageUtil.h:49