Skip to content

EventID

huggins edited this page May 3, 2023 · 4 revisions

Event ID

Container for Event ID information. An Event ID is utilized to identify various events that occur in a DIS scenario.

struct FEventID

Back to Top


Members

Type Name Description
int32 Application Each simulation application at a DIS site shall be assigned an application identifier unique within that site. No simulation application shall be assigned an id containin all zeros, (2e16-1), or (2e16-2). One or more simulation applications may reside in a single host computer.
int32 EventNumber A general purpose Identifier used to uniquely identify up to 65535 items.
int32 Site Each DIS site shall be assigned a unique Site Identifier. No site shall be assigned an ID containin all zero's, (2e16-1) or (2e16-2).

Back to Top


Constructors

Name Description
FEventID() Default constructor
FEventID(DIS::EventID EventID) Constructor that takes in the OpenDIS EventID struct

Functions

Return Name Description
DIS::EventID ToOpenDIS() Conversion to OpenDIS EventID struct

Back to Top


Details

Application

int32 Application

Each simulation application at a DIS site shall be assigned an application identifier unique within that site. No simulation application shall be assigned an id containin all zeros, (2e16-1), or (2e16-2). One or more simulation applications may reside in a single host computer.

Category: GRILL DIS|Structs

Range: [0, 65535]

Back to Top


Event Number

int32 EventNumber

A general purpose Identifier used to uniquely identify up to 65535 items.

Category: GRILL DIS|Structs

Range: [0, 65535]

Back to Top


Site

int32 Site

Each DIS site shall be assigned a unique Site Identifier. No site shall be assigned an ID containin all zero's, (2e16-1) or (2e16-2).

Category: GRILL DIS|Structs

Range: [0, 65535]

Back to Top


FEventID

FEventID()

Default constructor

Back to Top


FEventID

FEventID
(
	DIS::EventID EventID
)

Constructor that takes in the OpenDIS EventID struct

Parameter Description
EventID The OpenDIS EventID struct to convert to an FEventID struct.

Back to Top


ToOpenDIS

DIS::ClockTime ToOpenDIS() const

Conversion to OpenDIS EventID struct.

Returns
The OpenDIS EventID struct representation of this FEventID.

Back to Top


Clone this wiki locally