![]() |
Murl Engine API
Version 2018.3
|
The GenericResourceTarget class. More...
#include <murl_graph_generic_resource_target.h>
The GenericResourceTarget class.
This is the common abstract base class for the engine's ResourceTarget and ResourceArrayTarget classes, implementing the IGenericResourceTarget interface.
Additional Inherited Members | |
![]() | |
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=0)=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 String & | GetResourceId (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... | |