VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
16 
18 
19 #include <string>
20 #include <vector>
21 
22 namespace makVrv
23 {
24 
26 
29 
34  : public DtSharedSettings
35  {
36  public:
37 
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 const std::string& className();
75 
76  protected:
77 
82 
85 
86  protected:
87 
92 
94 
95  };
96 
97 }
bool myAltitudeThresholdEnabled
Definition: DtSharedInterestManagementSettings.h:90
a read settings lock on a setting object.
Definition: DtReadSettingsLock.h:51
Contains makArchives::DtInterestManagementRecord class.
voidpf void uLong size
Definition: ioapi.h:39
int myDdmRegionSize
Definition: DtSharedInterestManagementSettings.h:88
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:45
The base class for all shared settings.
Definition: DtSharedSettings.h:45
int myAltitudeThreshold
Definition: DtSharedInterestManagementSettings.h:91
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtSharedRecordSettingsBackup< DtSharedInterestManagementSettings, makArchives::DtInterestManagementRecord > DtInterestManagementSettingsBackup
Definition: DtSharedInterestManagementSettings.h:25
Contains the DtSharedSettings class declaration.
a write settings lock on a setting object.
Definition: DtWriteSettingsLock.h:50
DtInterestManagementSettingsBackup * mySettingsBackup
Definition: DtSharedInterestManagementSettings.h:93
int myRegionUpdateThreshold
Definition: DtSharedInterestManagementSettings.h:89
The makVrv::DtSharedRecordSettingsBackup is a templaced class that settings records will use in order...
Definition: DtRecordSettingsBackup.h:200
Record of interest management / DDM settings.
Definition: DtInterestManagementRecord.h:22
Object responsible for storing the settings regarding interest management (DDM).
Definition: DtSharedInterestManagementSettings.h:33
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)