copyright The Portico Project 2008.

org.portico.shared.model
Enum MOMHelper.Federate

java.lang.Object
  extended by java.lang.Enum<MOMHelper.Federate>
      extended by org.portico.shared.model.MOMHelper.Federate
All Implemented Interfaces:
Serializable, Comparable<MOMHelper.Federate>
Enclosing class:
MOMHelper

public static enum MOMHelper.Federate
extends Enum<MOMHelper.Federate>

Identifiers for the attributes of the Federate MOM class. This is to get around the STUPIDITY that was involved in prefixing all standardized types with "HLA" in 1516. Who ever came up with that bright idea, please be sure never to work with any heavy machinery.


Enum Constant Summary
AsynchronousDelivery
           
FederateHandle
           
FederateHost
           
FederateState
           
FederateType
           
FedID
           
GALT
           
InteractionsReceived
           
InteractionsSent
           
LBTS
           
LITS
           
LogicalTime
           
Lookahead
           
ObjectInstancesDeleted
           
ObjectInstancesDiscovered
           
ObjectInstancesReflected
           
ObjectInstancesRegistered
           
ObjectInstancesRemoved
           
ObjectInstancesThatCanBeDeleted
           
ObjectInstancesUpdated
           
ReflectionsReceived
           
ROlength
           
RtiVersion
           
TimeAdvancingTime
           
TimeConstrained
           
TimeGrantedTime
           
TimeManagerState
           
TimeRegulating
           
TSOlength
           
UpdatesSent
           
 
Field Summary
 int handle
           
 
Method Summary
static MOMHelper.Federate forHandle(int handle)
          Find the attribute for the given handle.
static MOMHelper.Federate valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MOMHelper.Federate[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FederateHandle

public static final MOMHelper.Federate FederateHandle

FederateType

public static final MOMHelper.Federate FederateType

FederateHost

public static final MOMHelper.Federate FederateHost

RtiVersion

public static final MOMHelper.Federate RtiVersion

FedID

public static final MOMHelper.Federate FedID

TimeConstrained

public static final MOMHelper.Federate TimeConstrained

TimeRegulating

public static final MOMHelper.Federate TimeRegulating

AsynchronousDelivery

public static final MOMHelper.Federate AsynchronousDelivery

FederateState

public static final MOMHelper.Federate FederateState

TimeManagerState

public static final MOMHelper.Federate TimeManagerState

LogicalTime

public static final MOMHelper.Federate LogicalTime

Lookahead

public static final MOMHelper.Federate Lookahead

LBTS

public static final MOMHelper.Federate LBTS

GALT

public static final MOMHelper.Federate GALT

LITS

public static final MOMHelper.Federate LITS

ROlength

public static final MOMHelper.Federate ROlength

TSOlength

public static final MOMHelper.Federate TSOlength

ReflectionsReceived

public static final MOMHelper.Federate ReflectionsReceived

UpdatesSent

public static final MOMHelper.Federate UpdatesSent

InteractionsReceived

public static final MOMHelper.Federate InteractionsReceived

InteractionsSent

public static final MOMHelper.Federate InteractionsSent

ObjectInstancesThatCanBeDeleted

public static final MOMHelper.Federate ObjectInstancesThatCanBeDeleted

ObjectInstancesUpdated

public static final MOMHelper.Federate ObjectInstancesUpdated

ObjectInstancesReflected

public static final MOMHelper.Federate ObjectInstancesReflected

ObjectInstancesDeleted

public static final MOMHelper.Federate ObjectInstancesDeleted

ObjectInstancesRemoved

public static final MOMHelper.Federate ObjectInstancesRemoved

ObjectInstancesRegistered

public static final MOMHelper.Federate ObjectInstancesRegistered

ObjectInstancesDiscovered

public static final MOMHelper.Federate ObjectInstancesDiscovered

TimeGrantedTime

public static final MOMHelper.Federate TimeGrantedTime

TimeAdvancingTime

public static final MOMHelper.Federate TimeAdvancingTime
Field Detail

handle

public final int handle
Method Detail

values

public static final MOMHelper.Federate[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MOMHelper.Federate c : MOMHelper.Federate.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MOMHelper.Federate valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name

forHandle

public static MOMHelper.Federate forHandle(int handle)
                                    throws JAttributeNotDefined
Find the attribute for the given handle. If no value can be found for that handle, an exception is thrown.

Throws:
JAttributeNotDefined

copyright The Portico Project 2008.