VR-Link API Documentation for HLA 1.3
 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 };
std::string myEntityIdentifier
Definition: entityDiscovery.h:48
Contains the DtEntityType and DtRadioEntityType class declarations.
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
DtEntityType myType
Definition: entityDiscovery.h:49
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
Definition: entityDiscovery.h:18
static std::string theFullName
Definition: entityDiscovery.h:45
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
std::string myId
Definition: entityDiscovery.h:47
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26
virtual void deserialize(DtStreamReader &reader)

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)