source:
trunk/MagicSoft/Cosy/base/MTimeout.h@
6412
Last change on this file since 6412 was 2518, checked in by , 21 years ago | |
---|---|
File size: 368 bytes |
Line | |
---|---|
1 | #ifndef COSY_MTimeout |
2 | #define COSY_MTimeout |
3 | |
4 | //#include <TTimer.h> |
5 | |
6 | class MTimeout// : public TTimer |
7 | { |
8 | /* |
9 | Bool_t Notify() |
10 | { |
11 | TurnOff(); // remove from system list |
12 | return kFALSE; |
13 | } |
14 | */ |
15 | unsigned long fTimeout; |
16 | |
17 | public: |
18 | MTimeout(unsigned long ms=500); |
19 | |
20 | bool HasTimedOut(); |
21 | |
22 | void Start(unsigned long ms=500); |
23 | }; |
24 | |
25 | |
26 | #endif |
Note:
See TracBrowser
for help on using the repository browser.