|
VR-Engage
2.2
|
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>
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 | |
| DtVreInputManager * | myInputManager |
| std::vector< std::pair< std::string, std::string > > | myInputConfigurations |
| std::unordered_map< std::string, std::vector< std::string > > | myActionGroups |
| bool | myHandlingRawInput |
| makVre::DtSensorOperatorInputLogic::DtSensorOperatorInputLogic | ( | DtSensorOperatorSimLogic * | simLogic | ) |
Constructor.
| simLogic | Pointer to the sensor operator simulation logic |
Initializes the input logic with a reference to the simulation logic
|
virtual |
Virtual destructor.
|
overridevirtual |
Initializes the input logic.
Sets up input bindings and event handlers for sensor operator controls
Reimplemented from makVre::DtInputLogic.
|
protected |
Pointer to the sensor operator simulation logic.
Reference to the simulation logic component that this input logic interacts with