VR-Engage  2.3
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 ()
 
bool componentReady () const
 
void setComponentReady (bool ready)
 
virtual DtInitTickStatus finalizeInitTick (double dt)
 
virtual void setName (const std::string &name)
 
virtual const std::string & name ()
 
virtual DtPlayerStation & player ()
 
virtual DtAttributeHandle & playerAttributeStore ()
 
virtual const DtAttributeHandle & playerAttributeStore () const
 
virtual const DtAttributeHandle & ownshipState () const
 
virtual void setExtendedData (const std::string &key, const std::string &value, DtEntityIdentifier entity=DtEntityIdentifier::nullId())
 

Protected Attributes

makVre::DtAttributeHandle myRadarDetections
 
- Protected Attributes inherited from makVre::DtPlayerComponent
bool myComponentReady = true
 
std::string myName
 
DtInitTable myConfig
 
DtPlayerStation * myPlayer
 
makVrv::DtDe * myDe
 
DtEntityResolver * myResolver
 
DtAttributeCallbackManager myAttributeCallbacks
 
DtVreMessageHandlerGroup myMessageHandlers
 

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: