VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setEntityThresholds.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 
25  virtual ~SetEntityThresholdsMessage();
26 
27  virtual bool getSingleEntity();
28  virtual void setSingleEntity(bool val);
29 
30  virtual std::string getEntityId();
31  virtual void setEntityId(std::string val);
32 
33  virtual float getRotationThreshold();
34  virtual void setRotationThreshold(float val);
35 
36  virtual float getTranslationTheshold();
37  virtual void setTranslationTheshold(float val);
38 
39 
40 
41  virtual int messageSize();
42 
43  static DtMessage* decode(unsigned char* buffer, int length);
44  static std::string theMessageName();
45 
46 protected:
47  static std::string theFullName;
48 
50  std::string myEntityId;
53 
54  virtual void serialize(DtStreamWriter& writer);
55  virtual void deserialize(DtStreamReader& reader);
56 };
Definition: setEntityThresholds.h:17
virtual int messageSize()
this function needs to be in each derived class for decoding
#define MANAGEDINTERFACE_DLL
Definition: plugin.h:15
float myRotationThreshold
Definition: setEntityThresholds.h:51
float myTranslationTheshold
Definition: setEntityThresholds.h:52
Defines the base class for all messages that are sent to and from C#.
This is the DtMessage class.
Definition: message.h:20
static std::string theFullName
Definition: setEntityThresholds.h:47
bool mySingleEntity
Definition: setEntityThresholds.h:49
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
std::string myEntityId
Definition: setEntityThresholds.h:50
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
virtual void deserialize(DtStreamReader &reader)

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)