![]() |
VR-Forces Developer's Guide
|
This class will manage the data processors. It will be the spot that the data processors can post messages to for queueing to they can be run as a batch during driver tick.

Public Member Functions | |
| DtSimDataProcessorManager (DtStateDataManager *instance, makVrv::DtBaseConnection &sim) | |
| virtual | ~DtSimDataProcessorManager () |
| virtual void | queueFunction (const boost::function< void()> &function) |
| virtual void | addDataProcessor (DtVrfSimDataProcessorInterface *) |
| virtual void | runFunctionQueue () |
| virtual DtVrfSimDataProcessorInterface * | dataProcessor (const char *) |
| virtual void | addVantageToLegionIdMapping (makVrv::DtUniqueID, Legion::UInt64) |
| virtual bool | removeLegionToVantageIdMapping (Legion::UInt64) |
| virtual Legion::UInt64 | vantageToLegionId (makVrv::DtUniqueID) const |
| virtual makVrv::DtUniqueID | legionToVantageId (Legion::UInt64) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtSimDataProcessorManager & | instance (makVrv::DtBaseConnection &conn) |
| static void | registerInstance (makVrv::DtBaseConnection &sim, DtSimDataProcessorManager *instance) |
| static DtSimDataProcessorManager * | create (DtStateDataManager *instance, makVrv::DtBaseConnection &sim) |
| static DtSimDataProcessorManagerCreatorFcn | setCreator (DtSimDataProcessorManagerCreatorFcn) |
Protected Types | |
| typedef makVrv::DtLockedBufferedQueue < boost::function< void()> > | FunctionCallQueue |
| typedef std::vector < boost::function< void()> > | FunctionCallList |
| typedef std::map< std::string, DtVrfSimDataProcessorInterface * > | RegisteredInterfaces |
| typedef std::unordered_map < makVrv::DtUniqueID, Legion::UInt64 > | VantageToLegionIdMap |
| typedef std::unordered_map < Legion::UInt64, std::pair < makVrv::DtUniqueID, int > > | LegionToVantageIdMap |
Static Protected Attributes | |
| static DtSimDataProcessorManagerCreatorFcn | theSimDataProcessorManagerCreatorFcn |
|
protected |
|
protected |
|
protected |
Used for clean up.
|
protected |
|
protected |
| makVrf::DtSimDataProcessorManager::DtSimDataProcessorManager | ( | DtStateDataManager * | instance, |
| makVrv::DtBaseConnection & | sim | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Put a function in the sim function queue, for threadsafe calling.
|
virtual |
This call will simply turn around and register the processor in the connection.
|
virtual |
Runs all the functions in the queue.
|
virtual |
Returns the data processor with the given name.
|
static |
|
static |
|
static |
|
static |
|
virtual |
Because visuals may be removed before the state data is, when state data is added, adds a second mapping to the legion/vantage id here to be looked up if removed from the main visual mapper.
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |