VR-Engage  2.2
Loading...
Searching...
No Matches
DtEntityDetectionControlLogic Class Reference

#include <entityDetectionControlLogic.h>

Inheritance diagram for DtEntityDetectionControlLogic:
[legend]

Public Member Functions

 DtEntityDetectionControlLogic ()
 
virtual ~DtEntityDetectionControlLogic () override
 
virtual const char * type () const override
 
virtual bool initialize (makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
 
virtual void shutdown () override
 
virtual void tick (double dt) override
 
makVre::DtVreMessageResult handleDetectionReport (makVre::DtVreMessage *msg)
 
- Public Member Functions inherited from makVre::DtPlayerComponent
 DtPlayerComponent ()
 
virtual ~DtPlayerComponent ()
 
virtual bool postInitialize ()
 
virtual void setName (const std::string &name)
 
virtual const std::string & name ()
 
virtual DtPlayerStationplayer ()
 
virtual DtAttributeHandleplayerAttributeStore ()
 
virtual const DtAttributeHandleplayerAttributeStore () const
 

Protected Attributes

makVre::DtAttributeHandle myRadarDetections
 
- Protected Attributes inherited from makVre::DtPlayerComponent
std::string myName
 
DtInitTable myConfig
 
DtPlayerStationmyPlayer
 
makVrv::DtDe * myDe
 
DtEntityResolvermyResolver
 
DtAttributeCallbackManager myAttributeCallbacks
 

Additional Inherited Members

- Protected Member Functions inherited from makVre::DtPlayerComponent
virtual void initializeStateAttributes ()
 

Constructor & Destructor Documentation

◆ DtEntityDetectionControlLogic()

DtEntityDetectionControlLogic::DtEntityDetectionControlLogic ( )

◆ ~DtEntityDetectionControlLogic()

virtual DtEntityDetectionControlLogic::~DtEntityDetectionControlLogic ( )
overridevirtual

Member Function Documentation

◆ type()

virtual const char * DtEntityDetectionControlLogic::type ( ) const
overridevirtual

Returns the component type identifier.

Implements makVre::DtPlayerComponent.

◆ initialize()

virtual bool DtEntityDetectionControlLogic::initialize ( makVre::DtPlayerStation * player,
makVre::DtInitTable & config )
overridevirtual

Configures message handlers and attribute store bindings.

Reimplemented from makVre::DtPlayerComponent.

References makVre::DtPlayerComponent::player().

◆ shutdown()

virtual void DtEntityDetectionControlLogic::shutdown ( )
overridevirtual

Shuts down the component.

Called when the player station is shutting down. Components should override this method to release resources and perform cleanup operations.

Reimplemented from makVre::DtPlayerComponent.

◆ tick()

virtual void DtEntityDetectionControlLogic::tick ( double dt)
inlineoverridevirtual

Updates the component.

Parameters
dtTime in seconds since the last tick

Called once per frame to update the component's state. All concrete component classes must implement this method.

Implements makVre::DtPlayerComponent.

◆ handleDetectionReport()

makVre::DtVreMessageResult DtEntityDetectionControlLogic::handleDetectionReport ( makVre::DtVreMessage * msg)

Handles incoming detection report messages from the simulation backend.

Member Data Documentation

◆ myRadarDetections

makVre::DtAttributeHandle DtEntityDetectionControlLogic::myRadarDetections
protected

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