VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtSensorOperatorInputLogic Class Reference

Detailed Description

This class processes user inputs specific to the sensor operator role, translating keyboard, mouse, and other input device events into actions within the simulation. It coordinates with the sensor operator simulation logic to handle inputs related to sensor controls, targeting systems, and other sensor operator functions.

#include <sensorOperatorInputLogic.h>

Inheritance diagram for makVre::DtSensorOperatorInputLogic:
[legend]

Public Member Functions

 DtSensorOperatorInputLogic (DtSensorOperatorSimLogic *simLogic)
 
virtual ~DtSensorOperatorInputLogic ()
 
virtual void initialize () override
 
- Public Member Functions inherited from makVre::DtInputLogic
 DtInputLogic ()
 
virtual ~DtInputLogic ()
 
virtual void shutdown ()
 
virtual bool loadInputConfig (const std::string &config, const std::string &group, bool alwaysOnTop=false, bool alwaysEnabled=false)
 
virtual void unloadInputConfig (const std::string &category, const std::string &group)
 
virtual void addActionHandler (const std::string &group, const std::string &action, const DtActionDelegate &handler)
 
virtual void removeActionGroup (const std::string &group)
 
virtual void setRawInputHandler (const DtInputDelegate &inputDelegate)
 
virtual void removeRawInputHandler ()
 
virtual void removeActionHandler (const std::string &group, const std::string &action)
 

Protected Attributes

DtSensorOperatorSimLogic * mySimLogic
 
- Protected Attributes inherited from makVre::DtInputLogic
DtVreInputManagermyInputManager
 
std::vector< std::pair< std::string, std::string > > myInputConfigurations
 
std::unordered_map< std::string, std::vector< std::string > > myActionGroups
 
bool myHandlingRawInput
 

Constructor & Destructor Documentation

◆ DtSensorOperatorInputLogic()

makVre::DtSensorOperatorInputLogic::DtSensorOperatorInputLogic ( DtSensorOperatorSimLogic * simLogic)

Constructor.

Parameters
simLogicPointer to the sensor operator simulation logic

Initializes the input logic with a reference to the simulation logic

◆ ~DtSensorOperatorInputLogic()

virtual makVre::DtSensorOperatorInputLogic::~DtSensorOperatorInputLogic ( )
virtual

Virtual destructor.

Member Function Documentation

◆ initialize()

virtual void makVre::DtSensorOperatorInputLogic::initialize ( )
overridevirtual

Initializes the input logic.

Sets up input bindings and event handlers for sensor operator controls

Reimplemented from makVre::DtInputLogic.

Member Data Documentation

◆ mySimLogic

DtSensorOperatorSimLogic* makVre::DtSensorOperatorInputLogic::mySimLogic
protected

Pointer to the sensor operator simulation logic.

Reference to the simulation logic component that this input logic interacts with


The documentation for this class was generated from the following file: