VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
associatedObjectsRecord.h
Go to the documentation of this file.
1 #pragma once
2 #include <vlpi/recordSet.h>
3 #include <vlutil/vlPrintUtil.h>
4 #include <vlutil/vlPrint.h>
6 
7 
9 {
10  public:
11 
17  DtAssociatedObjectsRecord(int count);
21  DtAssociatedObjectsRecord(DtString* objects, int strCount);
22 
26 
28 #if defined(DtHLA) || defined(DtDIS)
29  void addAssociatedObject(DtGlobalObjectDesignator objectId);
30  DtGlobalObjectDesignator getAssociatedObject(int index);
31  bool removeAssociatedObject(int index);
32  DtGlobalObjectDesignator popAssociatedObject(int index);
33  //DtGlobalObjectDesignator& operator[](int index);
34 #endif //This is necessary because even though there is a typedef of DtGlobalObjectDesignator in both HLA and DIS, there is no definition outside of these namespaces
35  DtU16 associatedObjectsCount() const;
36 
38  virtual int associatedObjectsLength() const;
39 
41  virtual void print() const;
42 
43  virtual void printDataToStream(std::ostream& stream) const;
44 };
Definition: associatedObjectsRecord.h:8
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual void print() const
Print this record.
Functions in vlPrint.h provide an error and print facility for vrlink.
This file contains typedefs used to represent objects in a protocol neutral way.
Utility functions for printing objects.
DtRecordSet & operator=(const DtRecordSet &orig)
Assignment operators.
Instances of DtRecordSet are used to contain the record sets used by the PDU classes which inherit fr...
Definition: recordSet.h:38
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
DtNetRecordSet is the network structure for a record used by the PDU classes which inherit from the r...
Definition: recordSet.h:18
virtual void printDataToStream(std::ostream &stream) const
Instances of DtString are used to represent strings.
Definition: vlString.h:36

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)