VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
recordSet.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
7 
8 #ifndef DtRecordSet_H_
9 #define DtRecordSet_H_
10 
11 #include <vlutil/vlMachineTypes.h>
12 #include <vlpi/netStructs.h>
13 #include <vlpi/disEnums.h>
14 #include <vlpi/idTypeMap.h>
15 
19 {
24 };
25 
29 {
31 };
32 
33 
38 {
39 
40 public:
41 
43  DtRecordSet();
44  DtRecordSet(const DtRecordSet& orig);
45 
47  virtual ~DtRecordSet();
48 
50  DtRecordSet& operator=(const DtRecordSet& orig);
51  DtRecordSet& operator=(const DtNetRecordSet& orig);
52 
54  virtual bool setDatumID(DtDatumParam value);
55  virtual DtDatumParam datumID() const;
56 
58  virtual void setSerialNumber(DtU32 value);
59  virtual DtU32 serialNumber() const;
60 
64  virtual bool setRecordBitLength(DtU16 bitLength);
65  virtual DtU16 recordBitLength() const;
66 
70  virtual bool setRecordByteLength(int byteLength);
71  virtual int recordByteLength() const;
72 
75  virtual bool setRecordCount(DtU32 bytes);
76  virtual DtU32 recordCount() const;
77 
78 
82  virtual bool setDataBytes(DtU32 recordIndex, const void* data);
83  virtual bool getDataBytes(DtU32 recordIndex, void* buff) const;
84 
87  virtual bool setDataByte(
88  DtU32 recordIndex, DtU8 value, int byteIndex = 0);
89  virtual bool getDataByte(
90  DtU32 recordIndex, DtU8& value, int byteIndex = 0) const;
91 
95  virtual bool setDataInt16(DtU32 recordIndex, DtInt16& value);
96  virtual bool getDataInt16(DtU32 recordIndex, DtInt16& value) const;
97 
101  virtual bool setDataU16(DtU32 recordIndex, DtU16& value);
102  virtual bool getDataU16(DtU32 recordIndex, DtU16& value) const;
103 
107  virtual bool setDataInt32(DtU32 recordIndex, DtInt32& value);
108  virtual bool getDataInt32(DtU32 recordIndex, DtInt32& value) const;
109 
113  virtual bool setDataU32(DtU32 recordIndex, DtU32& value);
114  virtual bool getDataU32(DtU32 recordIndex, DtU32& value) const;
115 
119  virtual bool setDataFloat32(DtU32 recordIndex, DtFloat32& value);
120  virtual bool getDataFloat32(DtU32 recordIndex, DtFloat32& value) const;
121 
125  virtual bool setDataFloat64(DtU32 recordIndex, DtFloat64& value);
126  virtual bool getDataFloat64(DtU32 recordIndex, DtFloat64& value) const;
127 
128 
131  virtual int recordSetLength() const;
132 
133 
135  virtual void print() const;
136 
137  virtual void printDataToStream(std::ostream& stream) const;
138 
139 
141  virtual void unloadNetRecordSet(const DtNetRecordSet& record, int dataLength = 0);
142  virtual void loadNetRecordSet(DtNetRecordSet& record) const;
143 
144 
145 protected:
146 
151 
152  char* myData;
153 
154 };
155 
156 #endif
157 

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)