|
VR-Engage
2.2
|
#include <deployableObjectsSimLogic.h>
Classes | |
| struct | ChannelViewport |
| struct | DeployableObject |
Public Types | |
| using | DeployableObjectStateMap = std::map<std::string, DeployableObject> |
Public Member Functions | |
| DtDeployableObjectsSimLogic () | |
| virtual | ~DtDeployableObjectsSimLogic () override |
| virtual bool | initialize (DtPlayerStation *player, DtInitTable &config) override |
| virtual bool | postInitialize () override |
| virtual void | tick (double dt) override |
| virtual void | shutdown () override |
| virtual const char * | type () const override |
| virtual void | fireMissile (const std::string &rangeId="") |
| virtual void | toggleMissileLauncher () |
| virtual void | useLauncher (const DtEntityIdentifier &id) |
| virtual void | useDrone (const DtEntityIdentifier &id=DtEntityIdentifier::nullId(), const std::string &marking="") |
| virtual void | exitLauncher () |
| virtual void | stopUsingDrone () |
| virtual void | setDroneAutopilotMode (const std::string &mode) |
| virtual void | toggleDroneAutopilotMode () |
| virtual void | setIndirectFireCoordinate (const std::string &coordinate) |
| virtual void | clearIndirectTarget () |
| virtual void | deployEmbeddedEntity (const std::string &embeddedEntityName) |
| virtual void | recoverEmbeddedEntity (const std::string &embeddedEntityName) |
| virtual void | toggleRemoteViewViewport (double val) |
| virtual void | setRemoteViewZoomLevel (double val) |
| virtual std::string | scopeChannelName () const |
| virtual bool | operatingDrone () |
| virtual void | setFocusOnEntity (bool val) |
| virtual void | toggleFocusOnEntity () |
| virtual void | setForwardControls (bool val) |
| virtual void | toggleForwardControls () |
| virtual void | landDrone () |
| virtual void | returnToHome () |
| virtual void | toggleDroneChannelVisibility (bool visible) |
| virtual void | firstStageTrigger (double val) |
| virtual void | toggleMissileAttackMode (double val) |
| virtual void | sendJoystickCommand (const DtEntityIdentifier &id, const std::string &functionGroup, const std::string &function, double val, bool repeat=false) |
| virtual void | onDamageStateChanged (DtDamageState val) |
| virtual DtEntityIdentifier | launcherId () |
| virtual void | openRemoteSensorView (const DtEntityIdentifier &viewEntity) |
| virtual void | closeRemoteSensorView () |
Public Member Functions inherited from makVre::DtEntityControlLogic | |
| DtEntityControlLogic () | |
| virtual | ~DtEntityControlLogic () override |
| virtual void | setExtendedData (const std::string &key, const std::string &value, DtEntityIdentifier entity=DtEntityIdentifier::nullId()) |
| virtual void | setMouseControlEnabled (bool enabled) |
| virtual bool | isMouseControlEnabled () |
| virtual bool | isMouseControlSupportAllowed () const |
| virtual void | setMouseControlSupportAllowed (bool enable) |
| virtual const std::vector< std::string > & | joystickGroups () const |
| virtual makVre::DtVreMessageResult | handleStateMessages (makVre::DtVreMessage *message) |
| virtual makVre::DtVreMessageResult | handleReset (makVre::DtVreMessage *message) |
| virtual void | reset (float val) |
| virtual void | resetInPlace (float val) |
| virtual void | toggleMouseControl (float val) |
| virtual void | enableMouseControl (float val) |
| virtual makVre::DtVreMessageResult | handleFocusMessage (makVre::DtVreMessage *message) |
Public Member Functions inherited from makVre::DtPlayerComponent | |
| DtPlayerComponent () | |
| virtual | ~DtPlayerComponent () |
| virtual void | setName (const std::string &name) |
| virtual const std::string & | name () |
| virtual DtPlayerStation & | player () |
| virtual DtAttributeHandle & | playerAttributeStore () |
| virtual const DtAttributeHandle & | playerAttributeStore () const |
| using makVre::DtDeployableObjectsSimLogic::DeployableObjectStateMap = std::map<std::string, DeployableObject> |
| makVre::DtDeployableObjectsSimLogic::DtDeployableObjectsSimLogic | ( | ) |
|
overridevirtual |
|
overridevirtual |
Initializes the entity control logic.
| player | Pointer to the player station this component belongs to |
| config | Configuration table with initialization parameters |
Initializes the entity control component with the specified player station and configuration. Registers message handlers and sets up input mappings.
Reimplemented from makVre::DtEntityControlLogic.
References makVre::DtPlayerComponent::player().
|
overridevirtual |
Performs post-initialization setup.
Completes initialization tasks that require other components to be already initialized. This typically includes setting up connections to other components and starting entity control.
Reimplemented from makVre::DtEntityControlLogic.
|
overridevirtual |
Updates the entity control logic each frame.
| dt | Time in seconds since the last update |
Handles per-frame updates for entity control, including processing input and updating entity states. This is called once per frame.
Reimplemented from makVre::DtEntityControlLogic.
|
overridevirtual |
Shuts down the entity control logic.
Cleans up resources, disconnects from input handlers, and releases control of entities. Called when the player station is shutting down.
Reimplemented from makVre::DtEntityControlLogic.
|
overridevirtual |
Returns the component type identifier.
Reimplemented from makVre::DtEntityControlLogic.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
overrideprotectedvirtual |
Message handlers.
Handles simulation state update messages
| msg | Pointer to the simulation state message |
Processes simulation state messages, updating the component's understanding of the current entity state in the simulation.
Reimplemented from makVre::DtEntityControlLogic.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
References makVre::SHOULDER_MOUNTED.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |