MAK RTIspy API Documentation for HLA 1.3
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
examples
simpletime
simpleTimeAttribute13.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: simpleTimeAttribute13.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 "RTI.hh"
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.
23
class
attributeUpdateEvent
24
{
25
26
public
:
27
28
attributeUpdateEvent
(
29
const
RTI::AttributeHandleValuePairSet& pvhps,
30
const
RTI::FedTime& fedTime,
31
const
char
* tag,
32
RTI::EventRetractionHandle
theRetractionHandle
33
);
34
35
attributeUpdateEvent
(
36
const
RTI::AttributeHandleValuePairSet& phvps,
37
const
char
* tag
38
);
39
40
~attributeUpdateEvent
();
41
42
RTI::ObjectHandle
getHandle
();
43
const
std::map<unsigned long, std::string>&
getAhvps
();
44
const
std::string&
getFedTime
();
45
const
std::string&
getTag
();
46
RTI::EventRetractionHandle
getRetractionHandle
();
47
48
private
:
49
RTI::ObjectHandle
myHandle
;
50
std::map<unsigned long, std::string>
myAhvps
;
51
std::string
myFedTime
;
52
std::string
myTag
;
53
RTI::EventRetractionHandle
myRetractionHandle
;
54
55
};
56
57
#endif // #define _ATTRIBUTE13DEFINITION_
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
)