![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtEnvironmentControlAreaLogic.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 00018 class DtSimulationAddress; 00019 00020 namespace makVrv 00021 { 00022 class DtDe; 00023 } 00024 00025 namespace makVrf 00026 { 00027 class DtEnvironmentControlAreaInterface; 00028 00029 class DT_DLL_VRFGUICOREQT DtEnvironmentControlAreaLogic 00030 { 00031 00032 public: 00033 00035 static DtEnvironmentControlAreaLogic* create(makVrv::DtDe& de, 00036 DtEnvironmentControlAreaInterface* iFace ); 00037 00039 virtual ~DtEnvironmentControlAreaLogic(); 00040 00041 protected: 00042 00044 DtEnvironmentControlAreaLogic(makVrv::DtDe& de, DtEnvironmentControlAreaInterface* iFace ); 00045 00046 protected: 00047 00048 virtual void slot_timeOfDayChanged(int hours, int mins, int secs); 00049 virtual void slot_environmentSettingsRequested(); 00050 virtual void slot_onTick(); 00051 00052 protected: 00053 00054 makVrv::DtDe& myDe; 00055 DtEnvironmentControlAreaInterface* myInterface; 00056 double myTimeOfDay; 00057 int myLastTime; 00058 double myLastSimTime; 00059 }; 00060 } 00061