102 virtual void tick(
double dt)
override;
111 virtual const char*
type()
const override;
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.
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
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.
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.
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
virtual void nextSensor(double val)
Input handler for cycling through sensor modes.
bool myEnableZoom
Definition commanderControlLogic.h:196
Component that provides entity control functionality.
Definition entityControlLogic.h:60
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
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtCommanderControlLogicType
Type identifier for DtCommanderControlLogic component.
Definition commanderControlLogic.h:46
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33