VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
universalHlaObjRemoved.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 };
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
static std::string theFullName
Definition: universalHlaObjRemoved.h:39
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
std::string myObjectName
Definition: universalHlaObjRemoved.h:42
std::string myObjectClass
Definition: universalHlaObjRemoved.h:41
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
Definition: universalHlaObjRemoved.h:20
virtual void deserialize(DtStreamReader &reader)

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)