#include <ActorRef.h>
Inheritance diagram for ActorRef:
Public Methods | |
ActorRef () | |
~ActorRef () | |
WDError | initRef (void *inNode, IObjectManager *inManager, IObjectEventHandler *inEventHandler) |
WDError | initRef (Formation *inParent, int inIndex, IObjectEventHandler *inEventHandler) |
WDError | initNew (Formation *inParent, Actor *inActor, IObjectEventHandler *inEventHandler) |
WDError | setActor (void *inActor) |
WDError | getActor (void **outActorNode) |
WDError | getActorName (char *outActorName, int inMaxLength) |
void | childChanged (IManagedObject *inTarget, void *inChild) |
Protected Methods | |
WDError | updateActorID () |
Private Attributes | |
Actor * | mActor |
An ActorRef is used by the Formation to reference Actors (analogous to having an alias to the real Actor or to a soft link. When the Actor is modified, the ActorRef is also notified.
|
|
|
|
|
Called when a child of the data node has been modified
Reimplemented from ManagedObject. |
|
Gets the data node of the referenced Actor
|
|
Gets the name of the referenced Actor
|
|
Creates a new ActorRef and adds it to the database |
|
Initializes an existing ActorRef based on its parent |
|
Initializes an existing ActorRef based on data node
Reimplemented from ManagedObject. |
|
Sets which Actor should be referenced
|
|
Updates the actor attribute in the database - used when the ID of the referenced Actor has changed. |
|
|