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
Definition: Typedefs.h:101
#define RTI_EXPORT
Definition: SpecificConfig.h:63
std::wstring logicalTimeImplementationName
Definition: Typedefs.h:96
bool hasProducingFederate
Definition: Typedefs.h:145
FederateHandle producingFederate
Definition: Typedefs.h:133
Definition: Typedefs.h:138
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
std::set< ParameterHandle > ParameterHandleSet
Definition: Typedefs.h:36
FederateHandle preRestoreHandle
Definition: Typedefs.h:78
This file contains the designator or handle classes used by the interface.
Definition: Typedefs.h:119
bool hasProducingFederate
Definition: Typedefs.h:113
std::pair< FederateHandle, SaveStatus > FederateHandleSaveStatusPair
Definition: Typedefs.h:62
std::vector< FederationExecutionInformation > FederationExecutionInformationVector
Definition: Typedefs.h:99
RestoreStatus status
Definition: Typedefs.h:80
Definition: Typedefs.h:70
std::pair< AttributeHandleSet, RegionHandleSet > AttributeHandleSetRegionHandleSetPair
Definition: Typedefs.h:54
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:39
RestoreStatus
Definition: Enums.h:52
std::vector< AttributeHandleSetRegionHandleSetPair > AttributeHandleSetRegionHandleSetPairVector
Definition: Typedefs.h:57
std::vector< FederateHandleSaveStatusPair > FederateHandleSaveStatusPairVector
Definition: Typedefs.h:65
bool hasSentRegions
Definition: Typedefs.h:132
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:37
This file contains enumerations used by the interface.
RegionHandleSet sentRegions
Definition: Typedefs.h:116
This file contains definitions that are used to isolate platform-specific elements of the API...
bool hasSentRegions
Definition: Typedefs.h:114
FederateHandle producingFederate
Definition: Typedefs.h:115
FederateHandle producingFederate
Definition: Typedefs.h:146
std::vector< FederateRestoreStatus > FederateRestoreStatusVector
Definition: Typedefs.h:83
RegionHandleSet sentRegions
Definition: Typedefs.h:134
FederateHandle postRestoreHandle
Definition: Typedefs.h:79
bool hasProducingFederate
Definition: Typedefs.h:131
std::wstring federationExecutionName
Definition: Typedefs.h:95
std::set< DimensionHandle > DimensionHandleSet
Definition: Typedefs.h:38
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:49

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)