DataDirector API
Public Member Functions | List of all members
DDD_AssetObserver Class Referenceabstract

A virtual interface class for observers of assets. AssetObservers are able to be notified when an asset deletes and readds its attribute list. More...

#include <DDD_AssetBase.h>

Inheritance diagram for DDD_AssetObserver:
DDD_DataDirector

Public Member Functions

virtual void OnAssetAttributeListDeleted (DDD_AssetBase *asset)=0
 
virtual void OnAssetAttributeListAdded (DDD_AssetBase *asset)=0
 

Detailed Description

A virtual interface class for observers of assets. AssetObservers are able to be notified when an asset deletes and readds its attribute list.

Member Function Documentation

virtual void OnAssetAttributeListAdded ( DDD_AssetBase asset)
pure virtual

A callback method that will be called when the asset being observed added its attributes if this observer has registered to be notified on asset change

Parameters
attributeA pointer to the asset that changed
virtual void OnAssetAttributeListDeleted ( DDD_AssetBase asset)
pure virtual

A callback method that will be called when the asset being observed deletes its attributes if this observer has registered to be notified on asset change

Parameters
attributeA pointer to the asset that changed

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