216 Connect(
this,
"Timeout()",
"TTimer",
this,
"TurnOff()");
218 Disconnect(
this,
"Timeout()",
this,
"TurnOff()");
242 Disconnect(
this,
"Timeout()",
this,
"TurnOff()");
255 void *receiver,
const char *method)
259 receiver_class, receiver, method);
266 "TTimer", &singleShotCleaner,
"TurnOn()");
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
void Reset()
Reset the timer.
R__EXTERN void * gTQSender
void SetInterruptSyscalls(Bool_t set=kTRUE)
When the argument is true the a-synchronous timer (SIGALRM) signal handler is set so that interrupted...
static void SingleShot(Int_t milliSec, const char *receiver_class, void *receiver, const char *method)
This static function calls a slot after a given time interval.
virtual TTimer * RemoveTimer(TTimer *t)
Remove timer from list of system timers.
Basic time type with millisecond precision.
virtual void Start(Long_t milliSec=-1, Bool_t singleShot=kFALSE)
Starts the timer with a milliSec timeout.
virtual Bool_t HandleTimer(TTimer *timer)
Execute action in response of a timer timing out.
void Emit(const char *signal)
Acitvate signal without args.
virtual Bool_t Notify()
Notify when timer times out.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual TTime Now()
Get current time in milliseconds since 0:00 Jan 1 1995.
R__EXTERN TSystem * gSystem
virtual void TurnOff()
Remove timer from system timer list.
Handles synchronous and a-synchronous timer events.
Bool_t CheckTimer(const TTime &now)
Check if timer timed out.
void Reset(Detail::TBranchProxy *x)
virtual void ResetTimer(TTimer *)
void SetCommand(const char *command)
Set the interpreter command to be executed at time out.
virtual ~TSingleShotCleaner()
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
Mother of all ROOT objects.
virtual void Add(TObject *obj)
virtual void AddTimer(TTimer *t)
Add timer to list of system timers.
void SetObject(TObject *object)
Set the object to be notified at time out.
virtual void TurnOn()
Add the timer to the system timer list.
void SetTime(Long_t milliSec)