MAK RTIspy API Documentation for HLA 1.3
 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>
18 #include <RTI/RTIambassadorFactory.h>
19 #include <iostream>
20 
21 using namespace rti1516;
22 
23 // An attributeUpdateEvent object encapsulates the contents of a
24 // reflectattributeupdates callback. Note, that not all contents of the
25 // callback are stored, only those required for our specific application.
26 
27 // That information can then be stored and later retrieved to be processed.
29 {
30  public:
32  AttributeHandleValueMap const & ahvps,
33  VariableLengthData const & theUserSuppliedTag,
34  const OrderType sentOrder,
35  const TransportationType theType,
36  LogicalTime const& fedTime );
38  AttributeHandleValueMap const & ahvps,
39  VariableLengthData const & theUserSuppliedTag,
40  const OrderType sentOrder,
41  const TransportationType theType );
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 private:
52 
53  std::map<AttributeHandle, std::string> myAhvps;
54  std::string myFedTime;
55  std::string myTag;
56  MessageRetractionHandle myRetractionHandle;
57 
58 };
59 #endif // #ifdef DtIFSPEC1516
60 
61 #endif // #define _ATTRIBUTE1516DEFINITION_
Definition: simpleTimeAttribute13.h:23
OrderingHandle OrderType
Definition: RTItypes13.h:128

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)