VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
receiverDiscovery.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 ~ReceiverDiscoveryMessage();
26 
27  virtual std::string getEntityId();
28  virtual void setEntityId(std::string val);
29 
30  virtual unsigned short getRadioId();
31  virtual void setRadioId(unsigned short val);
32 
33  virtual std::string getHostObjectId();
34  virtual void setHostObjectId(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  std::string myEntityId;
47  unsigned short myRadioId;
48  std::string myHostObjectId;
49 
50  virtual void serialize(DtStreamWriter& writer);
51  virtual void deserialize(DtStreamReader& reader);
52 };

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)