![]() |
VR-Forces 4.0.4 Class Documentation
|

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 DtSpotReportVisualManager & | instance (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 DtSpotReportVisualHandler * | createSpotReportHandler (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::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
| SpotReportHandlerCreators | mySpotReportHandlerCreators |
| SpotReportHandlers | mySpotReportHandlers |
typedef std::map<std::string, DtSpotReportVisualHandlerCreatorInterface*> makVrf::DtSpotReportVisualManager::SpotReportHandlerCreators [protected] |
typedef std::map<makVrv::DtUniqueID, DtSpotReportVisualHandler*> makVrf::DtSpotReportVisualManager::SpotReportHandlers [protected] |
| makVrf::DtSpotReportVisualManager::DtSpotReportVisualManager | ( | makVrv::DtDe & | sim | ) | [protected] |
CTOR.
| virtual makVrf::DtSpotReportVisualManager::~DtSpotReportVisualManager | ( | ) | [protected, virtual] |
DTOR.
| 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 [protected, virtual] |
| virtual void makVrf::DtSpotReportVisualManager::slot_onStateViewAdded | ( | const makVrv::DtStateView< DtSpotReportState > & | ) | [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.
| virtual void makVrf::DtSpotReportVisualManager::slot_stateViewAboutToBeRemoved | ( | const makVrv::DtStateView< DtSpotReportState > & | ) | [protected, virtual] |
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 > * | ) | [protected, virtual] |
Called when a state view is updated, update the handler with the spot report information.
| virtual void makVrf::DtSpotReportVisualManager::createSpotReportFor | ( | const DtSpotReportState & | , |
| makVrv::DtUniqueID | |||
| ) | [protected, virtual] |
Creates a spot report around the given state and id. Registers with internal members.
makVrv::DtDe& makVrf::DtSpotReportVisualManager::myDe [protected] |
SpotReportHandlerCreators makVrf::DtSpotReportVisualManager::mySpotReportHandlerCreators [protected] |