Package org.hlacerti.lib
Enum HlaManager.ETimeManagementService
- java.lang.Object
-
- java.lang.Enum<HlaManager.ETimeManagementService>
-
- org.hlacerti.lib.HlaManager.ETimeManagementService
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HlaManager.ETimeManagementService>
- Enclosing class:
- HlaManager
public static enum HlaManager.ETimeManagementService extends java.lang.Enum<HlaManager.ETimeManagementService>
Enumeration which represents both time advancement services NER or TAR.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NextEventRequest
The Federate uses the Next Event Request (NER) calls to advance time.TimeAdvancementRequest
The Federate uses the Time Advance Request (TAR) calls to advance in time.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Override the toString of enum class.static HlaManager.ETimeManagementService
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HlaManager.ETimeManagementService[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NextEventRequest
public static final HlaManager.ETimeManagementService NextEventRequest
The Federate uses the Next Event Request (NER) calls to advance time.
-
TimeAdvancementRequest
public static final HlaManager.ETimeManagementService TimeAdvancementRequest
The Federate uses the Time Advance Request (TAR) calls to advance in time.
-
-
Method Detail
-
values
public static HlaManager.ETimeManagementService[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HlaManager.ETimeManagementService c : HlaManager.ETimeManagementService.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HlaManager.ETimeManagementService valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
Override the toString of enum class.- Overrides:
toString
in classjava.lang.Enum<HlaManager.ETimeManagementService>
- Returns:
- The string associated for each enum value.
-
-