MAK Data Logger API Documentation for DIS
List of all members | Public Member Functions | Protected Attributes
MAKLogger::DtDisStateObject Class Reference

A DIS state object. More...

+ Inheritance diagram for MAKLogger::DtDisStateObject:
+ Collaboration diagram for MAKLogger::DtDisStateObject:

Public Member Functions

virtual ~DtDisStateObject ()
virtual DtU64 uniqueId () const
 Get the unique id of the state object.
virtual DtU64 packetId (DtPacket &packet) const
 Get the unique id of the packet.
virtual void setPacketId (DtU64, DtPacket &) const
 Change the packet id in the packet.
virtual bool packetForMe (DtPacket &) const
 Get whether the packet is for this state object.
virtual void updateViaPacket (DtPacket &)
 Update the state object by packet.
virtual DtPacketcreateUpdate (const DtAbsoluteTime &time) const
virtual void createUpdate (const DtAbsoluteTime &time, std::list< DtPacket * > &packetlist) const
virtual DtPacketcreateRemoval (const DtAbsoluteTime &time) const
 Create removal packet.
virtual bool isEntity () const
 Optional override for basic type queries.
virtual bool isAggregate () const
 Optional override for basic type queries.
virtual bool isEnvironmentalProcess () const
 Optional override for basic type queries.
- Public Member Functions inherited from MAKLogger::DtStateObject
virtual ~DtStateObject ()
virtual bool equals (const DtStateObject &copy)
 Compare two objects to see if they are equal.
virtual bool operator< (const DtStateObject &second)
 Used for sorting objects, compares unique ids.

Protected Attributes

DtAbsoluteTime myLastTime
DtNetPduHeader * myLastPdu
DtNetPduHeader * myLastDiGuyAppearancePdu
DtNetPduHeader * myLastDiGuyTypePdu
DtNetPduHeader * myLastDiGuyActionPdu
int myLastPduSize
int myLastDiGuyAppearancePduSize
int myLastDiGuyTypePduSize
int myLastDiGuyActionPduSize

Detailed Description

A DIS state object.

Constructor & Destructor Documentation

virtual MAKLogger::DtDisStateObject::~DtDisStateObject ( )
virtual

Member Function Documentation

virtual DtPacket* MAKLogger::DtDisStateObject::createRemoval ( const DtAbsoluteTime currentTime) const
virtual

Create removal packet.

Implements MAKLogger::DtStateObject.

virtual DtPacket* MAKLogger::DtDisStateObject::createUpdate ( const DtAbsoluteTime time) const
virtual
virtual void MAKLogger::DtDisStateObject::createUpdate ( const DtAbsoluteTime time,
std::list< DtPacket * > &  packetlist 
) const
virtual
virtual bool MAKLogger::DtDisStateObject::isAggregate ( ) const
virtual

Optional override for basic type queries.

Warning
By default returns false.

Reimplemented from MAKLogger::DtStateObject.

virtual bool MAKLogger::DtDisStateObject::isEntity ( ) const
virtual

Optional override for basic type queries.

Warning
By default returns false.

Reimplemented from MAKLogger::DtStateObject.

virtual bool MAKLogger::DtDisStateObject::isEnvironmentalProcess ( ) const
virtual

Optional override for basic type queries.

Warning
By default returns false.

Reimplemented from MAKLogger::DtStateObject.

virtual bool MAKLogger::DtDisStateObject::packetForMe ( DtPacket ) const
virtual

Get whether the packet is for this state object.

Implements MAKLogger::DtStateObject.

virtual DtU64 MAKLogger::DtDisStateObject::packetId ( DtPacket packet) const
virtual

Get the unique id of the packet.

Implements MAKLogger::DtStateObject.

virtual void MAKLogger::DtDisStateObject::setPacketId ( DtU64  ,
DtPacket  
) const
virtual

Change the packet id in the packet.

This does not effect the state object's unique id.

Implements MAKLogger::DtStateObject.

virtual DtU64 MAKLogger::DtDisStateObject::uniqueId ( ) const
virtual

Get the unique id of the state object.

Implements MAKLogger::DtStateObject.

virtual void MAKLogger::DtDisStateObject::updateViaPacket ( DtPacket )
virtual

Update the state object by packet.

Implements MAKLogger::DtStateObject.

Member Data Documentation

DtNetPduHeader* MAKLogger::DtDisStateObject::myLastDiGuyActionPdu
protected
int MAKLogger::DtDisStateObject::myLastDiGuyActionPduSize
protected
DtNetPduHeader* MAKLogger::DtDisStateObject::myLastDiGuyAppearancePdu
protected
int MAKLogger::DtDisStateObject::myLastDiGuyAppearancePduSize
protected
DtNetPduHeader* MAKLogger::DtDisStateObject::myLastDiGuyTypePdu
protected
int MAKLogger::DtDisStateObject::myLastDiGuyTypePduSize
protected
DtNetPduHeader* MAKLogger::DtDisStateObject::myLastPdu
protected
int MAKLogger::DtDisStateObject::myLastPduSize
protected
DtAbsoluteTime MAKLogger::DtDisStateObject::myLastTime
protected

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

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)