MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simpleTimeAttribute1516.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: simpleTimeAttribute1516.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef _ATTRIBUTE1516DEFINITION_
9 #define _ATTRIBUTE1516DEFINITION_
10 
11 #ifdef DtIFSPEC1516
12 
13 // A simple container class for an attribute update event.
14 
15 #include <map>
16 #include <string>
17 #include <RTI/RTI1516.h>
19 #include <iostream>
20 
21 // An attributeUpdateEvent object encapsulates the contents of a
22 // reflectattributeupdates callback. Note, that not all contents of the
23 // callback are stored, only those required for our specific application.
24 
25 // That information can then be stored and later retrieved to be processed.
27 {
28  public:
31  rti1516::VariableLengthData const & theUserSuppliedTag,
32  const rti1516::OrderType sentOrder,
33  const rti1516::TransportationType theType,
34  rti1516::LogicalTime const& fedTime );
37  rti1516::VariableLengthData const & theUserSuppliedTag,
38  const rti1516::OrderType sentOrder,
39  const rti1516::TransportationType theType );
40 
42 
43  const std::map<rti1516::AttributeHandle, std::string>& getAhvps();
44  const std::string& getFedTime();
45 
46  const std::string& getTag();
47  rti1516::MessageRetractionHandle getRetractionHandle();
48 
49 private:
50 
51  std::map<rti1516::AttributeHandle, std::string> myAhvps;
52  std::string myFedTime;
53  std::string myTag;
54  rti1516::MessageRetractionHandle myRetractionHandle;
55 
56 };
57 #endif // #ifdef DtIFSPEC1516
58 
59 #endif // #define _ATTRIBUTE1516DEFINITION_
A convenience header provided for developers that would like to include everything all at once...
std::map< unsigned long, std::string > myAhvps
Definition: simpleTimeAttribute13.h:50
OrderType
Definition: datatypes.pb.h:472
const std::string & getFedTime()
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()
RTI::EventRetractionHandle myRetractionHandle
Definition: simpleTimeAttribute13.h:53
std::string myTag
Definition: simpleTimeAttribute13.h:52
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
RTI::EventRetractionHandle getRetractionHandle()
This file contains the rti1516_2025::RTIambassadorFactory which can be used to make an implementation...

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)