public class EccState_FBcl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EccState_FBcl.Create |
Modifier and Type | Field and Description |
---|---|
private boolean |
bMoreEventSources |
protected EccAction_FBcl |
entryAction
Often there is only one action (Operation + output event), then this aggregation is used.
|
protected java.util.List<EccAction_FBcl> |
entryActions
If more as one action is associated to the entry of the dstState, then this list is used and
transition is null. |
(package private) EccAction_FBcl |
exitAction
Often there is only one exit action (Operation), then this aggregation is used.
|
java.lang.String |
name |
static java.util.List<EccState_FBcl> |
nullist
Empty list to iterate without content.
|
private EvinoutType_FBcl |
oneTriggerEv |
private EccTransition_FBcl |
transition |
private java.util.List<EccTransition_FBcl> |
transitions |
(package private) Algorithm_FBcl |
XXXentryAction
Deprecated.
|
(package private) Algorithm_FBcl |
XXXexitAction
Deprecated.
|
Constructor and Description |
---|
EccState_FBcl(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addEntryAction(EccAction_FBcl oper)
Adds an operation with an output event as entry.
|
void |
addTransition(EccTransition_FBcl transition) |
EccTransition_FBcl |
getOnlyOneTransition() |
java.lang.Iterable<EccAction_FBcl> |
iterEntryActions() |
java.lang.Iterable<EccTransition_FBcl> |
iterTransitions() |
int |
nrofEntryActions()
Returns the number of entry actions aggregated to this state.
|
int |
nrofTransitions()
Returns the number of entry actions aggregated to this state.
|
void |
offerSrcEvent(EvinoutType_FBcl evin,
Write_FBtype_FBwr fbtw)
Assign one event which enters this state with any transition.
|
EccAction_FBcl |
onlyOneEntryActions()
returns the only one action if only one action is given, else null.
|
EvinoutType_FBcl |
onlyOneTriggerEventSource() |
void |
removeTransitions()
This state should be used in an
EvinoutType_FBcl#actionState
only to execute actions. |
java.lang.String |
toString() |
public static java.util.List<EccState_FBcl> nullist
public final java.lang.String name
@Deprecated Algorithm_FBcl XXXentryAction
@Deprecated Algorithm_FBcl XXXexitAction
protected EccAction_FBcl entryAction
transitions
is given, or if no action exists.protected java.util.List<EccAction_FBcl> entryActions
transition
is null.EccAction_FBcl exitAction
transitions
is given, or if no action exists.private EccTransition_FBcl transition
private java.util.List<EccTransition_FBcl> transitions
private EvinoutType_FBcl oneTriggerEv
private boolean bMoreEventSources
public void addEntryAction(EccAction_FBcl oper)
oper
- public void addTransition(EccTransition_FBcl transition)
public void removeTransitions()
EvinoutType_FBcl#actionState
only to execute actions. This is possible only if the Ecc is simple regular,
means it has only one active state, all other states are transient.
This is one of the transient state. Remove its transition. No more necessary.public void offerSrcEvent(EvinoutType_FBcl evin, Write_FBtype_FBwr fbtw)
oneTriggerEv
if this is the only one, or bMoreEventSources
.
It sets also in all actions EccAction_FBcl#setTrgEvin(EvinoutType_FBcl, Write_FBtype_FBwr)
, see there.
It does not set the action to the evin because it depends on the state whether the action is valid for the event.
See Reader_FBcl#optimizeEcc
there the action is set to the evin for simple regular state machines.evin
- public EvinoutType_FBcl onlyOneTriggerEventSource()
public java.lang.Iterable<EccAction_FBcl> iterEntryActions()
public int nrofEntryActions()
public int nrofTransitions()
public java.lang.Iterable<EccTransition_FBcl> iterTransitions()
public EccTransition_FBcl getOnlyOneTransition()
public EccAction_FBcl onlyOneEntryActions()
iterEntryActions()
or check nrofEntryActions()
.public java.lang.String toString()
toString
in class java.lang.Object