Package | Description |
---|---|
nl.tno.imb.mc |
Model control package.
|
Modifier and Type | Field and Description |
---|---|
(package private) ModelState |
NewEvent.state
The model state.
|
(package private) ModelState |
ChangeEvent.state
The state.
|
(package private) ModelState |
ModelStarter.state
State of the model.
|
(package private) ModelState |
ModelEvent.ModelChangeEvent.state
Mode state.
|
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,ModelState> |
ModelState.commandMap
Map to translate numeric value to enum.
|
Modifier and Type | Method and Description |
---|---|
protected static ModelState |
ModelState.byValue(int value)
Lookup the ModelState that corresponds to the value.
|
ModelState |
ModelEvent.ModelChangeEvent.getState()
Retrieve the model state.
|
static ModelState |
ModelState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelState[] |
ModelState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelStarter.signalModelState(ModelState newState)
Inform our federation about a state change.
|
void |
ModelStarter.signalModelState(ModelState newState,
String federation)
Inform a federation about a state change.
|
Constructor and Description |
---|
ChangeEvent(int uid,
ModelState state,
String federation)
Construct a new ChangeEvent from uid, state and federation parameters.
|
NewEvent(int uid,
String modelName,
String controller,
int priority,
ModelState state,
String federation,
String privateEventName,
String controllerPrivateEventName)
Construct a new NewEvent.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.