The DDD_RSOAsset class. DataDirector asset class that controls GL Studio RSOs.
More...
#include <DDD_RSOAsset.h>
The DDD_RSOAsset class. DataDirector asset class that controls GL Studio RSOs.
virtual void Calculate |
( |
double |
time | ) |
|
|
virtual |
virtual const char* ClassName |
( |
| ) |
|
|
inlinevirtual |
Returns asset type (class) name
< Hard-coded identifier for this asset class.
Implements DDD_AssetBase.
virtual const char* Description |
( |
| ) |
|
|
inlinevirtual |
virtual void GenerateInstanceName |
( |
const DDD_AssetList & |
assetList | ) |
|
|
virtual |
Generates unique asset instance name
- Parameters
-
assetList | List of assets used to check uniqueness of name |
- Postcondition
- _instanceName will have a unique identifier string
Reimplemented from DDD_AssetBase.
Gets an attribute from the assets internal dictionary and add it to the list of published attributes for the asset.
- Parameters
-
attributeName | The name of the attribute to get |
- Returns
- A pointer to the attribute or NULL if it doesn't exist.
Implements DDD_AssetBase.
int HandleComponentEvent |
( |
ComponentBase * |
self, |
|
|
DisplayEvent * |
ev |
|
) |
| |
Event handler for direct connection to a component, not via the RSO interface This is used when Data Director is embedded into an RSO or glsDisplayFrame
- Parameters
-
self | The component producing the event |
ev | The event to handle |
- Returns
- 1 If this method handled the event
A callback method that will be called when the attribute being observed changes if this observer has registered to be notified on attribute change
- Parameters
-
attribute | A pointer to the attribute that changed |
Implements DDD_AttributeObserver.
virtual void PopulateAttributeList |
( |
| ) |
|
|
virtual |
Poll asset, put all "discovered" assets into _attributList
- Precondition
- _attributeList is empty
- Postcondition
- _attributeList will contain the list of attributes discovered from the asset
Implements DDD_AssetBase.
Posts an event to the ObjectEvent subscriber
- Parameters
-
newEvent | The event to post to the subscriber. The subscriber must make a local copy of this event |
Implements DDD_ObjectEventSubscriber.
Resume asset. Do allocations, initializations that should happen when the asset is resumed
Reimplemented from DDD_AssetBase.
void SetDDDControlsClock |
( |
bool |
val | ) |
|
|
inline |
Sets the DDD_ControlsClock flag, which determines whether DataDirector should call Calculate on this component
- Parameters
-
val | If true, Data Director will call Calculate on this component during the Data Director Calculate traversal |
virtual void SetInstanceName |
( |
const char * |
name | ) |
|
|
virtual |
Set the instance name for this asset
- Parameters
-
name | The instance name to set |
Reimplemented from DDD_Base.
void SetTopLevelDisplayFrame |
( |
disti::DisplayFrame * |
frame | ) |
|
Sets the _topLevelDisplayFrame member, which is only used when the DataDirector is being embedded into a GlsDisplayFrame via the GlsDisplayFrame adapter
Start asset. Do allocations, initializations that should only happen once.
Reimplemented from DDD_AssetBase.
If this flag is true, then Data Director is controlling the Calculate clock. If it's false then the component is doing Calculate on its own and Data Director won't call calculate on it
List of all loaded RSO assets
const char* const DDD_RSO_ASSET_CLASSNAME |
|
static |
Classname string constant. Needed by the AssetFactory
The documentation for this class was generated from the following file: