MAK RTIspy API Documentation for HLA 1516
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
hlaBounce
objParams1516e.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: .h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef ObjectParams1516e_H_
10
#define ObjectParams1516e_H_
11
12
#include "
ballData.h
"
13
14
class
ObjectParams1516e
:
public
ObjectParams
15
{
16
public
:
17
18
ObjectParams1516e
() :
ObjectParams
(),
myInScope
(true) {};
19
virtual
~ObjectParams1516e
() {};
20
21
// Get a unique ID for this object based on the object handle
22
virtual
const
std::wstring&
id
()
const
;
23
24
// Get the object instance name
25
virtual
const
std::wstring&
name
()
const
;
26
27
// Accessors and mutators
28
const
rti1516e::ObjectClassHandle&
classHandle
()
const
;
29
void
setClassHandle
(
const
rti1516e::ObjectClassHandle& handle);
30
31
const
rti1516e::ObjectInstanceHandle&
instanceHandle
()
const
;
32
void
setInstanceHandle
(
const
rti1516e::ObjectInstanceHandle& handle);
33
34
const
rti1516e::RegionHandle&
regionHandle
()
const
;
35
void
setRegionHandle
(
const
rti1516e::RegionHandle& handle);
36
37
bool
isInScope
()
const
;
38
void
setIsInScope
(
bool
inScope);
39
40
void
setInstanceName
(
const
std::wstring& objName);
41
42
protected
:
43
44
rti1516e::ObjectClassHandle
myClassHandle
;
45
rti1516e::ObjectInstanceHandle
myInstanceHandle
;
46
rti1516e::RegionHandle
myRegionHandle
;
47
bool
myInScope
;
48
std::wstring
myInstanceHandleString
;
49
std::wstring
myInstanceName
;
50
};
51
52
inline
const
std::wstring&
ObjectParams1516e::id
()
const
53
{
54
return
myInstanceHandleString
;
55
}
56
57
inline
const
std::wstring&
ObjectParams1516e::name
()
const
58
{
59
return
myInstanceName
;
60
}
61
62
inline
const
rti1516e::ObjectClassHandle&
ObjectParams1516e::classHandle
()
const
63
{
64
return
myClassHandle
;
65
}
66
67
inline
void
ObjectParams1516e::setClassHandle
(
const
rti1516e::ObjectClassHandle& handle)
68
{
69
myClassHandle
= handle;
70
}
71
72
inline
const
rti1516e::ObjectInstanceHandle&
ObjectParams1516e::instanceHandle
()
const
73
{
74
return
myInstanceHandle
;
75
}
76
77
inline
void
ObjectParams1516e::setInstanceHandle
(
const
rti1516e::ObjectInstanceHandle& handle)
78
{
79
myInstanceHandle
= handle;
80
myInstanceHandleString
=
myInstanceHandle
.toString();
81
}
82
83
inline
const
rti1516e::RegionHandle&
ObjectParams1516e::regionHandle
()
const
84
{
85
return
myRegionHandle
;
86
}
87
88
inline
void
ObjectParams1516e::setRegionHandle
(
const
rti1516e::RegionHandle& handle)
89
{
90
myRegionHandle
= handle;
91
}
92
93
inline
bool
ObjectParams1516e::isInScope
()
const
94
{
95
return
myInScope
;
96
}
97
98
inline
void
ObjectParams1516e::setIsInScope
(
bool
inScope)
99
{
100
myInScope
= inScope;
101
}
102
103
inline
void
ObjectParams1516e::setInstanceName
(
const
std::wstring& objName)
104
{
105
myInstanceName
= objName;
106
}
107
108
#endif
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
)