VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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)

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

CTOR.

DTOR.


Member Function Documentation

Returns instance of the messager.

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 [protected, virtual]

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

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

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

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


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)