Uses of Enum Class
edu.nps.moves.dis7.utilities.DisTime.TimestampStyle
Packages that use DisTime.TimestampStyle
Package
Description
Utility classes supporting edu.nps.moves.dis7 library.
-
Uses of DisTime.TimestampStyle in edu.nps.moves.dis7.utilities
Subclasses with type arguments of type DisTime.TimestampStyle in edu.nps.moves.dis7.utilitiesModifier and TypeClassDescriptionstatic enum
Supported timestamp styles and utility methods, default isIEEE_ABSOLUTE
indicating local clock is synchronized to UTC time standard.Fields in edu.nps.moves.dis7.utilities declared as DisTime.TimestampStyleModifier and TypeFieldDescriptionstatic final DisTime.TimestampStyle
DisTime.TIMESTAMP_STYLE_DEFAULT
Default value is TimestampStyle.IEEE_ABSOLUTE.Methods in edu.nps.moves.dis7.utilities that return DisTime.TimestampStyleModifier and TypeMethodDescriptionDisChannel.getTimestampStyle()
Get timestampStyle used by PduFactorystatic DisTime.TimestampStyle
DisTime.getTimestampStyle()
Retrieve the current timestampStyle.PduFactory.getTimestampStyle()
accessor to report valuestatic DisTime.TimestampStyle
Returns the enum constant of this class with the specified name.static DisTime.TimestampStyle[]
DisTime.TimestampStyle.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in edu.nps.moves.dis7.utilities with parameters of type DisTime.TimestampStyleModifier and TypeMethodDescriptionvoid
DisChannel.setTimestampStyle
(DisTime.TimestampStyle newTimestampStyle) Set timestampStyle used by PduFactorystatic void
DisTime.setTimestampStyle
(DisTime.TimestampStyle newTimestampStyle) Set which time reference is employed throughout this simulation as timestampStyle: IEEE_ABSOLUTE, IEEE_RELATIVE, UNIX, or YEAR.void
PduFactory.setTimestampStyle
(DisTime.TimestampStyle newTimestampStyle) accessor to update valueConstructors in edu.nps.moves.dis7.utilities with parameters of type DisTime.TimestampStyleModifierConstructorDescriptionPduFactory
(Country country, byte exerciseId, short siteId, short applicationId, DisTime.TimestampStyle timestampStyle) Create and add initial properties to a new PduFactory which creates pdus using the specified default values.PduFactory
(DisTime.TimestampStyle newTimestampStyle) Create and add initial properties to a new PduFactory using newTimestampStyle.