DataDirector API
|
A virtual interface class for containers of assets. Allows assets to find each other, exchange events and update attributes of each other. More...
#include <DDD_AssetBase.h>
Public Member Functions | |
virtual void | AddEventSubscriber (DDD_ObjectEventSubscriber *subscriber)=0 |
virtual void | RemoveEventSubscriber (DDD_ObjectEventSubscriber *subscriber)=0 |
virtual void | PostEvent (DDD_ObjectEvent *event)=0 |
virtual DDD_AssetBase * | FindAsset (const std::string &assetName)=0 |
virtual DDD_AttributeBase * | FindAttribute (const std::string &name)=0 |
A virtual interface class for containers of assets. Allows assets to find each other, exchange events and update attributes of each other.
|
pure virtual |
Add a new event subscriber to subscriber list
subscriber | The event subscriber to add |
Implemented in DDD_DataDirector.
|
pure virtual |
Searches the asset list for an asset with the specified instance name
assetName | The instance name of the asset to find |
Implemented in DDD_DataDirector.
|
pure virtual |
Searches all instantiated assets for the attribute.
name | The fully qualified name of the attribute to find (e.g. assetName.attribName) |
Implemented in DDD_DataDirector.
|
pure virtual |
Post a new event that will be received by all event subscribers
event | The object event to post |
Implemented in DDD_DataDirector.
|
pure virtual |
Remove an event subscriber from the subscriber list
subscriber | The event subscriber to remove |
Implemented in DDD_DataDirector.