VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
universalHlaObjDiscovery.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
14 #pragma once
15 
17 
18 #include <string>
19 
21 {
22 public:
23 
26 
27  virtual std::string getObjectClass();
28  virtual void setObjectClass(std::string className);
29 
30  virtual std::string getObjectName();
31  virtual void setObjectName(std::string objName);
32 
33  virtual int messageSize();
34 
35  static DtMessage* decode(unsigned char* buffer, int length);
36  static std::string theMessageName();
37 
38 protected:
39  static std::string theFullName;
40 
41  std::string myObjectClass;
42  std::string myObjectName;
43 
44  virtual void serialize(DtStreamWriter& writer);
45  virtual void deserialize(DtStreamReader& reader);
46 };
static std::string theFullName
Definition: universalHlaObjDiscovery.h:39
virtual int messageSize()
this function needs to be in each derived class for decoding
#define MANAGEDINTERFACE_DLL
Definition: plugin.h:15
std::string myObjectClass
Definition: universalHlaObjDiscovery.h:41
Definition: universalHlaObjDiscovery.h:20
Defines the base class for all messages that are sent to and from C#.
This is the DtMessage class.
Definition: message.h:20
std::string myObjectName
Definition: universalHlaObjDiscovery.h:42
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)
virtual void deserialize(DtStreamReader &reader)

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)