MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
attributeHistory.h
Go to the documentation of this file.
1 /***************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ***************************************************************************/
5 
8 
9 #pragma once
10 
11 
12 
13 #include <list>
14 
15 #include <lgrOmtReader/omtReader.h>
16 class DtDatatypeFedNode;
17 class DtStringTree;
18 class DtObjectHistory;
19 class DtDatatypeManager;
20 
22 {
24  int myStringTreeCount; //This value should be the same as byte stream
25  void* myByteStream;
27 
28  virtual ~SingleAttribute();
29 
30 };
31 typedef std::list<SingleAttribute*> DtSingleAttributePtrList;
32 
33 //Helper class that contains attribute information
35 {
36 public:
37 
40 
42  virtual ~DtAttributeHistory();
43 
45 
46  virtual void* getByteStream(int lookback = 0);
47  virtual void setByteStream(const void* buffer, int length);
49 
51 
52  virtual void setParentObject(DtObjectHistory*);
53  virtual DtObjectHistory* parentObject();
55 
57  virtual DtStringTree* createStringTree(const DtDatatypeFedNode* omtNode,
58  int lookback = 0);
59 
61  virtual int getStringTreeCount(int lookback = 0);
62 
64  virtual int getByteStreamCount(int lookback = 0);
65 
67  virtual bool updatedFlag() const;
68 
70  virtual void resetUpdateFlag();
71 
72 protected:
74  virtual SingleAttribute* at(unsigned int index) const;
75 
76 public: //Breaking code convention if this class gets complicated, undo this
77 
78 protected:
83 };
84 
85 

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)