MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simpleTimeAttribute1516_2025.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
7 // A simple container class for an attribute update event.
8 
9 #include <map>
10 #include <string>
11 #include <RTI/RTI1516.h>
13 #include <iostream>
14 
15 // An attributeUpdateEvent object encapsulates the contents of a
16 // reflectattributeupdates callback. Note, that not all contents of the
17 // callback are stored, only those required for our specific application.
18 
19 // That information can then be stored and later retrieved to be processed.
21 {
22 public:
25  rti1516_2025::VariableLengthData const& theUserSuppliedTag,
26  rti1516_2025::TransportationTypeHandle const& theType,
27  rti1516_2025::FederateHandle const& theProducingFederate,
28  rti1516_2025::RegionHandleSet const* theOptionalSentRegions,
29  rti1516_2025::LogicalTime const& fedTime,
30  rti1516_2025::OrderType theSentOrder,
31  rti1516_2025::OrderType theReceiveOrder,
32  rti1516_2025::MessageRetractionHandle const* theOptionalRetraction);
33 
36  rti1516_2025::VariableLengthData const& theUserSuppliedTag,
37  rti1516_2025::TransportationTypeHandle const& theType,
38  rti1516_2025::FederateHandle const& theProducingFederate,
39  rti1516_2025::RegionHandleSet const* theOptionalSentRegions);
40 
42 
43  const std::map<rti1516_2025::AttributeHandle, std::string>& getAhvps() const;
44  const std::string& getTag() const;
45  rti1516_2025::FederateHandle const& getProducingFederate() const;
47  bool getHasRegions() const;
48  const std::string& getFedTime() const;
50  rti1516_2025::MessageRetractionHandle const& getRetractionHandle() const;
51 
52 private:
53 
54  std::map<rti1516_2025::AttributeHandle, std::string> myAhvps;
55  std::string myTag;
56  rti1516_2025::FederateHandle myProducingFederate;
59  std::string myFedTime;
61  rti1516_2025::MessageRetractionHandle myRetractionHandle;
62 
63 };
A convenience header provided for developers that would like to include everything all at once...
OrderType
Definition: datatypes.pb.h:472
const std::string & getFedTime()
bool myHasSentRegions
Definition: simpleTimeAttribute1516_2025.h:58
rti1516_2025::FederateHandle myProducingFederate
Definition: simpleTimeAttribute1516_2025.h:56
rti1516_2025::RegionHandleSet mySentRegions
Definition: simpleTimeAttribute1516_2025.h:57
attributeUpdateEvent(const RTI::AttributeHandleValuePairSet &pvhps, const RTI::FedTime &fedTime, const char *tag, RTI::EventRetractionHandle theRetractionHandle)
rti1516_2025::OrderType myReceiveOrder
Definition: simpleTimeAttribute1516_2025.h:60
const std::string & getTag()
Definition: simpleTimeAttribute13.h:23
bool getHasRegions() const
std::string myFedTime
Definition: simpleTimeAttribute13.h:51
rti1516_2025::FederateHandle const & getProducingFederate() const
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:39
const std::map< unsigned long, std::string > & getAhvps()
std::string myTag
Definition: simpleTimeAttribute13.h:52
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
rti1516_2025::RegionHandleSet const & getSentRegions() const
rti1516_2025::OrderType getReceiveOrder() const
rti1516_2025::MessageRetractionHandle myRetractionHandle
Definition: simpleTimeAttribute1516_2025.h:61
RTI::EventRetractionHandle getRetractionHandle()
This file contains the rti1516_2025::RTIambassadorFactory which can be used to make an implementation...
std::map< rti1516_2025::AttributeHandle, std::string > myAhvps
Definition: simpleTimeAttribute1516_2025.h:54

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)