VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtSpotReportDataHandler Class Reference
Inheritance diagram for DtSpotReportDataHandler:
Inheritance graph
[legend]

Public Member Functions

 DtSpotReportDataHandler (DtSpotReportManager &mgr)
 
virtual ~DtSpotReportDataHandler ()
 
virtual bool updateFromNetwork (const DtSpotReport *)
 
virtual bool objectEntryRemoved (const DtUUID &)
 
virtual const std::map< DtUUID,
double > & 
observedBy () const
 
virtual void updateState (makVrf::DtSpotReportStateComponentData &)
 
virtual bool flushData (bool force=false)
 
virtual void idleTick ()
 
const DtUUID & uniqueId () const
 
virtual void setId (unsigned long long)
 
virtual unsigned long long id () const
 
virtual void purgeSpotters ()
 
virtual bool updateObservedBy (const DtUUID &observer, double dateAndTimeOfReport)
 
virtual void removeObservedBy (const DtUUID &observer)
 
virtual bool observedBy (const DtUUID &) const
 
virtual const DtUUID & contact () const
 
const
makVrf::DtSpotReportStateComponentData & 
spotReportData () const
 
virtual void aboutToBeRemoved ()
 

Protected Member Functions

virtual bool mergeSpotReport (const DtSpotReport &cur)
 
virtual void updateLastSpotterName (const DtSpotReport *)
 
virtual void updateFromGroundTruth (const makVrf::DtStateData *)
 
virtual bool updateFromGroundTruth (const DtSpotReport *)
 
virtual double simTime () const
 
virtual double dateAndTimeOfDay () const
 
virtual std::string adjustIncomingMarkingText (const std::string &markingText) const
 
virtual double spotReportGatherTime () const
 
virtual int certaintyLevelForTime (double elapsedReportTime) const
 

Protected Attributes

DtSpotReport myPendingReport
 
makVrf::DtSpotReportStateComponentData myNextFrameSpotState
 
makVrf::DtSpotReportStateComponentData myCurrentFrameSpotState
 
DtUUID myUUIDMarkingTextResolve
 
DtUUID myUniqueId
 
DtSpotReportManager & myManager
 

Constructor & Destructor Documentation

DtSpotReportDataHandler::DtSpotReportDataHandler ( DtSpotReportManager &  mgr)
virtual DtSpotReportDataHandler::~DtSpotReportDataHandler ( )
virtual

Member Function Documentation

virtual bool DtSpotReportDataHandler::updateFromNetwork ( const DtSpotReport *  )
virtual

Called to update the data into DtSpotReportState. After the state is filled in, call updateState() to pass state to system. Note that if 0 is passed for the void *, it just means that whatever data is on hand needs to be updated via updateState.

virtual bool DtSpotReportDataHandler::objectEntryRemoved ( const DtUUID &  )
virtual

Override and return true if this spot report entry should also be removed.

virtual const std::map<DtUUID, double>& DtSpotReportDataHandler::observedBy ( ) const
virtual
virtual void DtSpotReportDataHandler::updateState ( makVrf::DtSpotReportStateComponentData &  )
virtual
virtual bool DtSpotReportDataHandler::flushData ( bool  force = false)
virtual

Implement to cause an update of any cached data, if cached.

Reimplemented in makVrf::DtVrfSpotReportDataHandler.

virtual void DtSpotReportDataHandler::idleTick ( )
virtual

Called when flushData() is not called.

const DtUUID& DtSpotReportDataHandler::uniqueId ( ) const
inline
virtual void DtSpotReportDataHandler::setId ( unsigned long  long)
virtual
virtual unsigned long long DtSpotReportDataHandler::id ( ) const
virtual
virtual void DtSpotReportDataHandler::purgeSpotters ( )
virtual
virtual bool DtSpotReportDataHandler::updateObservedBy ( const DtUUID &  observer,
double  dateAndTimeOfReport 
)
virtual

Updates the id of who is observing this spot report.

virtual void DtSpotReportDataHandler::removeObservedBy ( const DtUUID &  observer)
virtual
virtual bool DtSpotReportDataHandler::observedBy ( const DtUUID &  ) const
virtual
virtual const DtUUID& DtSpotReportDataHandler::contact ( ) const
virtual
const makVrf::DtSpotReportStateComponentData& DtSpotReportDataHandler::spotReportData ( ) const
inline

Returns the current frame's spot report state data. This data reflects the most recently committed state and can be used to read spot report information for display or further processing.

virtual void DtSpotReportDataHandler::aboutToBeRemoved ( )
virtual

Called right before removal from perspective.

Reimplemented in makVrf::DtVrfSpotReportDataHandler.

virtual bool DtSpotReportDataHandler::mergeSpotReport ( const DtSpotReport &  cur)
protectedvirtual
virtual void DtSpotReportDataHandler::updateLastSpotterName ( const DtSpotReport *  )
protectedvirtual

Depending on the precense of back-ends, this value might be looked up differently. Default is no-op.

virtual void DtSpotReportDataHandler::updateFromGroundTruth ( const makVrf::DtStateData *  )
protectedvirtual

If the spot report wants to update from ground truth do that here.

virtual bool DtSpotReportDataHandler::updateFromGroundTruth ( const DtSpotReport *  )
protectedvirtual
virtual double DtSpotReportDataHandler::simTime ( ) const
protectedvirtual
virtual double DtSpotReportDataHandler::dateAndTimeOfDay ( ) const
protectedvirtual

Returns date/time of day. Default is 0.

virtual std::string DtSpotReportDataHandler::adjustIncomingMarkingText ( const std::string &  markingText) const
protectedvirtual

Called when setting the contact marking text from an incoming report into the spot state. Override to transform the marking text before it is stored (e.g., to append a display suffix). The default implementation returns the value unchanged.

Reimplemented in makVrf::DtVrfSpotReportDataHandler.

virtual double DtSpotReportDataHandler::spotReportGatherTime ( ) const
protectedvirtual

How long to wait (seconds) before flushing data.

virtual int DtSpotReportDataHandler::certaintyLevelForTime ( double  elapsedReportTime) const
protectedvirtual

Member Data Documentation

DtSpotReport DtSpotReportDataHandler::myPendingReport
protected
makVrf::DtSpotReportStateComponentData DtSpotReportDataHandler::myNextFrameSpotState
protected
makVrf::DtSpotReportStateComponentData DtSpotReportDataHandler::myCurrentFrameSpotState
protected
DtUUID DtSpotReportDataHandler::myUUIDMarkingTextResolve
protected
DtUUID DtSpotReportDataHandler::myUniqueId
protected
DtSpotReportManager& DtSpotReportDataHandler::myManager
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)