VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
rprOwnershipHandler.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2014 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtHLA
13
14
#include <
vl/defaultOwnershipHandler.h
>
15
#include <
vlpi/simulationAddress.h
>
16
22
class
DT_DLL_VL
DtRprOwnershipHandler
:
public
DtDefaultOwnershipHandler
23
{
24
public
:
25
30
DtRprOwnershipHandler
(
int
site,
int
app);
31
33
virtual
~
DtRprOwnershipHandler
();
34
36
virtual
DtOwnershipHandler
*
clone
()
const
;
37
39
DtRprOwnershipHandler
(
const
DtRprOwnershipHandler
& other);
40
42
DtRprOwnershipHandler
&
operator=
(
const
DtRprOwnershipHandler
& other);
43
45
inline
void
setSite(
int
site);
46
48
inline
int
site()
const
;
49
51
inline
void
setApplicationId(
int
app);
52
54
inline
int
applicationId()
const
;
55
56
virtual
bool
requestAttributeOwnershipRelease
(
57
const
RTI::AttributeHandleSet& candidateAttributes,
58
#
if
DtHLA_1516
59
const
RTI::VariableLengthData &theTag
60
#
else
61
const
char
* theTag
62
#endif
63
);
64
65
66
virtual
void
requestAttributeOwnershipAssumption
(
67
const
RTI::AttributeHandleSet& offeredAttributes,
68
#
if
DtHLA_1516
69
const
RTI::VariableLengthData &theTag
70
#
else
71
const
char
* theTag
72
#endif
73
);
74
75
76
protected
:
77
79
virtual
void
sendRPRAcknowledge(
bool
returnVal);
80
81
82
DtSimulationAddress
mySimulator
;
83
};
84
85
#endif //DtHLA
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)