54 class TSingleShotCleaner :
public TTimer {
59 virtual ~TSingleShotCleaner() { fGarbage->
Delete();
delete fGarbage; }
218 Connect(
this,
"Timeout()",
"TTimer",
this,
"TurnOff()");
220 Disconnect(
this,
"Timeout()",
this,
"TurnOff()");
244 Disconnect(
this,
"Timeout()",
this,
"TurnOff()");
257 void *receiver,
const char *method)
261 receiver_class, receiver, method);
263 static TSingleShotCleaner singleShotCleaner;
268 "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.
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.
static constexpr double ms
virtual void ResetTimer(TTimer *)
void SetCommand(const char *command)
Set the interpreter command to be executed at time out.
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.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
virtual void TurnOn()
Add the timer to the system timer list.
void SetTime(Long_t milliSec)