![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtDateAndTimeLogic.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtDateAndTimeLogic_H_ 00014 #define DtDateAndTimeLogic_H_ 00015 00016 #include <vrvCoreQt/vrvCoreQt.h> 00017 #include <vrvUtil/DtSignalConnectionManager.h> 00018 00019 namespace makVrv 00020 { 00021 class DtDateAndTimeInterface; 00022 class DtDe; 00023 00026 class DT_DLL_VRVCOREQT DtDateAndTimeLogic 00027 { 00028 public: 00030 DtDateAndTimeLogic(DtDe& de, DtDateAndTimeInterface* iface); 00031 00033 ~DtDateAndTimeLogic(); 00034 00035 protected: 00036 00038 void onUpdateTimeRequested(); 00039 00041 void onChangeTime(int hour,int minutes,double seconds); 00042 00044 void onChangeTimeScale(double timeScale); 00045 00047 void onChangeDate( int year,int month,double day ); 00048 00049 protected: 00050 DtDe& myDe; 00051 DtDateAndTimeInterface* myInterface; 00052 DtSignalConnectionManager mySignals; 00053 }; 00054 } 00055 00056 #endif 00057