MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrDisLegacyEntityTracker.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2016 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #if DtDIS
12 
14 
15 
16 namespace MAKLogger
17 {
18  class DtPacket;
19  class DtLgrSystemDriver;
20 
24  {
25  public:
26 
28 
30 
31 
32  virtual ~DtLgrDisLegacyEntityTracker();
33 
34  private:
35 
38 
41 
42  public:
43 
47  virtual DtLgrEntityTracker* createFromPacket(const DtPacket& packet);
48 
49  protected:
50 
53  {
54  DtNetInt32 entrySize;
55 
56  DtNetFloat64 firstTime;
57  DtNetFloat64 lastTime;
58 
59  DtNetInt32 force;
60 
61  DtNetInt32 nameSize;
62  DtNetInt32 typeSize;
63  };
64 
65 
68  {
70  char name[1]; // name[nameSize]
71  //char type[typeSize];
72  };
73 
93 
94  protected:
95 
97  virtual unsigned encodedEntrySize(const TrackerEntry& entry, bool includePadding=true) const;
98 
101  virtual char* encodeEntry(char* entryData, const TrackerEntry& entry) const;
102 
105  virtual const char* decodeEntry(const char* entryData);
106 
107  };
108 }
109 
110 #endif

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)