![]() |
Om
1.0.0
A universal framework for multimedia simulation
|
A class that manages creation of object instances within an engine. More...
#include <omEngineInstanceContext.h>
Public Member Functions | |
| InstanceContext () | |
| Create a new instance context. More... | |
| OpaqueResource | newInstance (const OpaqueResource &resource) |
| Create a new instance of a resource and instance it in the engine. More... | |
| Bool | deleteInstance (const OpaqueResource &instance) |
| Delete a previously created instance from the instance context and engine. More... | |
| void | clearInstances () |
| Delete all instances from the instance context and engine. More... | |
| EngineContext * | getEngine () const |
| Return a pointer to the engine that this instance context is using. More... | |
| void | setEngine (EngineContext *newEngine) |
| Set a pointer to the engine that this instance context is using. More... | |
| ResourceSetTranscoder * | getResourceTranscoder () const |
| Return a pointer to the resource set transcoder that handles instance creation. More... | |
| void | setResourceTranscoder (ResourceSetTranscoder *newTranscoder) |
| Set a pointer to the resource set transcoder that handles instance creation. More... | |
A class that manages creation of object instances within an engine.
| om::engine::base::InstanceContext::InstanceContext | ( | ) |
Create a new instance context.
| OpaqueResource om::engine::base::InstanceContext::newInstance | ( | const OpaqueResource & | resource | ) |
Create a new instance of a resource and instance it in the engine.
| Bool om::engine::base::InstanceContext::deleteInstance | ( | const OpaqueResource & | instance | ) |
Delete a previously created instance from the instance context and engine.
| void om::engine::base::InstanceContext::clearInstances | ( | ) |
Delete all instances from the instance context and engine.
|
inline |
Return a pointer to the engine that this instance context is using.
| void om::engine::base::InstanceContext::setEngine | ( | EngineContext * | newEngine | ) |
Set a pointer to the engine that this instance context is using.
|
inline |
Return a pointer to the resource set transcoder that handles instance creation.
| void om::engine::base::InstanceContext::setResourceTranscoder | ( | ResourceSetTranscoder * | newTranscoder | ) |
Set a pointer to the resource set transcoder that handles instance creation.
1.8.11