MAK RTIspy API Documentation for HLA 1516
 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  IEEE 1516.1 High Level Architecture Interface Specification C++ API
3  File: RTI/Typedefs.h
4 ***********************************************************************/
5 
6 // Purpose: This file contains the standard RTI types that are defined in
7 // namespace rti1516. These definitions/declarations are standard for all RTI
8 // implementations.
9 //
10 // The types declared here require the use of some RTI Specific types.
11 
12 #ifndef RTI_Typedefs_h
13 #define RTI_Typedefs_h
14 
15 // The following type definitions use standard C++ classes for containers
16 // that are used in the RTI API.
17 
18 #include <RTI/SpecificConfig.h>
19 #include <set>
20 #include <map>
21 #include <vector>
22 #include <RTI/Enums.h>
23 #include <RTI/Handle.h>
24 
25 namespace rti1516
26 {
27  typedef std::set< AttributeHandle > AttributeHandleSet;
28  typedef std::set< ParameterHandle > ParameterHandleSet;
29  typedef std::set< FederateHandle > FederateHandleSet;
30  typedef std::set< DimensionHandle > DimensionHandleSet;
31  typedef std::set< RegionHandle > RegionHandleSet;
32 
33  // RTI::AttributeHandleValueMap implements a constrained set of
34  // (attribute handle and value) pairs
35  typedef std::map< AttributeHandle, VariableLengthData >
37 
38  // RTI::ParameterHandleValueMap implements a constrained set of
39  // (parameter handle and value) pairs
40  typedef std::map< ParameterHandle, VariableLengthData >
42 
43  // RTI::AttributeHandleSetRegionHandleSetPairVector implements a collection of
44  // (attribute handle set and region set) pairs
45  typedef std::pair< AttributeHandleSet, RegionHandleSet >
47 
48  typedef std::vector< AttributeHandleSetRegionHandleSetPair >
50 
51  // RTI::FederateHandleSaveStatusPairVector implements a collection of
52  // (federate handle and save status) pairs
53  typedef std::pair< FederateHandle, SaveStatus >
55 
56  typedef std::vector< FederateHandleSaveStatusPair >
58 
59  // RTI::FederateHandleRestoreStatusPairVector implements a collection of
60  // (federate handle and restore status) pairs
61  typedef std::pair< FederateHandle, RestoreStatus >
63 
64  typedef std::vector< FederateHandleRestoreStatusPair >
66 }
67 
68 #endif // RTI_Typedefs_h
std::vector< FederateHandleSaveStatusPair > FederateHandleSaveStatusPairVector
Definition: Typedefs.h:57
std::pair< AttributeHandleSet, RegionHandleSet > AttributeHandleSetRegionHandleSetPair
Definition: Typedefs.h:46
std::pair< FederateHandle, RestoreStatus > FederateHandleRestoreStatusPair
Definition: Typedefs.h:62
This file contains the designator or handle classes used by the interface.
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:31
std::pair< FederateHandle, SaveStatus > FederateHandleSaveStatusPair
Definition: Typedefs.h:54
std::set< DimensionHandle > DimensionHandleSet
Definition: Typedefs.h:30
std::vector< FederateHandleRestoreStatusPair > FederateHandleRestoreStatusPairVector
Definition: Typedefs.h:65
std::set< ParameterHandle > ParameterHandleSet
Definition: Typedefs.h:28
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:41
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:36
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:27
std::vector< AttributeHandleSetRegionHandleSetPair > AttributeHandleSetRegionHandleSetPairVector
Definition: Typedefs.h:49
This file contains enumerations used by the interface.
This file contains definitions that are used to isolate platform-specific elements of the API...
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:29

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)