java.lang.Object
hla.rti1516e.LogicalTimeFactoryFactory
Helper class for locating LogicalTimeFactory. Uses Service concept described
by ServiceRegistry.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<LogicalTimeFactory> static <T extends LogicalTimeFactory>
TgetLogicalTimeFactory(Class<T> logicalTimeFactoryClass) static LogicalTimeFactorygetLogicalTimeFactory(String name) Locates and constructs a LogicalTimeFactory matching the specified name.
-
Constructor Details
-
LogicalTimeFactoryFactory
public LogicalTimeFactoryFactory()
-
-
Method Details
-
getLogicalTimeFactory
Locates and constructs a LogicalTimeFactory matching the specified name. Each federation chooses its implementation by passing the appropriate name to createFederationExecution. If the supplied name is the empty string, the HLAfloat64TimeFactory is returned. If the supplied implementation name does not match any name supported by the library, then a NULL pointer is returned.- Parameters:
name-- Returns:
-
getLogicalTimeFactory
public static <T extends LogicalTimeFactory> T getLogicalTimeFactory(Class<T> logicalTimeFactoryClass) -
getAvailableLogicalTimeFactories
-