DtEmbeddedEntityInfoManager is the central point for type-keyed data caching in the backend, such as configured Embedded Entities for a type, as well as tasks and sets that a given type is capable of performing.
More...
Detailed Description
DtEmbeddedEntityInfoManager is the central point for type-keyed data caching in the backend, such as configured Embedded Entities for a type, as well as tasks and sets that a given type is capable of performing.
Constructor & Destructor Documentation
| DtEmbeddedEntityInfoManager::DtEmbeddedEntityInfoManager |
( |
DtSimManager * |
simManager | ) |
|
| DtEmbeddedEntityInfoManager::~DtEmbeddedEntityInfoManager |
( |
| ) |
|
copy constructor - not implemented
Member Function Documentation
| virtual bool DtEmbeddedEntityInfoManager::init |
( |
| ) |
|
|
virtual |
| virtual bool DtEmbeddedEntityInfoManager::hasCachedDataFor |
( |
const DtObjectType & |
objType | ) |
const |
|
virtual |
Returns true if the info manager has data keyed to the given type.
| virtual bool DtEmbeddedEntityInfoManager::typeIsQueuedForUpdate |
( |
const DtObjectType & |
objType | ) |
const |
|
virtual |
Returns true if an info update has been queued for the given type.
The updates are performed near the end of the current tick, thus this is used to keep duplicated discoveries from occuring.
Returns copies of the cache vectors containing configured Embedded Entities, available sets, and available tasks for the given type.
Returns copies of the cache vectors containing configured Embedded Entities, available sets, and available tasks for the given type.
Returns copies of the cache vectors containing configured Embedded Entities, available sets, and available tasks for the given type.
| virtual const DtSimManager* DtEmbeddedEntityInfoManager::simManager |
( |
| ) |
const |
|
virtual |
Get a const pointer to the simulation manager.
| virtual DtSimManager* DtEmbeddedEntityInfoManager::simManager |
( |
| ) |
|
|
virtual |
Get a pointer to the simulation manager.
| virtual void DtEmbeddedEntityInfoManager::performCacheUpdates |
( |
| ) |
|
|
virtual |
Performs updates for all types in myTypesToCache.
Should be called just before the object manager performs queued deletions
| virtual void DtEmbeddedEntityInfoManager::suspend |
( |
| ) |
|
|
virtual |
Suspends the usage of this manager. Can be called when a scenario is closed.
| virtual void DtEmbeddedEntityInfoManager::resume |
( |
| ) |
|
|
virtual |
Resumes the usage of this manager. Call after scenario is loaded to update scripts and send out updated information.
| virtual void DtEmbeddedEntityInfoManager::resetCache |
( |
| ) |
|
|
virtual |
Resets the cache and cache request queue to initial emptiness.
Should only be called by DtCgf/StSimManager on scenario load/close.
| static void DtEmbeddedEntityInfoManager::eeInfoCacheRequestCallback |
( |
DtSimMessage * |
msg, |
|
|
void * |
usrData |
|
) |
| |
|
static |
Handles responding to embedded entity list requests with list of embedded entity names and available tasks/sets associated with a given object type.
| virtual void DtEmbeddedEntityInfoManager::processEeInfoCacheRequest |
( |
DtSimMessage * |
msg | ) |
|
|
virtual |
Handles responding to embedded entity list requests with list of embedded entity names and available tasks/sets associated with a given object type.
| virtual std::string DtEmbeddedEntityInfoManager::toString |
( |
| ) |
|
|
virtual |
Human-readable string form of the Info Manager's cache state, used for debugging.
| virtual bool DtEmbeddedEntityInfoManager::isCachableType |
( |
const DtObjectType & |
| ) |
const |
|
protectedvirtual |
Returns true if this type should be checked for tasks/sets.
| virtual void DtEmbeddedEntityInfoManager::queueCacheUpdateFor |
( |
const std::vector< DtEmbeddedEntity > & |
entities, |
|
|
const DtVector & |
position |
|
) |
| |
|
protectedvirtual |
Methods that retrieve the applicable data from live(prototyped) objects.
Note that these methods do not themselves interact with the caches in any way.
Methods that retrieve the applicable data from live(prototyped) objects.
Note that these methods do not themselves interact with the caches in any way.
Methods that retrieve the applicable data from live(prototyped) objects.
Note that these methods do not themselves interact with the caches in any way.
| virtual void DtEmbeddedEntityInfoManager::populateCacheUsing |
( |
const DtVrfObject *const |
obj, |
|
|
bool |
suppressRecursion |
|
) |
| |
|
protectedvirtual |
Calls the various retrieve* methods, populates the caches, and optionally queues recursive lookups.
| static void DtEmbeddedEntityInfoManager::objectAddedCallback |
( |
DtVrfObject * |
obj, |
|
|
void * |
usrData |
|
) |
| |
|
staticprotected |
| virtual void DtEmbeddedEntityInfoManager::processObjectAdded |
( |
const DtVrfObject & |
obj | ) |
|
|
protectedvirtual |
Handles keeping the info cache in sync with scripted tasks.
Handles keeping the info cache in sync with scripted tasks.
| virtual void DtEmbeddedEntityInfoManager::sendCacheResponseFor |
( |
const DtObjectType & |
requestedType | ) |
|
|
protectedvirtual |
assignment operator - not implemented
Member Data Documentation
| DtPrintInfoCacheCommand* DtEmbeddedEntityInfoManager::myPrintInfoCacheCommand |
|
protected |
| bool DtEmbeddedEntityInfoManager::mySuspended |
|
protected |
The documentation for this class was generated from the following file: