Murl::Graph::GenericResourceTarget< ObjectType > Interface Template Reference

The GenericResourceTarget class. More...

#include "murl_graph_generic_resource_target.h"

Inheritance diagram for Murl::Graph::GenericResourceTarget< ObjectType >:

Additional Inherited Members

- Public Member Functions inherited from Murl::Graph::IGenericResourceTarget< ObjectType >
virtual Bool Init (IInitTracker *tracker)=0
 Initialize the resource target. More...
 
virtual Bool DeInit (IDeInitTracker *tracker)=0
 De-Initialize the resource target. More...
 
virtual Bool ConfigChanged (IConfigChangedTracker *tracker, Bool *hasResourceChanged=nullptr)=0
 Called when the global configuration has changed. More...
 
virtual Bool Update ()=0
 Perform an update on the resource target. More...
 
virtual UInt32 GetMinNumberOfResources () const =0
 Query the minimum number of resource objects. More...
 
virtual UInt32 GetMaxNumberOfResources () const =0
 Query the maximum number of resource objects. More...
 
virtual Bool SetNumberOfResources (UInt32 numberOfResources)=0
 Set the total number of resources. More...
 
virtual UInt32 GetNumberOfResources () const =0
 Get the total number of resources. More...
 
virtual Bool SetResourceId (const String &resourceId, UInt32 index)=0
 Set a single resource ID at a given index. More...
 
virtual const StringGetResourceId (UInt32 index) const =0
 Get the resource ID at a given index. More...
 
virtual Bool SetResource (const ObjectType *object, UInt32 index)=0
 Set (replace) a single resource for referencing at a given position. More...
 
virtual const ObjectType * GetResource (UInt32 index) const =0
 Get the resource at a given index. More...
 

Detailed Description

template<class ObjectType>
interface Murl::Graph::GenericResourceTarget< ObjectType >

The GenericResourceTarget class.

This is the common abstract base class for the engine's ResourceTarget and ResourceArrayTarget classes, implementing the IGenericResourceTarget interface.


The documentation for this interface was generated from the following file:
  • murl_graph_generic_resource_target.h


Copyright © 2011-2024 Spraylight GmbH.