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

Public Member Functions | |
| void | forceObjectUpdate (makVrv::DtUniqueID uniqueId) |
| Force an object to be updated the next cycle. | |
| virtual void | addSpotReportHandler (const std::string &s, DtSpotReportDataHandlerCreatorInterface *) |
| Once added, this class will take ownership of the memory. | |
| virtual void | removeSpotReportHandler (const std::string &s) |
| virtual std::string | addOrUpdateSpotReport (const std::string &type, void *data, const std::string &key="") |
| Creates a spot report based on the supplied type. | |
| virtual void | removeSpotReport (makVrv::DtUniqueID id) |
| Removes the spot report with the given id. | |
| virtual void | removeAllSpotReports () |
| Removes all spot reports. | |
Public Member Functions inherited from makVrv::DtSimDataProcessorInterface | |
| DtSimDataProcessorInterface () | |
| virtual | ~DtSimDataProcessorInterface () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtSpotReportDataProcessor & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
Protected Types | |
| typedef std::vector < makVrv::DtUniqueID > | SpotReportIdList |
| typedef std::map< std::string, DtSpotReportDataHandlerCreatorInterface * > | SpotReportHandlerCreators |
| typedef std::map< std::string, DtSpotReportDataHandler * > | SpotReportHandlers |
| typedef std::map < makVrv::DtUniqueID, DtSpotReportDataHandler * > | SpotReportHandlersById |
Protected Member Functions | |
| virtual DtSpotReportDataHandler * | createSpotReportHandler (const std::string &s, makVrv::DtUniqueID) const |
| virtual std::string | createSpotReport (const std::string &type, void *data, const std::string &key="") |
| Adds a new spot report into the system. | |
| virtual void | processForceUpdateList () |
| Called when objects have scheduled to be forced updated from the de post tick. | |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &entry) |
| Called when data is about to be removed, checks to see if any of the handlers want to be removed because of the data being removed. | |
| DtSpotReportDataProcessor (makVrv::DtDe &sim) | |
| CTOR. | |
| virtual | ~DtSpotReportDataProcessor () |
| DTOR. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSimEntryObjectAgent * | mySimEntryAgent |
| makVrv::DtSignalConnectionManager | myConnections |
| SpotReportIdList | myForceUpdateList |
| SpotReportHandlerCreators | mySpotReportHandlerCreators |
| SpotReportHandlers | mySpotReportHandlers |
| SpotReportHandlersById | mySpotReportHandlersById |
| SpotReportHandlersById | myNeedsUpdateOnAdd |
| If item is added, force an update. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtSimDataProcessorInterface | |
| boost::signal< void(DtUniqueID, const DtVrlinkSimulatedBaseState &) > | signal_stateAdded |
| boost::signal< void(DtUniqueID, const DtVrlinkSimulatedBaseState &) > | signal_stateUpdated |
| boost::signal< void(DtUniqueID) > | signal_stateRemoved |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
CTOR.
|
protectedvirtual |
DTOR.
|
static |
Returns instance of the messager.
|
virtual |
Force an object to be updated the next cycle.
Implements makVrv::DtSimDataProcessorInterface.
|
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 |
|
virtual |
Creates a spot report based on the supplied type.
If there is no spot report handler for the type, then the spot report will not be added to the system. If it does and there is not a key supplied, a new key will be generated and returned from this method. If a spot report is found with the given key, it will be asked to update itself given the supplied data pointer, else a new data representation will be added
|
virtual |
Removes the spot report with the given id.
|
virtual |
Removes all spot reports.
|
protectedvirtual |
|
protectedvirtual |
Adds a new spot report into the system.
If key is NULL, will generate a new key based on the unique id
|
protectedvirtual |
Called when objects have scheduled to be forced updated from the de post tick.
|
protectedvirtual |
Called when data is about to be removed, checks to see if any of the handlers want to be removed because of the data being removed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
If item is added, force an update.