VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtSpotReportVisualManager Class Reference
Inheritance diagram for makVrf::DtSpotReportVisualManager:
Inheritance graph
[legend]

Public Member Functions

virtual void addSpotReportHandler (const std::string &s, DtSpotReportVisualHandlerCreatorInterface *)
 Once added, this class will take ownership of the memory.
virtual void removeSpotReportHandler (const std::string &s)
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtSpotReportVisualManagerinstance (makVrv::DtDe &de)
 Returns instance of the messager.

Protected Types

typedef std::map< std::string,
DtSpotReportVisualHandlerCreatorInterface * > 
SpotReportHandlerCreators
typedef std::map
< makVrv::DtUniqueID,
DtSpotReportVisualHandler * > 
SpotReportHandlers

Protected Member Functions

virtual DtSpotReportVisualHandlercreateSpotReportHandler (const std::string &s, makVrv::DtUniqueID) const
virtual void slot_onStateViewAdded (const makVrv::DtStateView< DtSpotReportState > &)
 Called when a state view is added, if there is a visualizer for this id, pass the new state to that visualizer, else create.
virtual void slot_stateViewAboutToBeRemoved (const makVrv::DtStateView< DtSpotReportState > &)
 Called when a state view is removed, if there is a visualizer for this id, removes the state from that visualizer.
virtual void slot_stateViewUpdated (makVrv::DtStateView< DtSpotReportState > *)
 Called when a state view is updated, update the handler with the spot report information.
virtual void createSpotReportFor (const DtSpotReportState &, makVrv::DtUniqueID)
 Creates a spot report around the given state and id. Registers with internal members.
 DtSpotReportVisualManager (makVrv::DtDe &sim)
 CTOR.
virtual ~DtSpotReportVisualManager ()
 DTOR.

Protected Attributes

makVrv::DtDemyDe
makVrv::DtSignalConnectionManager myConnections
SpotReportHandlerCreators mySpotReportHandlerCreators
SpotReportHandlers mySpotReportHandlers

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtSpotReportVisualManager::DtSpotReportVisualManager ( makVrv::DtDe sim)
protected

CTOR.

virtual makVrf::DtSpotReportVisualManager::~DtSpotReportVisualManager ( )
protectedvirtual

DTOR.

Member Function Documentation

static DtSpotReportVisualManager& makVrf::DtSpotReportVisualManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

virtual void makVrf::DtSpotReportVisualManager::addSpotReportHandler ( const std::string &  s,
DtSpotReportVisualHandlerCreatorInterface  
)
virtual

Once added, this class will take ownership of the memory.

If an existing handler is there for the supplied string, it will be replaced

virtual void makVrf::DtSpotReportVisualManager::removeSpotReportHandler ( const std::string &  s)
virtual
virtual DtSpotReportVisualHandler* makVrf::DtSpotReportVisualManager::createSpotReportHandler ( const std::string &  s,
makVrv::DtUniqueID   
) const
protectedvirtual
virtual void makVrf::DtSpotReportVisualManager::slot_onStateViewAdded ( const makVrv::DtStateView< DtSpotReportState > &  )
protectedvirtual

Called when a state view is added, if there is a visualizer for this id, pass the new state to that visualizer, else create.

virtual void makVrf::DtSpotReportVisualManager::slot_stateViewAboutToBeRemoved ( const makVrv::DtStateView< DtSpotReportState > &  )
protectedvirtual

Called when a state view is removed, if there is a visualizer for this id, removes the state from that visualizer.

If the visualizer has no more states to display, removes the visualizer handler itself

virtual void makVrf::DtSpotReportVisualManager::slot_stateViewUpdated ( makVrv::DtStateView< DtSpotReportState > *  )
protectedvirtual

Called when a state view is updated, update the handler with the spot report information.

virtual void makVrf::DtSpotReportVisualManager::createSpotReportFor ( const DtSpotReportState ,
makVrv::DtUniqueID   
)
protectedvirtual

Creates a spot report around the given state and id. Registers with internal members.

Member Data Documentation

makVrv::DtDe& makVrf::DtSpotReportVisualManager::myDe
protected
makVrv::DtSignalConnectionManager makVrf::DtSpotReportVisualManager::myConnections
protected
SpotReportHandlerCreators makVrf::DtSpotReportVisualManager::mySpotReportHandlerCreators
protected
SpotReportHandlers makVrf::DtSpotReportVisualManager::mySpotReportHandlers
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)