VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
message.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
11 
13 
14 #include "vlpi/byteStream.h"
15 
16 #include <string>
17 #include <vector>
18 
21 {
22 public:
24  DtMessage();
26  virtual ~DtMessage();
27 
29  virtual std::string name() const;
30 
32  virtual unsigned char* encode();
33 
35  //static DtMessage* decode(unsigned char* buffer, int length);
36 
38  virtual int messageSize();
39 protected:
40  std::string myName;
41 
42  virtual void serialize(DtStreamWriter& writer);
43  virtual void deserialize(DtStreamReader& reader);
44 };

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)