Back to index

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

Device independent resource updater. More...

#include <GLResourceManager.h>

Collaboration diagram for nux::NResourceUpdater:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NResourceUpdater (NObjectType *Type)
const NObjectTypeType () const
 Returns the resource type for this factory.
bool UpdatesThisResource (ResourceData *Resource)
 Returns true if the given ResourceData can be updated by this factory.
virtual bool UpdateResource (ObjectPtr< CachedResourceData > DeviceResource, ResourceData *Resource) const

Private Attributes

NObjectTypem_ResourceType
 Type associated with this factory class.

Detailed Description

Device independent resource updater.

Definition at line 223 of file GLResourceManager.h.


Constructor & Destructor Documentation

Definition at line 226 of file GLResourceManager.h.


Member Function Documentation

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

Returns the resource type for this factory.

Definition at line 231 of file GLResourceManager.h.

    {
      return *m_ResourceType;
    }

Here is the caller graph for this function:

virtual bool nux::NResourceUpdater::UpdateResource ( ObjectPtr< CachedResourceData DeviceResource,
ResourceData Resource 
) const [inline, virtual]

Definition at line 245 of file GLResourceManager.h.

    {
      return DeviceResource->UpdateResource(Resource);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Returns true if the given ResourceData can be updated by this factory.

Parameters:
ResourceThe resource in question.

Definition at line 240 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:


Member Data Documentation

Type associated with this factory class.

Definition at line 252 of file GLResourceManager.h.


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