VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
recordSetPdu.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
7 
8 #ifndef DtRecordSetPdu_H_
9 #define DtRecordSetPdu_H_
10 
11 #if DtDIS
12 
13 #include <vlutil/vlMachineTypes.h>
14 #include "hostStructs.h"
15 #include "interaction.h"
16 #include "packets/recordSetP.h"
17 
18 #include <vlpi/recordSet.h>
19 
20 
24 {
25 
26 public:
27 
29  virtual ~DtRecordSetPdu();
30 
33 
35  virtual bool setNumRecordSets(DtU32 numSets);
36  virtual DtU32 numRecordSets() const;
37 
41  virtual bool setRecordSet(int index, const DtRecordSet& recSet);
42  virtual bool getRecordSet(int index, DtRecordSet& recSet) const;
43 
45  virtual void printData() const;
46 
48  virtual void printDataToStream(std::ostream& stream) const;
49 
50 protected:
51 
54  DtRecordSetPdu(const DtRecordSetPdu& orig);
55 
62  bool validateRecordSets(DtNetRecordSetPdu& netStruct);
63 
67  virtual DtNetRecordSetPdu* netRecordSetPduStruct() const = 0;
68 
70  virtual char* var() const;
71 
75  virtual int netRecordSetLength() const;
76 
78  virtual int recordSetOffset(int recordSetIndex) const;
79 
82  DtRecordSetPdu* self() const;
83 
84 protected:
85 
90 
91 };
92 
93 #endif
94 #endif
95 

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)