|
VR-Engage
2.3
|
Handles user input for operating a missile launcher. Manages the launcher and engagement input configuration groups, and maps hardware inputs to launcher commands. Communicates with other components via the message system and the player attribute store.
#include <launcherInputLogic.h>
Public Member Functions | |
| DtLauncherInputLogic (DtEntityControlLogic &simLogic, const std::string &configFile) | |
| virtual | ~DtLauncherInputLogic () override |
| virtual void | initialize () override |
| virtual void | loadConfigGroup (const std::string &group) |
| virtual void | unloadConfigGroup (const std::string &group) |
| virtual void | setLauncherControls (bool enabled) |
| virtual void | firstStageTrigger (float value) |
| virtual void | toggleMissileAttackMode (float value) |
| virtual void | toggleMissileTargetMode (float value) |
| virtual void | toggleMissileFireAndForget (float value) |
| virtual void | detachFromMissile (float value) |
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 | |
| DtEntityControlLogic & | mySimLogic |
| std::string | myConfigFile |
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 |
| DtAttributeCallbackManager | myAttributeCallbacks |
| DtVreMessageHandlerGroup | myMessageHandlers |
| makVre::DtLauncherInputLogic::DtLauncherInputLogic | ( | DtEntityControlLogic & | simLogic, |
| const std::string & | configFile ) |
|
overridevirtual |
|
overridevirtual |
Initializes the input logic system.
Sets up the input manager and prepares the system for input handling. This should be called before any other input logic methods.
Reimplemented from makVre::DtInputLogic.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |