![]() |
VR-Forces Developer's Guide
|
Wrapper object that insulates the loader from other threads destroying an object. The DtModelLoadParams are captured on the main thread at construction time, before the handle is handed to the background thread, so the background thread never needs to call findParameter() on the live definition.
Public Member Functions | |
| DtLoaderHandle (DtModel *object) | |
| ~DtLoaderHandle () | |
Public Attributes | |
| DtModel * | myObject |
| std::string | myModelDefinitionName |
| DtModelLoadParams | myModelLoadParams |
| std::atomic< int > | myCurrentlyLoading |
| boost::mutex | myCurrentlyLoadingMutex |
| makVrv::DtLoaderHandle::DtLoaderHandle | ( | DtModel * | object | ) |
| makVrv::DtLoaderHandle::~DtLoaderHandle | ( | ) |
| DtModel* makVrv::DtLoaderHandle::myObject |
| std::string makVrv::DtLoaderHandle::myModelDefinitionName |
| DtModelLoadParams makVrv::DtLoaderHandle::myModelLoadParams |
| std::atomic<int> makVrv::DtLoaderHandle::myCurrentlyLoading |
| boost::mutex makVrv::DtLoaderHandle::myCurrentlyLoadingMutex |