VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
universalHlaObjState.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 #include <map>
20 #include <vector>
21 
22 typedef std::map<std::string, std::vector<char> > UniversalAttributeMap;
23 
25 {
26 public:
27 
29  virtual ~UniversalHlaObjStateMessage();
30 
31  virtual std::string getObjectClass();
32  virtual void setObjectClass(const std::string& className);
33 
34  virtual std::string getObjectName();
35  virtual void setObjectName(const std::string& objName);
36 
37  virtual UniversalAttributeMap& getAttributes();
38  virtual void setAttributes(UniversalAttributeMap& attr);
39 
40  virtual int messageSize();
41 
42  static DtMessage* decode(unsigned char* buffer, int length);
43  static std::string theMessageName();
44 
45 protected:
46  static std::string theFullName;
47 
48  std::string myObjectClass;
49  std::string myObjectName;
51 
52  virtual void serialize(DtStreamWriter& writer);
53  virtual void deserialize(DtStreamReader& reader);
54 };

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)