VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
iffDiscovery.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
10 #pragma once
11 
13 
14 #include <string>
15 
16 
18 {
19 public:
20  enum SystemType {SystemType_OtherSysType = 0, SystemType_Transponder = 1, SystemType_Interrogator = 2, SystemType_SovietTransponder = 3, SystemType_SovietInterrogator = 4};
21 
22 
23 
24 
26  virtual ~IffDiscoveryMessage();
27 
28  virtual std::string getHostGlobalIdentifier();
29  virtual void setHostGlobalIdentifier(std::string val);
30 
31  virtual unsigned short getEmbeddedIndex();
32  virtual void setEmbeddedIndex(unsigned short val);
33 
34  virtual SystemType getSystemType();
35  virtual void setSystemType(SystemType val);
36 
37 
38 
39  virtual int messageSize();
40 
41  static DtMessage* decode(unsigned char* buffer, int length);
42  static std::string theMessageName();
43 
44 protected:
45  static std::string theFullName;
46 
48  unsigned short myEmbeddedIndex;
50 
51  virtual void serialize(DtStreamWriter& writer);
52  virtual void deserialize(DtStreamReader& reader);
53 };
Definition: iffDiscovery.h:17
virtual int messageSize()
this function needs to be in each derived class for decoding
#define MANAGEDINTERFACE_DLL
Definition: plugin.h:15
Defines the base class for all messages that are sent to and from C#.
This is the DtMessage class.
Definition: message.h:20
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
static std::string theFullName
Definition: iffDiscovery.h:45
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
SystemType
Definition: iffDiscovery.h:20
std::string myHostGlobalIdentifier
Definition: iffDiscovery.h:47
SystemType mySystemType
Definition: iffDiscovery.h:49
unsigned short myEmbeddedIndex
Definition: iffDiscovery.h:48
virtual void deserialize(DtStreamReader &reader)

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)