MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simpleTimeAttribute13dlc.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: simpleTimeAttribute13dlc.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef _ATTRIBUTE13DEFINITION_
9 #define _ATTRIBUTE13DEFINITION_
10 
11 // A simple container class for an attribute update event.
12 
13 #include <map>
14 #include <string>
15 #include "RTI13.h"
16 
17 
18 // An attributeUpdateEvent object encapsulates the contents of a
19 // reflectattributeupdates callback. Note, that not all contents of the
20 // callback are stored, only those required for our specific application.
21 
22 // That information can then be stored and later retrieved to be processed.
24 {
25 
26  public:
27 
30  const rti13::FedTime& fedTime,
31  const char* tag,
32  rti13::EventRetractionHandle theRetractionHandle
33  );
34 
37  const char* tag
38  );
39 
41 
43  const std::map<unsigned long, std::string>& getAhvps();
44  const std::string& getFedTime();
45  const std::string& getTag();
47 
48 private:
50  std::map<unsigned long, std::string> myAhvps;
51  std::string myFedTime;
52  std::string myTag;
54 
55 };
56 
57 #endif // #define _ATTRIBUTE13DEFINITION_

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)