MAK Data Logger API Documentation for DIS
lgrDisStateObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrDisStateObject_H_
11 #define lgrDisStateObject_H_
12 
13 #if DtDIS
14 
15 #include "lgrSim.h"
16 #include "stateObject.h"
17 #include "absoluteTime.h"
18 #include <list>
19 
20 struct DtNetPduHeader;
21 
22 namespace MAKLogger
23 {
24 
25  class DtMessageState;
26  class DtLgrDisMessageState;
27 
31  {
32  public:
33 
36 
37  virtual ~DtDisStateObject();
38 
40  virtual DtU64 uniqueId() const;
41 
43  virtual DtU64 packetId(DtPacket& packet) const;
44 
47  virtual void setPacketId(DtU64,DtPacket&) const;
48 
50  virtual bool packetForMe(DtPacket&) const;
51 
53  virtual void updateViaPacket(DtPacket&);
54 
55  virtual DtPacket* createUpdate(const DtAbsoluteTime& time) const;
56  virtual void createUpdate(const DtAbsoluteTime& time, std::list<DtPacket*>& packetlist) const;
57  virtual DtPacket* createRemoval(const DtAbsoluteTime& time) const;
58 
61  virtual bool isEntity() const;
62 
65  virtual bool isAggregate() const;
66 
69  virtual bool isEnvironmentalProcess() const;
70 
71  protected:
72 
74  DtNetPduHeader* myLastPdu;
75 
76  DtNetPduHeader* myLastDiGuyAppearancePdu;
77  DtNetPduHeader* myLastDiGuyTypePdu;
78  DtNetPduHeader* myLastDiGuyActionPdu;
79 
84  };
85 
86 }
87 
88 #endif
89 #endif

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)