VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
universalHlaInteraction.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
14 #pragma once
15 
17 
18 #include <string>
19 #include <map>
20 #include <vector>
21 
22 typedef std::map<std::string, std::vector<unsigned char> > UniversalParameterMap;
23 
25 {
26 public:
27 
30 
31  virtual std::string getInteractionClass();
32  virtual void setInteractionClass(std::string val);
33 
34  virtual UniversalParameterMap& getParameters();
35  virtual void setParameters(UniversalParameterMap& val);
36 
37  virtual int messageSize();
38 
39  static DtMessage* decode(unsigned char* buffer, int length);
40  static std::string theMessageName();
41 
42 protected:
43  static std::string theFullName;
44 
45  std::string myInteractionClass;
47 
48  virtual void serialize(DtStreamWriter& writer);
49  virtual void deserialize(DtStreamReader& reader);
50 };
UniversalParameterMap myParameters
Definition: universalHlaInteraction.h:46
Definition: universalHlaInteraction.h:24
std::string myInteractionClass
Definition: universalHlaInteraction.h:45
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#.
static std::string theFullName
Definition: universalHlaInteraction.h:43
This is the DtMessage class.
Definition: message.h:20
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
std::map< std::string, std::vector< unsigned char > > UniversalParameterMap
Definition: universalHlaInteraction.h:22
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)