VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtSharedInterestManagementSettings.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
14
#include <
vrvCore/DtSharedSettings.h
>
15
#include <
vrvCore/DtRecordSettingsBackup.h
>
16
17
#include <
makArchives/DtInterestManagementRecord.h
>
18
19
#include <string>
20
#include <vector>
21
22
namespace
makVrv
23
{
24
25
class
DtSharedInterestManagementSettings
;
26
27
typedef
DtSharedRecordSettingsBackup
<
DtSharedInterestManagementSettings
,
28
makArchives::DtInterestManagementRecord
>
DtInterestManagementSettingsBackup
;
29
33
class
DT_DLL_VRVCORE
DtSharedInterestManagementSettings
34
:
public
DtSharedSettings
35
{
36
public
:
37
39
virtual
~
DtSharedInterestManagementSettings
();
40
43
44
void
setDdmRegionSize(
int
size );
45
int
ddmRegionSize()
const
;
46
47
void
setRegionUpdateThreshold(
int
percentage );
48
int
regionUpdateThreshold()
const
;
49
50
void
setAltitudeThresholdEnabled(
bool
enabled );
51
bool
altitudeThresholdEnabled()
const
;
52
53
void
setAltitudeThreshold(
int
threshold );
54
int
altitudeThreshold()
const
;
55
57
59
void
setFromRecord(
const
makArchives::DtInterestManagementRecord
& rec );
60
62
void
getRecord(
makArchives::DtInterestManagementRecord
& rec )
const
;
63
65
virtual
const
DtInterestManagementSettingsBackup
* settingsBackup()
const
;
66
68
virtual
DtInterestManagementSettingsBackup
* settingsBackup();
69
71
virtual
void
backup();
72
74
static
std::string className();
75
76
protected
:
77
79
friend
class
DtReadSettingsLock
<
DtSharedInterestManagementSettings
>;
81
friend
class
DtWriteSettingsLock
<
DtSharedInterestManagementSettings
>;
82
84
DtSharedInterestManagementSettings
(
DtSharedSettingsManager
& manager );
85
86
protected
:
87
88
int
myDdmRegionSize
;
89
int
myRegionUpdateThreshold
;
90
bool
myAltitudeThresholdEnabled
;
91
int
myAltitudeThreshold
;
92
93
DtInterestManagementSettingsBackup
*
mySettingsBackup
;
94
95
};
96
97
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)