VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <omtReader/omtReader.h>
16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
18 {
19 #endif
20 class DtDatatypeFedNode;
21 class DtStringTree;
22 class DtObjectHistory;
23 class DtDatatypeManager;
24 
26 {
28  int myStringTreeCount; //This value should be the same as byte stream
29  void* myByteStream;
31 
32  virtual ~SingleAttribute();
33 
34 };
35 typedef std::list<SingleAttribute*> DtSingleAttributePtrList;
36 
37 //Helper class that contains attribute information
39 {
40 public:
41 
44 
46  virtual ~DtAttributeHistory();
47 
49 
50  virtual void* getByteStream(int lookback = 0);
51  virtual void setByteStream(const void* buffer, int length);
53 
55 
56  virtual void setParentObject(DtObjectHistory*);
57  virtual DtObjectHistory* parentObject();
59 
61  virtual DtStringTree* createStringTree(const DtDatatypeFedNode* omtNode,
62  int lookback = 0);
63 
65  virtual int getStringTreeCount(int lookback = 0);
66 
68  virtual int getByteStreamCount(int lookback = 0);
69 
71  virtual bool updatedFlag() const;
72 
74  virtual void resetUpdateFlag();
75 
76 protected:
78  virtual SingleAttribute* at(unsigned int index) const;
79 
80 public: //Breaking code convention if this class gets complicated, undo this
81 
82 protected:
87 };
88 #ifdef DtUSE_UTILITIES_NAMESPACE
89 } // end of namespace DtUSE_UTILITIES_NAMESPACE
90 #endif

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)