MAK RTIspy API Documentation for HLA 1516
 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 
29  const rti13::AttributeHandleValuePairSet& pvhps,
30  const rti13::FedTime& fedTime,
31  const char* tag,
32  rti13::EventRetractionHandle theRetractionHandle
33  );
34 
36  const rti13::AttributeHandleValuePairSet& phvps,
37  const char* tag
38  );
39 
41 
42  rti13::ObjectHandle getHandle();
43  const std::map<unsigned long, std::string>& getAhvps();
44  const std::string& getFedTime();
45  const std::string& getTag();
46  rti13::EventRetractionHandle getRetractionHandle();
47 
48 private:
49  rti13::ObjectHandle myHandle;
50  std::map<unsigned long, std::string> myAhvps;
51  std::string myFedTime;
52  std::string myTag;
53  rti13::EventRetractionHandle myRetractionHandle;
54 
55 };
56 
57 #endif // #define _ATTRIBUTE13DEFINITION_

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)