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

Classes

struct  SpotReportVisuals
 

Public Types

typedef std::map< int,
SpotReportVisuals * > 
SpotReportModelSetMap
 
- Public Types inherited from makVrv::DtElement
using ModelSetToSceneObjectIdMap = boost::unordered_map< DtObserverMode::ModelSets, DtUniqueID >
 

Public Member Functions

 DtVrfSpotReportElement (makVrv::DtBaseConnection &conn, makVrv::DtStateListener &)
 
virtual ~DtVrfSpotReportElement ()
 
virtual void setModelSetEnabled (int modelSet, bool enabled) override
 
virtual void setPickable (bool b)
 
virtual void setCertaintyLevel (int)
 
virtual const
makVrv::DtElementEntry::ElementType 
elementType () const override
 
virtual void visualize (int modelSet=-1)
 
const SpotReportModelSetMapspotReportModelSetMap () const
 
virtual void setVisualizerCreationSettings (makVrv::DtVisualizerCreationSettings *s)
 
virtual void destroyVisualizersByType (int modelSet, int visualType)
 
virtual void createVisualizersByType (int modelSet, int visualType)
 
- Public Member Functions inherited from makVrv::DtElement
 DtElement (DtBaseConnection &conn, DtElementID elementId)
 
virtual ~DtElement ()
 
 DtElement ()=delete
 
 DtElement (const DtElement &)=delete
 
DtElementoperator= (const DtElement &)=delete
 
virtual void visualize (const DtSharedModelSetSettings::ModelSetVisualizedMap &sets)
 
virtual void setVisible (bool visible)
 
virtual bool visible () const
 
virtual void setElementId (const DtElementID)
 
DtElementID elementID () const
 
virtual const DtUnicodeelementDefinition () const
 
virtual void setElementDefinition (const DtUnicode &definition)
 
virtual std::string displayUnitCollectionName () const
 
virtual void setDisplayUnitCollectionName (const std::string &definition)
 
virtual void setDriverType (const std::string &driverType)
 
virtual void setElementSubtype (DtElementAttributes::ElementSubtypes subtype)
 
virtual void changeElementAttribute (const DtElementAttribute *attr)
 
virtual void updateElementDefinitionFromDefinitions ()
 
virtual void updateElementDefinitionFromDefinitions (std::vector< DtUnicode > &definitions)
 
virtual
ModelSetToSceneObjectIdMap
modelSetToSceneObjectIdMap ()
 
virtual void setSceneObjectIdForModelSet (DtObserverMode::ModelSets modelSet, DtUniqueID id)
 
virtual void removeSceneObjectIdForModelSet (DtObserverMode::ModelSets modelSet)
 
virtual DtUniqueID sceneObjectIdForModelSet (DtObserverMode::ModelSets modelSet) const
 

Static Public Member Functions

static const
makVrv::DtElementEntry::ElementType 
theElementType ()
 

Protected Member Functions

virtual makVrv::DtKinematicStatecreateKinematicState (makVrv::DtSceneObjectAgent &so, int modelSet) const
 
virtual void slot_objectVisibilityChanged (makVrv::DtUniqueID id, bool isShown, int context)
 
virtual void slot_spotReportChanged (const DtSpotReportState &s)
 
virtual void slot_spotReportOptionsChanged (const DtVrfSpotReportsSettingsRecord &)
 
virtual makVrv::DtUnicode chooseModelDefinition (const std::vector< makVrv::DtUnicode > &definitions)
 
virtual bool isUnknown (const std::vector< makVrv::DtUnicode > &definitions) const
 
virtual bool isUnknown (const makVrv::DtUnicode &definition) const
 
virtual void updateVisibilityBasedOnSettings ()
 
virtual void slot_objectVisibilityChanged (makVrv::DtUniqueID id, bool)
 
- Protected Member Functions inherited from makVrv::DtElement
void slot_updateOverlayNameRaw (const char *text)
 
void slot_updateConnectionObjectID (const std::string &id)
 
void slot_updateConnectionObjectType (const std::string &type)
 
void slot_updateDisplayName (const std::string &text)
 
void slot_updateOverlayName (const std::string &pname)
 
void slot_updateDamageState (EntityStateListener::DamageState state)
 
virtual void getDefinitions (std::vector< DtUnicode > &definitions)
 
virtual void reportElementCreated ()
 
virtual void reportDisplayName ()
 
virtual void reportConnectionObjectID ()
 
virtual void reportConnectionObjectType ()
 
virtual void reportOverlayNameChanged ()
 
virtual void reportVisibility ()
 
virtual void reportDamageStateChanged ()
 
virtual void reportDriverType ()
 
virtual void reportElementSubtype ()
 
virtual void reportElementDefinitionName ()
 
virtual void reportDisplayUnitCollectionName ()
 
virtual bool distribute () const
 
virtual void setDistribute (const bool distribute)
 

Protected Attributes

SpotReportModelSetMap mySpotReportModelSetMap
 
makVrv::DtSignalConnectionManager myVisualUpdateConnections
 
makVrv::DtVisualizerCreationSettingsmyVisualizerCreationSettings
 
makVrv::DtStateListenermyListener
 
DtSpotReportState mySpotReportState
 
int myModelSet
 
bool myPickable
 
makVrv::DtSignalConnectionManager myConnections
 
makVrv::DtUnicode mySpotReportDefinition
 
- Protected Attributes inherited from makVrv::DtElement
DtAgentManagerInterfacemySceneInterface
 
