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

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)