![]() |
VR-Forces Developer's Guide
|
Manager for DtThreadCameraStreamData Holds them as cameras come in. Deletes them as cameras go out (via slot_postTick) We use this manager in some places, instead of a specific DtThreadCameraStreamDataManagerBase.

Public Member Functions | |
| virtual | ~DtThreadCameraStreamDataManager () |
Public Member Functions inherited from makVrv::DtKeyedDataManagerTemplate< KeyType, KeyTypeHasher > | |
| DtKeyedDataManagerTemplate (DtDe &de, FlushKeysLocation flushLocation) | |
| virtual | ~DtKeyedDataManagerTemplate () |
| virtual CreationResult | getOrCreate (const KeyType &key) |
| virtual DtKeyedData * | find (const KeyType &key) const |
| virtual void | forEachKeyedData (const std::function< void(DtKeyedData *)> &func) |
| virtual void | keyedDatas (std::vector< DtKeyedData * > &vecKeyedDatas) |
| template<class ClassToCreate , class... ConstructorArgs> | |
| TemplatedCreationResult < ClassToCreate > | getOrCreateUserData (const KeyType &key, const void *userPointer, DtVirtualBaseClassCreator< ClassToCreate, ConstructorArgs...> *creator, ConstructorArgs &&...constructorArgs) |
| template<class T > | |
| T * | findUserData (const KeyType &key, const void *userPointer, bool log=true) const |
| template<class T > | |
| FindResult< T > | findTcsDataAndUserData (const KeyType &key, const void *userPointer, bool log=true) const |
| virtual void | deleteTcsData (DtKeyedData *tcsData) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtThreadCameraStreamDataManager & | instance (DtDe &de) |
Protected Member Functions | |
| DtThreadCameraStreamDataManager (DtDe &de) | |
Protected Member Functions inherited from makVrv::DtKeyedDataManagerTemplate< KeyType, KeyTypeHasher > | |
| virtual void | slot_preTick () |
| virtual void | slot_postTick () |
| virtual void | flushInvalidKeys () |
Private Member Functions | |
| DtThreadCameraStreamDataManager ()=delete | |
| DtThreadCameraStreamDataManager (const DtThreadCameraStreamDataManager &rhs)=delete | |
| DtThreadCameraStreamDataManager & | operator= (const DtThreadCameraStreamDataManager &rhs)=delete |
Additional Inherited Members | |
Public Types inherited from makVrv::DtKeyedDataManagerTemplate< KeyType, KeyTypeHasher > | |
| enum | FlushKeysLocation { PRE_TICK = 0, POST_TICK = 1, NONE = 2 } |
Public Attributes inherited from makVrv::DtKeyedDataManagerTemplate< KeyType, KeyTypeHasher > | |
| boost::signalslib::signal< void()> | signal_KeysDeleted |
Protected Types inherited from makVrv::DtKeyedDataManagerTemplate< KeyType, KeyTypeHasher > | |
| typedef tbb::concurrent_hash_map < KeyType, DtKeyedData *, KeyTypeHasher > | HashTable |
Protected Attributes inherited from makVrv::DtKeyedDataManagerTemplate< KeyType, KeyTypeHasher > | |
| HashTable | myHashTable |
| DtDe & | myDe |
| DtSignalConnectionManager | myConnections |
| tbb::concurrent_queue< KeyType > | myKeysToEraseScratchPad |
|
virtual |
destructor
|
protected |
constructor. protected. only creator can create
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
static |
Get an instance of the instance manager.
|
privatedelete |
not allowed