102 virtual void tick(
double dt)
override;
111 virtual const char*
type()
const override;
Type-specific handle class for attributes.
Definition attributeHandle.h:229
virtual void zoom(float val)
Combined input handler for zoom functionality.
virtual ~DtCommanderControlLogic() override
Virtual destructor for DtCommanderControlLogic.
virtual void shutdown() override
Shuts down the component.
DtAttributeHandleType< double > myZoomAttr
Attribute handle storing the current zoom level.
Definition commanderControlLogic.h:216
DtInputLogic myInputLogic
Input handler logic for processing input device events.
Definition commanderControlLogic.h:172
virtual void zoomOut(double val)
Input handler for zoom out functionality.
bool myOutTheHatchMode
Flag indicating whether "out the hatch" mode is active.
Definition commanderControlLogic.h:183
float myMaxZoom
Maximum allowed zoom level.
Definition commanderControlLogic.h:192
DtAttributeHandleType< int > myCurrentSensorAttr
Attribute handle storing the active sensor index (0=Visual, 1=NVG, 2=Thermal-white,...
Definition commanderControlLogic.h:200
DtAttributeHandleType< double > myObserverPitchAttr
Attribute handle storing the observer's current pitch angle in radians.
Definition commanderControlLogic.h:212
virtual makVre::DtVreMessageResult handleMenuMessage(makVre::DtVreMessage *msg)
Handles menu action messages.
virtual const char * type() const override
Returns the component type identifier.
float myAzimuthInput
Current azimuth input value for "out the hatch" mode.
Definition commanderControlLogic.h:186
DtCommanderControlLogic()
Constructor for DtCommanderControlLogic.
virtual void tick(double dt) override
Updates the component state.
virtual bool postInitialize() override
Performs post-initialization setup.
DtAttributeHandleType< double > myAimInputScaleAttr
Attribute handle storing the input scale factor derived from zoom level for consistent aim control.
Definition commanderControlLogic.h:224
float myElevationInput
Current elevation input value for "out the hatch" mode.
Definition commanderControlLogic.h:189
virtual void zoomIn(double val)
Input handler for zoom in functionality.
DtAttributeHandleType< double > myMagnificationAttr
Attribute handle storing the current view magnification level.
Definition commanderControlLogic.h:220
DtAttributeHandleType< bool > myZoomChangedAttr
Attribute handle indicating whether the zoom level has changed and the interpolator needs updating.
Definition commanderControlLogic.h:204
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the component with configuration from Lua.
virtual void elevation(double val)
Input handler for sensor elevation (vertical) control.
float myMinZoom
Minimum allowed zoom level.
Definition commanderControlLogic.h:195
virtual void azimuth(double val)
Input handler for sensor azimuth (horizontal) control.
std::string myMainControlGroup
Main control group name from configuration.
Definition commanderControlLogic.h:177
DtAttributeHandleType< double > myObserverYawAttr
Attribute handle storing the observer's current yaw angle in radians.
Definition commanderControlLogic.h:208
virtual void nextSensor(double val)
Input handler for cycling through sensor modes.
bool myEnableZoom
Definition commanderControlLogic.h:196
DtAttributeHandleType< std::vector< std::string > > mySensorModesAttr
Attribute handle storing the list of available sensor mode name strings.
Definition commanderControlLogic.h:228
Component that provides entity control functionality.
Definition entityControlLogic.h:64
Table-based access to Lua state for configuration data.
Definition initializer.h:38
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Defines the logic for controlling entities in VR-Engage.
constexpr const char * minZoom
Definition commanderControlLogic.h:37
constexpr const char * maxZoom
Definition commanderControlLogic.h:34
constexpr const char * enableZoom
Definition commanderControlLogic.h:31
constexpr const char * outTheHatchMode
Definition commanderControlLogic.h:40
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Definition commanderControlLogic.h:23
!
Definition glsVreMessageUtil.h:50
constexpr const char * DtCommanderControlLogicType
Type identifier for DtCommanderControlLogic component.
Definition commanderControlLogic.h:46
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33