|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A state machine entity is any XholonClass that has to do with state machines. These are identified by being subclasses of StateMachineEntity, and having an xhtype of XhtypeStateMachineEntityActive or XhtypeStateMachineEntity. These include XholonClasses such as State, Transition, Pseudostate, Activity, Trigger, etc.
| Field Summary |
| Fields inherited from interface org.primordion.xholon.base.IXholon |
DEFAULT_SIZE_MSG_Q, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx |
| Method Summary | |
void |
doStateMachine(Message msg)
Execute an instance of a state machine. |
int |
getActivityId()
Return the activity ID of a transition. |
int |
getDoActivityId()
Return the do activity ID of a state. |
int |
getEntryActivityId()
Return the entry activity ID of a state. |
int |
getExitActivityId()
Return the exit activity ID of a state. |
int |
getGuardActivityId()
Return the guard activity ID of a transition. |
IXholon |
getOwningXholon()
Return the Xholon that owns the state machine that this IStateMachineEntity is a part of. |
int |
getTrigger(int trigNum)
Return a specified trigger for a transition. |
boolean |
isActiveSubState()
Is this a currently active sub state of some other state or of the state machine as a whole? |
void |
notifyActiveSubStates()
Notify the existence of all currently active sub states. |
| Method Detail |
public void doStateMachine(Message msg)
msg - An incoming message that contains a signal, optional data, and that
identifies the sender and receiver of the message.public IXholon getOwningXholon()
public int getTrigger(int trigNum)
trigNum - The numeric id of the trigger.
public int getActivityId()
public int getEntryActivityId()
public int getExitActivityId()
public int getDoActivityId()
public int getGuardActivityId()
public boolean isActiveSubState()
public void notifyActiveSubStates()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||