Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ResourceInfo< T > Class Template Reference

#include <resmanager.h>

Inheritance diagram for ResourceInfo< T >:

Inheritance graph
Collaboration diagram for ResourceInfo< T >:

Collaboration graph
List of all members.

Public Types

typedef T ResourceType

Public Member Functions

virtual T * load (const std::string &)=0
virtual std::string resolve (const std::string &)=0
 ResourceInfo ()
virtual ~ResourceInfo ()

Public Attributes

std::string resolvedName
T * resource
ResourceState state

template<class T>
class ResourceInfo< T >


Member Typedef Documentation

template<class T>
typedef T ResourceInfo< T >::ResourceType
 

Definition at line 35 of file resmanager.h.


Constructor & Destructor Documentation

template<class T>
ResourceInfo< T >::ResourceInfo  )  [inline]
 

Definition at line 29 of file resmanager.h.

00029 : state(ResourceNotLoaded), resource(NULL) {};

template<class T>
virtual ResourceInfo< T >::~ResourceInfo  )  [inline, virtual]
 

Definition at line 30 of file resmanager.h.

00030 {};


Member Function Documentation

template<class T>
virtual T* ResourceInfo< T >::load const std::string  )  [pure virtual]
 

Implemented in ModelInfo, TextureInfo, and TrajectoryInfo.

template<class T>
virtual std::string ResourceInfo< T >::resolve const std::string  )  [pure virtual]
 

Implemented in ModelInfo, TextureInfo, and TrajectoryInfo.


Member Data Documentation

template<class T>
std::string ResourceInfo< T >::resolvedName
 

Definition at line 37 of file resmanager.h.

template<class T>
T* ResourceInfo< T >::resource
 

Definition at line 38 of file resmanager.h.

template<class T>
ResourceState ResourceInfo< T >::state
 

Definition at line 36 of file resmanager.h.


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 22:33:34 2006 for Celestia by  doxygen 1.4.1