VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
initHla1516e.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 #include <vector>
16 
17 
19 {
20 public:
21 
22 
23 
24 
26  virtual ~InitHLA1516eMessage();
27 
28  virtual std::string getFederateName();
29  virtual void setFederateName(std::string val);
30 
31  virtual std::string getFederateType();
32  virtual void setFederateType(std::string val);
33 
34  virtual std::string getFederationName();
35  virtual void setFederationName(std::string val);
36 
37  virtual double getRprVersion();
38  virtual void setRprVersion(double val);
39 
40  virtual int getRprRevision();
41  virtual void setRprRevision(int val);
42 
43  virtual std::string getFedFilename();
44  virtual void setFedFilename(std::string val);
45 
46  virtual std::string getFomMapper();
47  virtual void setFomMapper(std::string val);
48 
49  virtual std::string getMIM();
50  virtual void setMIM(std::string val);
51 
52  virtual std::vector<std::string> getFomModules();
53  virtual void setFomModules(std::vector<std::string> val);
54 
55  virtual bool getUseAbsoluteTimestamps();
56  virtual void setUseAbsoluteTimestamps(bool val);
57 
58  virtual int getNotifyLevel();
59  virtual void setNotifyLevel(int val);
60 
61  virtual bool getNetworkBigEndian();
62  virtual void setNetworkBigEndian(bool val);
63 
64  virtual bool getEnableGenericAttributes();
65  virtual void setEnableGenericAttributes(bool val);
66 
67 
68 
69  virtual int messageSize();
70 
71  static DtMessage* decode(unsigned char* buffer, int length);
72  static std::string theMessageName();
73 
74 protected:
75  static std::string theFullName;
76 
77  std::string myFederateName;
78  std::string myFederateType;
79  std::string myFederationName;
80  double myRprVersion;
82  std::string myFedFilename;
83  std::string myFomMapper;
84  std::string myMIM;
85  std::vector<std::string> myFomModules;
90 
91  virtual void serialize(DtStreamWriter& writer);
92  virtual void deserialize(DtStreamReader& reader);
93 };
std::string myFederateName
Definition: initHla1516e.h:77
std::string myFedFilename
Definition: initHla1516e.h:82
std::vector< std::string > myFomModules
Definition: initHla1516e.h:85
std::string myMIM
Definition: initHla1516e.h:84
virtual int messageSize()
this function needs to be in each derived class for decoding
#define MANAGEDINTERFACE_DLL
Definition: plugin.h:15
Defines the base class for all messages that are sent to and from C#.
This is the DtMessage class.
Definition: message.h:20
bool myEnableGenericAttributes
Definition: initHla1516e.h:89
std::string myFomMapper
Definition: initHla1516e.h:83
std::string myFederationName
Definition: initHla1516e.h:79
int myRprRevision
Definition: initHla1516e.h:81
std::string myFederateType
Definition: initHla1516e.h:78
bool myNetworkBigEndian
Definition: initHla1516e.h:88
Definition: initHla1516e.h:18
Instances of DtStreamWriter encode values into a byte array.
Definition: byteStream.h:74
double myRprVersion
Definition: initHla1516e.h:80
static std::string theFullName
Definition: initHla1516e.h:75
Instances of DtStreamReader decode values from a byte array.
Definition: byteStream.h:31
virtual void serialize(DtStreamWriter &writer)
int myNotifyLevel
Definition: initHla1516e.h:87
bool myUseAbsoluteTimestamps
Definition: initHla1516e.h:86
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)