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 
15 
16 #include <vlutil/vlPrint.h>
17 
18 #include <string>
19 #include <vector>
20 
23 {
24 public:
26  DtMessage();
28  virtual ~DtMessage();
29 
31  virtual std::string name() const;
32 
34  virtual unsigned char* encode();
35 
37  //static DtMessage* decode(unsigned char* buffer, int length);
38 
40  virtual int messageSize();
41 protected:
42  std::string myName;
43 
44  virtual void serialize(DtStreamWriter& writer);
45  virtual void deserialize(DtStreamReader& reader);
46 };

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)