MAK RTIspy API Documentation for HLA Evolved
 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>
17 #include <iostream>
18 
19 using namespace rti1516e;
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:
30  AttributeHandleValueMap const & ahvps,
31  VariableLengthData const & theUserSuppliedTag,
32  const OrderType sentOrder,
33  const TransportationType theType,
34  LogicalTime const& fedTime,
35  const SupplementalReflectInfo theReflectInfo );
37  AttributeHandleValueMap const & ahvps,
38  VariableLengthData const & theUserSuppliedTag,
39  const OrderType sentOrder,
40  const TransportationType theType,
41  const SupplementalReflectInfo theReflectInfo );
42 
44 
45  const std::map<AttributeHandle, std::string>& getAhvps();
46  const std::string& getFedTime();
47 
48  const std::string& getTag();
49  MessageRetractionHandle getRetractionHandle();
50 
51  const SupplementalReflectInfo getReflectInfo();
52 
53 private:
54 
55  std::map<AttributeHandle, std::string> myAhvps;
56  std::string myFedTime;
57  std::string myTag;
58  MessageRetractionHandle myRetractionHandle;
60 
61 };
62 
63 #endif // #define _ATTRIBUTE1516DEFINITION_
64 

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)