ROOTANA
include
TPeriodicClass.hxx
Go to the documentation of this file.
1
#ifndef TPeriodicClass_hxx_seen
2
#define TPeriodicClass_hxx_seen
3
4
#include <TTimer.h>
5
6
#include <stdio.h>
7
8
double
GetTimeSec
();
9
10
11
class
TPeriodicClass
:
public
TTimer
12
{
13
public
:
14
typedef
void (*
TimerHandler
)(void);
15
16
int
fPeriod_msec
;
17
TimerHandler
fHandler
;
18
double
fLastTime
;
19
20
TPeriodicClass
(
int
period_msec,
TimerHandler
handler);
21
22
Bool_t
Notify
();
23
24
~TPeriodicClass
()
25
{
26
TurnOff();
27
}
28
};
29
30
31
#endif
GetTimeSec
double GetTimeSec()
Definition:
TPeriodicClass.cxx:6
TPeriodicClass
Definition:
TPeriodicClass.hxx:12
TPeriodicClass::fHandler
TimerHandler fHandler
Definition:
TPeriodicClass.hxx:17
TPeriodicClass::Notify
Bool_t Notify()
Definition:
TPeriodicClass.cxx:22
TPeriodicClass::fPeriod_msec
int fPeriod_msec
Definition:
TPeriodicClass.hxx:16
TPeriodicClass::TPeriodicClass
TPeriodicClass(int period_msec, TimerHandler handler)
Definition:
TPeriodicClass.cxx:13
TPeriodicClass::TimerHandler
void(* TimerHandler)(void)
Definition:
TPeriodicClass.hxx:14
TPeriodicClass::fLastTime
double fLastTime
Definition:
TPeriodicClass.hxx:18
TPeriodicClass::~TPeriodicClass
~TPeriodicClass()
Definition:
TPeriodicClass.hxx:24
TTimer
Generated on Sat Nov 23 2024 05:01:03 for ROOTANA by
1.9.1