VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
federateIdentifierStruct.h
Go to the documentation of this file.
1 /*********************************************************************
2 **This file was generated by MAK Technologies' VR-Link Code Generator.
3 **fixedRecordsHeader.tlt
4 *********************************************************************/
5 
6 #pragma once
7 
8 #include "vrfMetocDefines.h"
9 #include "metocEnums.h"
10 #include <vlutil/vlMachineTypes.h>
11 #include <vlutil/vlString.h>
12 #include <vl/globalObjectDesignator.h>
13 #include <vlpi/entityType.h>
14 #include <vlpi/entityIdentifier.h>
15 #include <matrix/vlVector.h>
16 #include <vector>
17 
18  namespace makVrfMetoc {
19 
21 
24 {
25 public:
30 
31  virtual void setSiteID(const DtU16& val);
32  virtual const DtU16& siteID() const;
33  virtual void setApplicationID(const DtU16& val);
34  virtual const DtU16& applicationID() const;
35 
36  bool operator==(const DtFederateIdentifierStruct& other) const;
37  bool operator!=(const DtFederateIdentifierStruct& other) const;
38 
39  int netSize() const;
40  static int octetBoundary();
41  unsigned int getPaddingSize(unsigned long long byteOffset, unsigned int boundary) const;
42 
43  void writeToBuffer( char* buffer ) const;
44  void fillFromBuffer( const char* buffer, int bufferSize, int offset );
45 
46  virtual void printData() const;
47  virtual void printDataToStream(std::ostream &) const;
48 
49 protected:
50 
51  DtU16 mySiteID;
53 };
54 
55 DT_DLL_METOC std::ostream& operator<<(std::ostream& stream, const DtFederateIdentifierStruct&);
56 
57 } //end makVrfMetoc
Definition: federateIdentifierStruct.h:23
#define DT_DLL_METOC
This file is used to determine how to build.
Definition: vrfMetocDefines.h:21
DT_DLL_METOC std::ostream & operator<<(std::ostream &stream, const DtCloudStruct &)
DtU16 myApplicationID
Definition: federateIdentifierStruct.h:52
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
voidpf stream
Definition: ioapi.h:39
DtU16 mySiteID
Definition: federateIdentifierStruct.h:51
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
voidpf uLong offset
Definition: ioapi.h:42

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)