DtSharedSettingsManagermySettingsManager
 
const
DtVisualizerCreationSettings::VisualTypeVisualizerCreationMap
myVisualTypeVisualizerCreationMap
 
DtBaseConnectionmyBaseConnection
 
DtElementID myElementId
 
DtUnicode myElementDefinitionName
 
const DtElementDefinitionNewmyElementDefinition
 
std::string myDisplayUnitCollectionName
 
std::string myConnectionObjectID
 
std::string myConnectionObjectType
 
std::string myDisplayName
 
std::string myElementOverlayName
 
std::string myDriverType
 
DtElementAttributes::ElementSubtypes myElementSubtype
 
EntityStateListener::DamageState myDamageState
 
bool myElementVisible
 
bool myElementReported
 
bool myDistribute
 
ModelSetToSceneObjectIdMap myModelSetToSceneObjectIdMap
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtVrfSpotReportElement::DtVrfSpotReportElement ( makVrv::DtBaseConnection conn,
makVrv::DtStateListener  
)
virtual makVrf::DtVrfSpotReportElement::~DtVrfSpotReportElement ( )
virtual

Member Function Documentation

virtual void makVrf::DtVrfSpotReportElement::setModelSetEnabled ( int  modelSet,
bool  enabled 
)
overridevirtual

Implements makVrv::DtElement.

virtual void makVrf::DtVrfSpotReportElement::setPickable ( bool  b)
virtual

Set the Spot Report symbol to be pickable.

virtual void makVrf::DtVrfSpotReportElement::setCertaintyLevel ( int  )
virtual

Sets the certainty level.

virtual const makVrv::DtElementEntry::ElementType makVrf::DtVrfSpotReportElement::elementType ( ) const
overridevirtual

Virtual function for getting the element type.

Implements makVrv::DtElement.

Reimplemented in makVrf::DtVrfTDLMessageDataElement.

static const makVrv::DtElementEntry::ElementType makVrf::DtVrfSpotReportElement::theElementType ( )
static
virtual void makVrf::DtVrfSpotReportElement::visualize ( int  modelSet = -1)
virtual
const SpotReportModelSetMap& makVrf::DtVrfSpotReportElement::spotReportModelSetMap ( ) const
inline
virtual void makVrf::DtVrfSpotReportElement::setVisualizerCreationSettings ( makVrv::DtVisualizerCreationSettings s)
virtual
virtual void makVrf::DtVrfSpotReportElement::destroyVisualizersByType ( int  modelSet,
int  visualType 
)
virtual

Called to destroy a visualizer by type and model set.

virtual void makVrf::DtVrfSpotReportElement::createVisualizersByType ( int  modelSet,
int  visualType 
)
virtual

Called to create a visualizer by type and model set.

virtual makVrv::DtKinematicState* makVrf::DtVrfSpotReportElement::createKinematicState ( makVrv::DtSceneObjectAgent &  so,
int  modelSet 
) const
protectedvirtual
virtual void makVrf::DtVrfSpotReportElement::slot_objectVisibilityChanged ( makVrv::DtUniqueID  id,
bool  isShown,
int  context 
)
protectedvirtual
virtual void makVrf::DtVrfSpotReportElement::slot_spotReportChanged ( const DtSpotReportState s)
protectedvirtual

Called when the spot report has changed. Check to see if spot report should be shown/hidden given current spot report settings.

virtual void makVrf::DtVrfSpotReportElement::slot_spotReportOptionsChanged ( const DtVrfSpotReportsSettingsRecord )
protectedvirtual

Called when spot report options have changed. Will be used to show/hide visualizers and elements of visualizers.

Reimplemented in makVrf::DtVrfTDLMessageDataElement.

virtual makVrv::DtUnicode makVrf::DtVrfSpotReportElement::chooseModelDefinition ( const std::vector< makVrv::DtUnicode > &  definitions)
protectedvirtual

Chooses from the set of model definitions randomly.

virtual bool makVrf::DtVrfSpotReportElement::isUnknown ( const std::vector< makVrv::DtUnicode > &  definitions) const
protectedvirtual
virtual bool makVrf::DtVrfSpotReportElement::isUnknown ( const makVrv::DtUnicode definition) const
protectedvirtual
virtual void makVrf::DtVrfSpotReportElement::updateVisibilityBasedOnSettings ( )
protectedvirtual
virtual void makVrf::DtVrfSpotReportElement::slot_objectVisibilityChanged ( makVrv::DtUniqueID  id,
bool   
)
protectedvirtual

Member Data Documentation

SpotReportModelSetMap makVrf::DtVrfSpotReportElement::mySpotReportModelSetMap
protected
makVrv::DtSignalConnectionManager makVrf::DtVrfSpotReportElement::myVisualUpdateConnections
protected
makVrv::DtVisualizerCreationSettings* makVrf::DtVrfSpotReportElement::myVisualizerCreationSettings
protected
makVrv::DtStateListener& makVrf::DtVrfSpotReportElement::myListener
protected
DtSpotReportState makVrf::DtVrfSpotReportElement::mySpotReportState
protected
int makVrf::DtVrfSpotReportElement::myModelSet
protected
bool makVrf::DtVrfSpotReportElement::myPickable
protected
makVrv::DtSignalConnectionManager makVrf::DtVrfSpotReportElement::myConnections
protected
makVrv::DtUnicode makVrf::DtVrfSpotReportElement::mySpotReportDefinition
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)