VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setSimTime.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 
15 
17 {
18 public:
19 
20 
21 
22 
24  virtual ~SetSimTimeMessage();
25 
26  virtual double getTime();
27  virtual void setTime(double val);
28 
29 
30 
31  virtual int messageSize();
32 
33  static DtMessage* decode(unsigned char* buffer, int length);
34  static std::string theMessageName();
35 
36 protected:
37  static std::string theFullName;
38 
39  double myTime;
40 
41  virtual void serialize(DtStreamWriter& writer);
42  virtual void deserialize(DtStreamReader& reader);
43 };
virtual int messageSize()
this function needs to be in each derived class for decoding
#define MANAGEDINTERFACE_DLL
Definition: plugin.h:15
double myTime
Definition: setSimTime.h:39
Defines the base class for all messages that are sent to and from C#.
This is the DtMessage class.
Definition: message.h:20
Definition: setSimTime.h:16
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
static std::string theFullName
Definition: setSimTime.h:37
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)