VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
environmentObjectRepository.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*******************************************************************************/
5
6
9
10
#ifndef environmentObjectRepository_H_
11
#define environmentObjectRepository_H_
12
13
#include "
stateRepository.h
"
14
#include "
syntheticEnvironmentObjectType.h
"
15
16
#if DtHLA
17
class
DT_DLL_VL
DtHlaObjectManager
;
18
#else
19
class
DT_DLL_VL
DtDisObjectManager;
20
#endif
21
22
//class DtEnvironmentObjectRepository
24
//Instances of DtEnvironmentObjectRepository are used to maintain
25
//state information needed by environment entities
26
class
DT_DLL_VL
DtEnvironmentObjectRepository
:
public
DtStateRepository
27
{
28
public
:
29
30
//default constructor
31
DtEnvironmentObjectRepository
();
32
33
//destructor
34
virtual
~
DtEnvironmentObjectRepository
();
35
36
//copy constructor
37
DtEnvironmentObjectRepository
(
const
DtEnvironmentObjectRepository
& orig);
38
39
//assignment operator
40
DtEnvironmentObjectRepository
&
operator=
(
41
const
DtEnvironmentObjectRepository
& orig);
42
44
virtual
DtStateRepository
*
clone
(
bool
copy)
const
;
45
46
static
DtEnvironmentObjectRepository
* create();
47
49
virtual
void
setObjectId(
const
DtEntityIdentifier
& identifier);
50
virtual
const
DtEntityIdentifier
& objectId()
const
;
51
53
virtual
void
setReferencedObjectId(
const
DtGlobalObjectDesignator
& rtiObject);
54
virtual
const
DtGlobalObjectDesignator
& referencedObjectId()
const
;
55
57
virtual
void
setForceId(
const
DtForceType
value);
58
virtual
DtForceType
forceId()
const
;
59
61
virtual
void
setObjectType(
const
DtSyntheticEnvironmentObjectType
& type);
62
virtual
const
DtSyntheticEnvironmentObjectType
& objectType()
const
;
63
65
virtual
void
printData
()
const
;
66
68
virtual
void
printDataToStream
(std::ostream& stream)
const
;
69
70
protected
:
71
72
DtEntityIdentifier
myObjectId
;
73
DtGlobalObjectDesignator
myReferencedObjId
;
74
DtForceType
myForceId
;
75
DtSyntheticEnvironmentObjectType
myObjectType
;
76
};
77
78
#endif //envObjectSR_H_
79
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)