open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::StartResumePdu Class Reference
Inheritance diagram for DIS::StartResumePdu:
Inheritance graph
[legend]
Collaboration diagram for DIS::StartResumePdu:
Collaboration graph
[legend]

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
ClockTimegetRealWorldTime ()
 
const ClockTimegetRealWorldTime () const
 
void setRealWorldTime (const ClockTime &pX)
 
ClockTimegetSimulationTime ()
 
const ClockTimegetSimulationTime () const
 
void setSimulationTime (const ClockTime &pX)
 
unsigned int getRequestID () const
 
void setRequestID (unsigned int pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const StartResumePdu &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
ClockTimegetRealWorldTime ()
 
const ClockTimegetRealWorldTime () const
 
void setRealWorldTime (const ClockTime &pX)
 
ClockTimegetSimulationTime ()
 
const ClockTimegetSimulationTime () const
 
void setSimulationTime (const ClockTime &pX)
 
unsigned int getRequestID () const
 
void setRequestID (unsigned int pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const StartResumePdu &rhs) const
 
- Public Member Functions inherited from DIS::SimulationManagementFamilyPdu
EntityIDgetOriginatingEntityID ()
 
const EntityIDgetOriginatingEntityID () const
 
void setOriginatingEntityID (const EntityID &pX)
 
EntityIDgetReceivingEntityID ()
 
const EntityIDgetReceivingEntityID () const
 
void setReceivingEntityID (const EntityID &pX)
 
bool operator== (const SimulationManagementFamilyPdu &rhs) const
 
EntityIDgetOriginatingEntityID ()
 
const EntityIDgetOriginatingEntityID () const
 
void setOriginatingEntityID (const EntityID &pX)
 
EntityIDgetReceivingEntityID ()
 
const EntityIDgetReceivingEntityID () const
 
void setReceivingEntityID (const EntityID &pX)
 
bool operator== (const SimulationManagementFamilyPdu &rhs) const
 
- Public Member Functions inherited from DIS::Pdu
unsigned char getProtocolVersion () const
 
void setProtocolVersion (unsigned char pX)
 
unsigned char getExerciseID () const
 
void setExerciseID (unsigned char pX)
 
unsigned char getPduType () const
 
void setPduType (unsigned char pX)
 
unsigned char getProtocolFamily () const
 
void setProtocolFamily (unsigned char pX)
 
unsigned int getTimestamp () const
 
void setTimestamp (unsigned int pX)
 
unsigned short getLength () const
 
void setLength (unsigned short pX)
 
short getPadding () const
 
void setPadding (short pX)
 
bool operator== (const Pdu &rhs) const
 
unsigned char getPduStatus () const
 
void setPduStatus (unsigned char pX)
 
unsigned char getPadding () const
 
void setPadding (unsigned char pX)
 
bool operator== (const Pdu &rhs) const
 
- Public Member Functions inherited from DIS::PduSuperclass
unsigned char getProtocolVersion () const
 
void setProtocolVersion (unsigned char pX)
 
unsigned char getExerciseID () const
 
void setExerciseID (unsigned char pX)
 
unsigned char getPduType () const
 
void setPduType (unsigned char pX)
 
unsigned char getProtocolFamily () const
 
void setProtocolFamily (unsigned char pX)
 
unsigned int getTimestamp () const
 
void setTimestamp (unsigned int pX)
 
unsigned short getLength () const
 
void setLength (unsigned short pX)
 
bool operator== (const PduSuperclass &rhs) const
 

Protected Attributes

ClockTime _realWorldTime
 UTC time at which the simulation shall start or resume. More...
 
ClockTime _simulationTime
 Simulation clock time at which the simulation shall start or resume. More...
 
unsigned int _requestID
 Identifier for the request. More...
 
- Protected Attributes inherited from DIS::SimulationManagementFamilyPdu
EntityID _originatingEntityID
 Entity that is sending message.
 
EntityID _receivingEntityID
 Entity that is intended to receive message.
 
- Protected Attributes inherited from DIS::Pdu
unsigned char _protocolVersion
 The version of the protocol. More...
 
unsigned char _exerciseID
 Exercise ID.
 
unsigned char _pduType
 Type of pdu, unique for each PDU class.
 
unsigned char _protocolFamily
 value that refers to the protocol family, eg SimulationManagement, et
 
unsigned int _timestamp
 Timestamp value.
 
unsigned short _length
 Length, in bytes, of the PDU.
 
short _padding
 zero-filled array of padding
 
unsigned char _pduStatus
 PDU Status Record. More...
 
unsigned char _padding
 zero-filled array of padding
 
- Protected Attributes inherited from DIS::PduSuperclass
unsigned char _protocolVersion
 The version of the protocol. More...
 
unsigned char _exerciseID
 Exercise ID.
 
unsigned char _pduType
 Type of pdu, unique for each PDU class.
 
unsigned char _protocolFamily
 value that refers to the protocol family, eg SimulationManagement, et
 
unsigned int _timestamp
 Timestamp value.
 
unsigned short _length
 Length, in bytes, of the PDU.
 

Member Data Documentation

◆ _realWorldTime

ClockTime DIS::StartResumePdu::_realWorldTime
protected

UTC time at which the simulation shall start or resume.

This field shall specify the real-world time (UTC) at which the entity is to start/resume in the exercise.

This information shall be used by the participating simulation applications to start/resume an exercise synchronously. This field shall be represented by a Clock Time record (see 6.2.16).

◆ _requestID

unsigned int DIS::StartResumePdu::_requestID
protected

Identifier for the request.

Identifier for the specific and unique start/resume request.

◆ _simulationTime

ClockTime DIS::StartResumePdu::_simulationTime
protected

Simulation clock time at which the simulation shall start or resume.

The reference time within a simulation exercise.

This time is established ahead of time by simulation management and is common to all participants in a particular exercise. Simulation time may be either Absolute Time or Relative Time. This field shall be represented by a Clock Time record (see 6.2.16)


The documentation for this class was generated from the following files: