ctimer.hxx
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef controlctimer_hxx
00021 #define controlctimer_hxx
00022
00023 #include <ccontrol.hxx>
00024 #include <stdobject.h>
00025
00026 namespace control {
00027
00031 class ctimer : public ccontrol
00032 {
00033 public:
00034 ctimer(const std::string& nameid, const sigc::slot< bool >& exec_hook);
00035
00036 ctimer();
00037
00038 virtual ~ctimer();
00039 bool pause();
00040 virtual bool start( unsigned long delay, bool once=false);
00041
00042 bool resume();
00043 void stop();
00044 virtual bool controller_loop();
00045
00046 protected:
00047 unsigned long _duration;
00048 bool _single_shot;
00049 };
00050
00051 }
00052
00053 #endif
API Documentation Generated by:
1.4.0
About the author |

Site started with trial version of DreamWeaver MX 2004 |
Finalizing with

|
Contact | ©2005, Serge Lussier ( Bretzel )