VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
initHla1516.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 ~InitHLA1516Message();
26 
27  virtual std::string getFederateType();
28  virtual void setFederateType(std::string val);
29 
30  virtual std::string getFederationName();
31  virtual void setFederationName(std::string val);
32 
33  virtual double getRprVersion();
34  virtual void setRprVersion(double val);
35 
36  virtual int getRprRevision();
37  virtual void setRprRevision(int val);
38 
39  virtual std::string getFedFilename();
40  virtual void setFedFilename(std::string val);
41 
42  virtual std::string getFomMapper();
43  virtual void setFomMapper(std::string val);
44 
45  virtual bool getUseAbsoluteTimestamps();
46  virtual void setUseAbsoluteTimestamps(bool val);
47 
48  virtual int getNotifyLevel();
49  virtual void setNotifyLevel(int val);
50 
51  virtual bool getNetworkBigEndian();
52  virtual void setNetworkBigEndian(bool val);
53 
54  virtual bool getEnableGenericAttributes();
55  virtual void setEnableGenericAttributes(bool val);
56 
57 
58 
59  virtual int messageSize();
60 
61  static DtMessage* decode(unsigned char* buffer, int length);
62  static std::string theMessageName();
63 
64 protected:
65  static std::string theFullName;
66 
67  std::string myFederateType;
68  std::string myFederationName;
69  double myRprVersion;
71  std::string myFedFilename;
72  std::string myFomMapper;
77 
78  virtual void serialize(DtStreamWriter& writer);
79  virtual void deserialize(DtStreamReader& reader);
80 };
static std::string theFullName
Definition: initHla1516.h:65
bool myEnableGenericAttributes
Definition: initHla1516.h:76
bool myUseAbsoluteTimestamps
Definition: initHla1516.h:73
virtual int messageSize()
this function needs to be in each derived class for decoding
#define MANAGEDINTERFACE_DLL
Definition: plugin.h:15
int myRprRevision
Definition: initHla1516.h:70
std::string myFederateType
Definition: initHla1516.h:67
std::string myFedFilename
Definition: initHla1516.h:71
Defines the base class for all messages that are sent to and from C#.
This is the DtMessage class.
Definition: message.h:20
bool myNetworkBigEndian
Definition: initHla1516.h:75
Definition: initHla1516.h:17
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)
std::string myFederationName
Definition: initHla1516.h:68
std::string myFomMapper
Definition: initHla1516.h:72
int myNotifyLevel
Definition: initHla1516.h:74
double myRprVersion
Definition: initHla1516.h:69
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)