Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::engine::base::InstanceContext Class Reference

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...
 
EngineContextgetEngine () 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...
 

Detailed Description

A class that manages creation of object instances within an engine.

Constructor & Destructor Documentation

om::engine::base::InstanceContext::InstanceContext ( )

Create a new instance context.

Member Function Documentation

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.

EngineContext* om::engine::base::InstanceContext::getEngine ( ) const
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.

ResourceSetTranscoder* om::engine::base::InstanceContext::getResourceTranscoder ( ) const
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.


The documentation for this class was generated from the following file: