VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
emitterRemoved.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
10 #pragma once
11 
13 
14 #include <string>
15 
16 
18 {
19 public:
20 
21 
22 
23 
25  virtual ~EmitterRemovedMessage();
26 
27  virtual unsigned char getEmitterIdNumber();
28  virtual void setEmitterIdNumber(unsigned char val);
29 
30  virtual std::string getEntityIdentifier();
31  virtual void setEntityIdentifier(std::string val);
32 
33  virtual std::string getHostEntityIdentifier();
34  virtual void setHostEntityIdentifier(std::string val);
35 
36 
37 
38  virtual int messageSize();
39 
40  static DtMessage* decode(unsigned char* buffer, int length);
41  static std::string theMessageName();
42 
43 protected:
44  static std::string theFullName;
45 
46  unsigned char myEmitterIdNumber;
47  std::string myEntityIdentifier;
49 
50  virtual void serialize(DtStreamWriter& writer);
51  virtual void deserialize(DtStreamReader& reader);
52 };
unsigned char myEmitterIdNumber
Definition: emitterRemoved.h: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: emitterRemoved.h:44
std::string myHostEntityIdentifier
Definition: emitterRemoved.h:48
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
Definition: emitterRemoved.h:17
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
std::string myEntityIdentifier
Definition: emitterRemoved.h:47
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)