21class DtBooleanOutputPort;
22class DtIntegerOutputPort;
23class DtAnalogOutputPort;
27class DtArticulatedPartStateRepository;
58 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
70 virtual bool init()
override;
76 virtual void tick()
override;
86 const DtString& functionGroup,
const DtString& function,
double value,
bool repeat)
override;
99 virtual const char*
type()
const override;
128 static DtSimComponent*
creator(
const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
129 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
Fixed-wing joystick controller descriptor for VREngage.
Definition vreFwlJoyControllerDescriptor.h:32
DtAnalogOutputPort * myWheelBrakeOutputPort
Output port for wheel brake control.
Definition vreFwlJoyController.h:154
DtBooleanOutputPort * myLandingGearOutputPort
Output port for landing gear control.
Definition vreFwlJoyController.h:145
virtual bool createPorts() override
Creates component ports.
makVrf::DtArticulatedPartStateRepository * myYPartRep
State repository for Y-axis articulation.
Definition vreFwlJoyController.h:172
DtVreFwlJoyController(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
DtConstrainedAnalogOutputPort * myPedalOutputPort
Output port for rudder pedals (yaw)
Definition vreFwlJoyController.h:163
DtAnalogOutputPort * myAirBrakeOutputPort
Output port for air brake control.
Definition vreFwlJoyController.h:151
const DtVreFwlJoyControllerDescriptor * myDesc
Component descriptor containing configuration parameters.
Definition vreFwlJoyController.h:142
bool myLandingGearStateChanged
Flag tracking whether landing gear state has changed.
Definition vreFwlJoyController.h:157
virtual void tick() override
Performs per-frame processing.
DtIntegerOutputPort * myFlapSettingOutputPort
Output port for flap setting.
Definition vreFwlJoyController.h:148
makVrf::DtArticulatedPartStateRepository * myXPartRep
State repository for X-axis articulation.
Definition vreFwlJoyController.h:169
virtual ~DtVreFwlJoyController() override
Virtual destructor.
virtual void disable() override
Disables the joystick controller.
virtual const char * type() const override
Gets the component type.
DtConstrainedAnalogOutputPort * myThrottleOutputPort
Output port for throttle control.
Definition vreFwlJoyController.h:166
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Component factory function.
virtual void calcAndSetPortValues(const DtString &functionGroup, const DtString &function, double value, bool repeat) override
Calculates and sets port values for a specific joystick function.
DtVreFwlJoyController & operator=(const DtVreFwlJoyController &orig)
Assignment operator (not implemented)
virtual void setIsEnabled(bool yes) override
Sets the enabled state of the joystick controller.
virtual bool init() override
Initializes the joystick controller.
DtVreFwlJoyController(const DtVreFwlJoyController &orig)
Copy constructor (not implemented)
virtual void enable() override
Enables the joystick controller.
DtConstrainedDualAxisAnalogOutputPort * myStickOutputPort
Output port for control stick (pitch/roll)
Definition vreFwlJoyController.h:160
Controller for joystick control of fixed wing aircraft.
Definition fixedWingJoyFlightController.h:38
Extension trait for joystick controllers in VREngage.
Definition vreRtdTraitJoyControllerExtension.h:28
Joystick controller for fixed-wing aircraft entities.
Definition vreFwlActuator.h:35
const char TS_JoyController[]
Type string for VREngage fixed-wing joystick controller component.
Definition vreFwlJoyController.h:38
Definition connectorAccessory.h:39
Common definitions for the RTD backend library.
Extension trait for joystick controllers in VREngage.