MAK RTIspy API Documentation for HLA Evolved
 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_
std::map< unsigned long, std::string > myAhvps
Definition: simpleTimeAttribute13.h:50
const std::string & getFedTime()
rti13::EventRetractionHandle myRetractionHandle
Definition: simpleTimeAttribute13dlc.h:53
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
RTI::ObjectHandle getHandle()
const std::map< unsigned long, std::string > & getAhvps()
std::string myTag
Definition: simpleTimeAttribute13.h:52
rti13::ObjectHandle myHandle
Definition: simpleTimeAttribute13dlc.h:49
RTI::EventRetractionHandle getRetractionHandle()

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)