public interface ActorPlugin
GraphUpdater
Modifier and Type | Method and Description |
---|---|
ArrayList |
getPluginActorAttributes() |
ArrayList<Concept> |
getPluginActorInputConceptList()
Assumption about input and output lists is that inputs are numbered 1..n
and outputs are numbered n+1 ..
|
String |
getPluginActorName() |
ArrayList<Concept> |
getPluginActorOutputConceptList()
Assumption about input and output lists is that inputs are numbered 1..n
and outputs are numbered n+1 ..
|
String |
getSourceInfo() |
void |
performActorOperation(GraphUpdater gu,
ArrayList<Concept> inputs,
ArrayList<Concept> outputs)
Perform the actor's operation.
|
void |
stopActor()
Perform any clean-up required by the actor when it is deleted or its
graph is de-activated.
|
String getPluginActorName()
ArrayList<Concept> getPluginActorInputConceptList()
ArrayList<Concept> getPluginActorOutputConceptList()
ArrayList getPluginActorAttributes()
GraphUpdater.GraphObjectAttributes
void performActorOperation(GraphUpdater gu, ArrayList<Concept> inputs, ArrayList<Concept> outputs) throws CGActorException
gu
- the current graph updater, in case the operation requires
further updatinginputs
- ArrayList of charger.obj.Conceptoutputs
- ArrayList of charger.obj.Concept, set by the operation and
usable by the caller.CGActorException
void stopActor()
String getSourceInfo()