![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2009 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: DtInterestManagementLogic.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00008 00009 #pragma once 00010 #include <vrvCoreQt/vrvCoreQt.h> 00011 #include <vrvUtil/DtSignalConnectionManager.h> 00012 00013 namespace makVrv 00014 { 00015 class DtInterestManagementInterface; 00016 class DtPersistenceControlsInterface; 00017 class DtSettingsBackup; 00018 00021 class DT_DLL_VRVCOREQT DtInterestManagementLogic 00022 { 00023 public: 00024 DtInterestManagementLogic(DtDe& de, 00025 DtInterestManagementInterface* imInterface, 00026 DtPersistenceControlsInterface* tbInterface); 00027 00028 virtual ~DtInterestManagementLogic(); 00029 00030 void on_ddmRegionSizeChanged(int); 00031 void on_regionUpdateThresholdChanged(int); 00032 void on_altitudeThresholdEnabledChanged(bool); 00033 void on_altitudeThresholdChanged(int); 00034 00035 void on_import(); 00036 void on_importFilenameChosen(const std::string& name); 00037 void on_export(); 00038 void on_exportFilenameChosen(const std::string& name); 00039 00040 protected: 00041 void sendSettingsToGui(); 00042 00044 virtual void settingsRestored(const DtSettingsBackup*); 00045 00046 protected: 00047 DtDe& myDe; 00048 DtInterestManagementInterface& myInterestManagementInterface; 00049 DtPersistenceControlsInterface& myPersistantControlsInterface; 00050 00051 DtSignalConnectionManager myConnections; 00052 }; 00053 }