MAK Data Logger API Documentation for DIS
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 #include "omtReader.h"
12 #include <Qt3Support/Q3PtrList>
13 
14 class DtDatatypeFedNode;
15 class DtStringTree;
16 class DtObjectHistory;
17 class DtDatatypeManager;
18 
20 {
22  int myStringTreeCount; //This value should be the same as byte stream
23  void* myByteStream;
25 
26  virtual ~SingleAttribute();
27 
28 };
29 
30 //Helper class that contains attribute information
32 {
33 public:
34 
37 
39  virtual ~DtAttributeHistory();
40 
42 
43  virtual void* getByteStream(int lookback = 0);
44  virtual void setByteStream(const void* buffer, int length);
46 
48 
49  virtual void setParentObject(DtObjectHistory*);
50  virtual DtObjectHistory* parentObject();
52 
54  virtual DtStringTree* createStringTree(const DtDatatypeFedNode* omtNode,
55  int lookback = 0);
56 
58  virtual int getStringTreeCount(int lookback = 0);
59 
61  virtual int getByteStreamCount(int lookback = 0);
62 
63 protected:
64  Q3PtrList<SingleAttribute> myHistory;
67 };
68 

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)