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

A class that encapsulates a collection of related ResourceSetTypeTranscoder objects. More...

#include <omResourceModule.h>

Inheritance diagram for om::resources::ResourceModule:
om::engine::resources::EngineResourceModule om::graphics::gui::resources::GraphicsGUIResourceModule om::graphics::resources::GraphicsResourceModule om::images::resources::ImageResourceModule om::physics::resources::PhysicsResourceModule om::resources::ResourcesResourceModule om::sound::acoustics::resources::AcousticsResourceModule om::sound::resources::SoundResourceModule

Public Member Functions

virtual ~ResourceModule ()
 Destroy this resource module and release all internal resources. More...
 
virtual void getFormats (ResourceManager &manager)
 Add transcoders to the specified resource manager for the resource formats this module supports. More...
 
virtual void getTypes (ResourceSetTranscoder &transcoder)
 Add transcoders to the specified resource set transcoder for the resource types this module supports. More...
 

Detailed Description

A class that encapsulates a collection of related ResourceSetTypeTranscoder objects.

External resource modules (e.g. graphics, physics, or sound) can inherit from this class and provide ResourceSetTranscoder objects with transcoders for the various datatypes that they support.

Constructor & Destructor Documentation

virtual om::resources::ResourceModule::~ResourceModule ( )
virtual

Destroy this resource module and release all internal resources.

Any ResourceSetTranscoder objects that are using the transcoders provided by this module should cease using those trancoders before the module is detroyed.

Member Function Documentation

virtual void om::resources::ResourceModule::getFormats ( ResourceManager manager)
virtual
virtual void om::resources::ResourceModule::getTypes ( ResourceSetTranscoder transcoder)
virtual

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