VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
managedInterface/messages/startResume.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 
16 
18 {
19 public:
20  enum TimeStampType {TimeStampType_RELATIVE, TimeStampType_ABSOLUTE};
21 
22 
23 
24 
26  virtual ~StartResumeMessage();
27 
28  virtual std::string getSenderId();
29  virtual void setSenderId(std::string val);
30 
31  virtual std::string getReceiverId();
32  virtual void setReceiverId(std::string val);
33 
34  virtual unsigned int getRequestId();
35  virtual void setRequestId(unsigned int val);
36 
37  virtual double getRealTime();
38  virtual void setRealTime(double val);
39 
40  virtual double getSimTime();
41  virtual void setSimTime(double val);
42 
43  virtual TimeStampType getRealTimeType();
44  virtual void setRealTimeType(TimeStampType val);
45 
46  virtual TimeStampType getSimTimeType();
47  virtual void setSimTimeType(TimeStampType val);
48 
49 
50 
51  virtual int messageSize();
52 
53  static DtMessage* decode(unsigned char* buffer, int length);
54  static std::string theMessageName();
55 
56 protected:
57  static std::string theFullName;
58 
59  std::string mySenderId;
60  std::string myReceiverId;
61  unsigned int myRequestId;
62  double myRealTime;
63  double mySimTime;
66 
67  virtual void serialize(DtStreamWriter& writer);
68  virtual void deserialize(DtStreamReader& reader);
69 };

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)