|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FederationState>
org.eodisp.wrapper.hla.FederationState
public enum FederationState
.---------------------------------------------------------------.
| |
| .-------------------------------------------. |
| | STEPPING | |
| | ^ | | |
| | step() | | | |
init() start() | V pause() | v resume() | |
NOT_INITIALIZED ---» INITIALIZING ----» INITIALIZED ---» STARTING -|-» STARTED ---» PAUSING --» PAUSED -------» RESUMING |
| |
'---------------------------------------------------------------'
|
|
v
STOPPED
(From anywhere at anytime) ---> ERROR ---.
A |
|______|
| Enum Constant Summary | |
|---|---|
ERROR
If an error occurred in this federate |
|
INITIALIZED
All participating federates have registered with the control federate |
|
INITIALIZING
The federate initializes. |
|
NOT_INITIALIZED
The federate has not started |
|
PAUSED
The federation synchronized at EODISP_PAUSE or EODISP_STEP |
|
PAUSING
The synchronization point EODISP_PAUSE is registered |
|
RESUMING
The synchronization point EODISP_RESUME is registered |
|
STARTED
The federation synchronized at EODISP_START or EODISP_RESUME |
|
STARTING
The synchronization point EODISP_START is registered |
|
STEPPING
The synchronization point EODISP_STEP is registered |
|
STOPPED
The federation synchronized at EOSISP_STOP |
|
| Method Summary | |
|---|---|
boolean |
isStateChangeAllowed(FederationState newState)
|
static FederationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FederationState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FederationState NOT_INITIALIZED
public static final FederationState INITIALIZING
public static final FederationState INITIALIZED
public static final FederationState STARTING
public static final FederationState STARTED
public static final FederationState PAUSING
public static final FederationState PAUSED
public static final FederationState STEPPING
public static final FederationState RESUMING
public static final FederationState STOPPED
public static final FederationState ERROR
| Method Detail |
|---|
public static FederationState[] values()
for (FederationState c : FederationState.values()) System.out.println(c);
public static FederationState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic boolean isStateChangeAllowed(FederationState newState)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||