MAK RTIspy API Documentation for HLA Evolved
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
simpleTimeAttribute1516e.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: simpleTimeAttribute1516e.h,v $ $Revision: 1.0 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef _ATTRIBUTE1516EDEFINITION_
9
#define _ATTRIBUTE1516EDEFINITION_
10
11
// A simple container class for an attribute update event.
12
13
#include <map>
14
#include <string>
15
#include <RTI/RTI1516.h>
16
#include <RTI/RTIambassadorFactory.h>
17
#include <iostream>
18
19
using namespace
rti1516e;
20
21
// An attributeUpdateEvent object encapsulates the contents of a
22
// reflectattributeupdates callback. Note, that not all contents of the
23
// callback are stored, only those required for our specific application.
24
25
// That information can then be stored and later retrieved to be processed.
26
class
attributeUpdateEvent
27
{
28
public
:
29
attributeUpdateEvent
(
30
AttributeHandleValueMap
const
& ahvps,
31
VariableLengthData
const
& theUserSuppliedTag,
32
const
OrderType
sentOrder,
33
const
TransportationType
theType,
34
LogicalTime
const
& fedTime,
35
const
SupplementalReflectInfo
theReflectInfo );
36
attributeUpdateEvent
(
37
AttributeHandleValueMap
const
& ahvps,
38
VariableLengthData
const
& theUserSuppliedTag,
39
const
OrderType
sentOrder,
40
const
TransportationType
theType,
41
const
SupplementalReflectInfo
theReflectInfo );
42
43
~
attributeUpdateEvent
();
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
const
SupplementalReflectInfo
getReflectInfo();
52
53
private
:
54
55
std::map<AttributeHandle, std::string>
myAhvps
;
56
std::string myFedTime;
57
std::string myTag;
58
MessageRetractionHandle
myRetractionHandle
;
59
SupplementalReflectInfo
myReflectInfo
;
60
61
};
62
63
#endif // #define _ATTRIBUTE1516DEFINITION_
64
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
)