Back to index

nux  3.0.0
Public Member Functions | Private Attributes
nux::NResourceFactory Class Reference

Device independent resource factory. More...

#include <GLResourceManager.h>

Inheritance diagram for nux::NResourceFactory:
Inheritance graph
[legend]
Collaboration diagram for nux::NResourceFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NResourceFactory (NObjectType *Type)
const NObjectTypeType () const
bool BuildsThisResource (ResourceData *Resource)
 Returns true if the given ResourceData is created by this factory.
virtual CachedResourceDataBuildResource (NResourceSet *ResourceManager, ResourceData *Resource)

Private Attributes

NObjectTypem_ResourceType
 Type associated with this factory class.

Detailed Description

Device independent resource factory.

Definition at line 162 of file GLResourceManager.h.


Constructor & Destructor Documentation

Definition at line 165 of file GLResourceManager.h.


Member Function Documentation

virtual CachedResourceData* nux::NResourceFactory::BuildResource ( NResourceSet ResourceManager,
ResourceData Resource 
) [inline, virtual]

Reimplemented in nux::TGLResourceFactory< T, U >.

Definition at line 184 of file GLResourceManager.h.

    {
      return NULL;
    }

Here is the caller graph for this function:

Returns true if the given ResourceData is created by this factory.

Parameters:
Resource- the resource in question.

Definition at line 179 of file GLResourceManager.h.

    {
      return Resource->Type().IsObjectType(Type());
    }

Here is the call graph for this function:

Here is the caller graph for this function:

const NObjectType& nux::NResourceFactory::Type ( ) const [inline]

Definition at line 170 of file GLResourceManager.h.

    {
      return *m_ResourceType;
    }

Here is the caller graph for this function:


Member Data Documentation

Type associated with this factory class.

Definition at line 191 of file GLResourceManager.h.


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