MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simpleTimeAttribute1516e.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: simpleTimeAttribute1516e.h,v $ $Revision: 1.0 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef _ATTRIBUTE1516EDEFINITION_
9 #define _ATTRIBUTE1516EDEFINITION_
10 
11 // A simple container class for an attribute update event.
12 
13 #include <map>
14 #include <string>
15 #include <RTI/RTI1516.h>
16 #include <RTI/RTIambassadorFactory.h>
17 #include <iostream>
18 
19 // An attributeUpdateEvent object encapsulates the contents of a
20 // reflectattributeupdates callback. Note, that not all contents of the
21 // callback are stored, only those required for our specific application.
22 
23 // That information can then be stored and later retrieved to be processed.
25 {
26 public:
28  rti1516e::AttributeHandleValueMap const & ahvps,
29  rti1516e::VariableLengthData const & theUserSuppliedTag,
30  const rti1516e::OrderType sentOrder,
31  const rti1516e::TransportationType theType,
32  rti1516e::LogicalTime const& fedTime,
33  const rti1516e::SupplementalReflectInfo theReflectInfo );
35  rti1516e::AttributeHandleValueMap const & ahvps,
36  rti1516e::VariableLengthData const & theUserSuppliedTag,
37  const rti1516e::OrderType sentOrder,
38  const rti1516e::TransportationType theType,
39  const rti1516e::SupplementalReflectInfo theReflectInfo );
40 
42 
43  const std::map<rti1516e::AttributeHandle, std::string>& getAhvps();
44  const std::string& getFedTime();
45 
46  const std::string& getTag();
47  rti1516e::MessageRetractionHandle getRetractionHandle();
48 
49  const rti1516e::SupplementalReflectInfo getReflectInfo();
50 
51 private:
52 
53  std::map<rti1516e::AttributeHandle, std::string> myAhvps;
54  std::string myFedTime;
55  std::string myTag;
56  rti1516e::MessageRetractionHandle myRetractionHandle;
57  rti1516e::SupplementalReflectInfo myReflectInfo;
58 
59 };
60 
61 #endif // #define _ATTRIBUTE1516DEFINITION_
62 
std::map< rti1516e::AttributeHandle, std::string > myAhvps
Definition: simpleTimeAttribute1516e.h:53
OrderType
Definition: datatypes.pb.h:472
const std::string & getFedTime()
rti1516e::SupplementalReflectInfo myReflectInfo
Definition: simpleTimeAttribute1516e.h:57
TransportationType
Definition: rtiAmbassadorFedProBase.h:43
attributeUpdateEvent(const RTI::AttributeHandleValuePairSet &pvhps, const RTI::FedTime &fedTime, const char *tag, RTI::EventRetractionHandle theRetractionHandle)
const std::string & getTag()
Definition: simpleTimeAttribute13.h:23
std::string myFedTime
Definition: simpleTimeAttribute13.h:51
const std::map< unsigned long, std::string > & getAhvps()
const rti1516e::SupplementalReflectInfo getReflectInfo()
std::string myTag
Definition: simpleTimeAttribute13.h:52
rti1516e::MessageRetractionHandle myRetractionHandle
Definition: simpleTimeAttribute1516e.h:56
RTI::EventRetractionHandle getRetractionHandle()

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)