MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs.h
Go to the documentation of this file.
1 /***********************************************************************
2  The IEEE hereby grants a general, royalty-free license to copy, distribute,
3  display and make derivative works from this material, for all purposes,
4  provided that any use of the material contains the following
5  attribution: "Reprinted with permission from IEEE 1516.1(TM)-2010".
6  Should you require additional information, contact the Manager, Standards
7  Intellectual Property, IEEE Standards Association (stds-ipr@ieee.org).
8 ***********************************************************************/
9 /***********************************************************************
10  IEEE 1516.1 High Level Architecture Interface Specification C++ API
11  File: RTI/Typedefs.h
12 ***********************************************************************/
13 
14 // Purpose: This file contains the standard RTI types that are defined in
15 // namespace rti1516e. These definitions/declarations are standard for all RTI
16 // implementations.
17 //
18 // The types declared here require the use of some RTI Specific types.
19 
20 #ifndef RTI_Typedefs_h
21 #define RTI_Typedefs_h
22 
23 // The following type definitions use standard C++ classes for containers
24 // that are used in the RTI API.
25 
26 #include <RTI/SpecificConfig.h>
27 #include <set>
28 #include <map>
29 #include <vector>
30 #include <RTI/Enums.h>
31 #include <RTI/Handle.h>
32 
33 namespace rti1516e
34 {
35  typedef std::set< AttributeHandle > AttributeHandleSet;
36  typedef std::set< ParameterHandle > ParameterHandleSet;
37  typedef std::set< FederateHandle > FederateHandleSet;
38  typedef std::set< DimensionHandle > DimensionHandleSet;
39  typedef std::set< RegionHandle > RegionHandleSet;
40 
41  // RTI::AttributeHandleValueMap implements a constrained set of
42  // (attribute handle and value) pairs
43  typedef std::map< AttributeHandle, VariableLengthData >
45 
46  // RTI::ParameterHandleValueMap implements a constrained set of
47  // (parameter handle and value) pairs
48  typedef std::map< ParameterHandle, VariableLengthData >
50 
51  // RTI::AttributeHandleSetRegionHandleSetPairVector implements a collection of
52  // (attribute handle set and region set) pairs
53  typedef std::pair< AttributeHandleSet, RegionHandleSet >
55 
56  typedef std::vector< AttributeHandleSetRegionHandleSetPair >
58 
59  // RTI::FederateHandleSaveStatusPairVector implements a collection of
60  // (federate handle and save status) pairs
61  typedef std::pair< FederateHandle, SaveStatus >
63 
64  typedef std::vector< FederateHandleSaveStatusPair >
66 
67  // RTI::FederateRestoreStatusVector implements a collection of
68  // FederateRestoreStatus objects, each of which contains a pre-restore handle,
69  // a post-restore handle, and a restore status.
71  {
72  public:
74  FederateHandle const & thePreHandle,
75  FederateHandle const & thePostHandle,
76  RestoreStatus theStatus);
77 
78  FederateHandle preRestoreHandle;
79  FederateHandle postRestoreHandle;
81  };
82 
83  typedef std::vector< FederateRestoreStatus > FederateRestoreStatusVector;
84 
85  // RTI::FederationExectionInformationSet implements a collection of
86  // FederationExecutionInformation, each of which contains
87  // a federation execution name and a logical time implementation name.
89  {
90  public:
92  std::wstring const & theFederationExecutionName,
93  std::wstring const & theLogicalTimeImplementationName);
94 
97  };
98 
99  typedef std::vector<FederationExecutionInformation> FederationExecutionInformationVector;
100 
102  {
103  public:
106  FederateHandle const & theFederateHandle);
108  RegionHandleSet const & theRegionHandleSet);
110  FederateHandle const & theFederateHandle,
111  RegionHandleSet const & theRegionHandleSet);
112 
115  FederateHandle producingFederate;
117  };
118 
120  {
121  public:
124  FederateHandle const & theFederateHandle);
126  RegionHandleSet const & theRegionHandleSet);
128  FederateHandle const & theFederateHandle,
129  RegionHandleSet const & theRegionHandleSet);
130 
133  FederateHandle producingFederate;
135  };
136 
137 
139  {
140  public:
143  FederateHandle const & theFederateHandle);
144 
146  FederateHandle producingFederate;
147  };
148 }
149 
150 #endif // RTI_Typedefs_h

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)