VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entityDiscovery.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 #include <vlpi/entityType.h>
16 
17 
19 {
20 public:
21 
22 
23 
24 
26  virtual ~EntityDiscoveryMessage();
27 
28  virtual std::string getId();
29  virtual void setId(std::string val);
30 
31  virtual std::string getEntityIdentifier();
32  virtual void setEntityIdentifier(std::string val);
33 
34  virtual DtEntityType getType();
35  virtual void setType(DtEntityType val);
36 
37 
38 
39  virtual int messageSize();
40 
41  static DtMessage* decode(unsigned char* buffer, int length);
42  static std::string theMessageName();
43 
44 protected:
45  static std::string theFullName;
46 
47  std::string myId;
48  std::string myEntityIdentifier;
50 
51  virtual void serialize(DtStreamWriter& writer);
52  virtual void deserialize(DtStreamReader& reader);
53 };

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)