![]() |
VR-Forces 5.0.3 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 *) |
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 |
Protected Member Functions | |
| virtual void | queueDataRemoval (Legion::UInt64 legionId) |
Static Protected Attributes | |
| static DtSimDataProcessorManagerCreatorFcn | theSimDataProcessorManagerCreatorFcn |
|
protected |
|
protected |
|
protected |
Used for clean up.
| 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 |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |