|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmil.navy.nps.disEnumerations.ActionIDField
Action ID Field -- This field shall specify the particular action that is requested by the simulation manager. This field shall be represented by a32-bit enumeration (see Section 7 in EBV-DOC).
This is effectively a C-style enumeration. Java doesn't do enumerations like C, so you have to wrap a class around it. It's a bit more typing, but pretty simple-minded. Note that the variables are declared public. The default for access is package-wide, but these variables might need to be accessed from outside the package. Since all the variables are final (i.e. constant), nobody can change anything anyway, so this is no biggie.
To use these enumerations in your Java code, import the package first:
import mil.navy.nps.disEnumerations.*;
You access this via something like ActionIDField.RECALLINITIALPARAMETERS
, i.e. combine
the class name, a period, and a class variable (enumeration) name.
Field Summary | |
static int |
ACCEPTSUBSCRIPTION
(33) Accept Subscription |
static int |
CHANGEAGGREGATESTATE
(36) Change aggregate state |
static int |
DATAQUERY
(22) Data Query |
static int |
DISMOUNT
(19) Dismount |
static int |
INFORMSMOFEVENTDAMAGE
(4) Inform SM of event \"damage\" |
static int |
INFORMSMOFEVENTFIREDISABLED
(6) Inform SM of event \"fire disabled\" |
static int |
INFORMSMOFEVENTKILLEDINACTION
(3) Inform SM of event \"killed in action\" |
static int |
INFORMSMOFEVENTMOBILITYDISABLED
(5) Inform SM of event \"mobility disabled\" |
static int |
INFORMSMOFEVENTRANOUTOFAMMUNITION
(2) Inform SM of event \"ran out of ammunition\" |
static int |
INFORMSMOFEVENTRANOUTOFFUEL
(7) Inform SM of event \"ran out of fuel\" |
static int |
INITIATEHITCHFOLLOW
(16) Initiate hitch follow |
static int |
INITIATEHITCHLEAD
(15) Initiate hitch lead |
static int |
INITIATESERVICESTATIONRESUPPLY
(13) Initiate service station resupply |
static int |
INITIATETAILGATERESUPPLY
(14) Initiate tailgate resupply |
static int |
INITIATETETHERFOLLOW
(11) Initiate tether-follow |
static int |
INITIATETETHERLEAD
(10) Initiate tether-lead |
static int |
LOCALSTORAGEOFTHEREQUESTEDINFORMATION
(1) Local storage of the requested information |
static int |
LOCKSITECONFIGURATION
(26) Lock Site Configuration |
static int |
MOUNT
(18) Mount |
static int |
MOUNTINTENT
(31) Mount Intent |
static int |
OTHER
(0) Other |
static int |
QUERYSITECONFIGURATION
(29) Query Site Configuration |
static int |
RECALLCHECKPOINTDATA
(8) Recall checkpoint data |
static int |
RECALLINITIALPARAMETERS
(9) Recall initial parameters |
static int |
RECONSTITUTE
(25) Reconstitute |
static int |
SENDOBJECTSTATEDATA
(24) Send Object State Data |
static int |
STARTDRC
(20) Start DRC (Daily Readiness Check) |
static int |
STATUSREQUEST
(23) Status Request |
static int |
STOPDRC
(21) Stop DRC |
static int |
TELEPORTENTITY
(35) Teleport entity |
static int |
TETHERINGINFORMATION
(30) Tethering Information |
static int |
UNHITCH
(17) Unhitch |
static int |
UNLOCKSITECONFIGURATION
(27) Unlock Site Configuration |
static int |
UNSUBSCRIBE
(34) Unsubscribe |
static int |
UNTETHER
(12) Untether |
static int |
UPDATESITECONFIGURATION
(28) Update Site Configuration |
Constructor Summary | |
ActionIDField()
|
Method Summary | |
static java.lang.String |
toString(int idNumber)
Returns a string containing the enumeration name which corresponds to an enumeration value, as in ActionIDField.toString (0) returns the string "OTHER " |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OTHER
public static final int LOCALSTORAGEOFTHEREQUESTEDINFORMATION
public static final int INITIATETETHERLEAD
public static final int INITIATETETHERFOLLOW
public static final int UNTETHER
public static final int INITIATESERVICESTATIONRESUPPLY
public static final int INITIATETAILGATERESUPPLY
public static final int INITIATEHITCHLEAD
public static final int INITIATEHITCHFOLLOW
public static final int UNHITCH
public static final int MOUNT
public static final int DISMOUNT
public static final int INFORMSMOFEVENTRANOUTOFAMMUNITION
public static final int STARTDRC
public static final int STOPDRC
public static final int DATAQUERY
public static final int STATUSREQUEST
public static final int SENDOBJECTSTATEDATA
public static final int RECONSTITUTE
public static final int LOCKSITECONFIGURATION
public static final int UNLOCKSITECONFIGURATION
public static final int UPDATESITECONFIGURATION
public static final int QUERYSITECONFIGURATION
public static final int INFORMSMOFEVENTKILLEDINACTION
public static final int TETHERINGINFORMATION
public static final int MOUNTINTENT
public static final int ACCEPTSUBSCRIPTION
public static final int UNSUBSCRIBE
public static final int TELEPORTENTITY
public static final int CHANGEAGGREGATESTATE
public static final int INFORMSMOFEVENTDAMAGE
public static final int INFORMSMOFEVENTMOBILITYDISABLED
public static final int INFORMSMOFEVENTFIREDISABLED
public static final int INFORMSMOFEVENTRANOUTOFFUEL
public static final int RECALLCHECKPOINTDATA
public static final int RECALLINITIALPARAMETERS
Constructor Detail |
public ActionIDField()
Method Detail |
public static java.lang.String toString(int idNumber)
ActionIDField.toString (0)
returns the string "OTHER
"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |