|
ROOT
Reference Guide |
|
Go to the documentation of this file.
99 void *receiver,
const char *method);
Abstract base class for handling system events.
void SetObject(TObject *object)
Set the object to be notified at time out.
const char * Data() const
virtual void Start(Long_t milliSec=-1, Bool_t singleShot=kFALSE)
Starts the timer with a milliSec timeout.
Bool_t IsInterruptingSyscalls() const
Bool_t CheckTimer(const TTime &now)
Check if timer timed out.
virtual void TurnOff()
Remove timer from system timer list.
Bool_t HasTimedOut() const
Handles synchronous and a-synchronous timer events.
void SetCommand(const char *command)
Set the interpreter command to be executed at time out.
TTimer(const TTimer &)=delete
Basic time type with millisecond precision.
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.
void SetTime(Long_t milliSec)
TTimer & operator=(const TTimer &)=delete
Mother of all ROOT objects.
#define ClassDef(name, id)
virtual Bool_t Notify()
Notify when timer times out.
void SetTimerID(UInt_t id=0)
virtual void TurnOn()
Add the timer to the system timer list.
void Reset()
Reset the timer.
void SetInterruptSyscalls(Bool_t set=kTRUE)
When the argument is true the a-synchronous timer (SIGALRM) signal handler is set so that interrupted...
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
const char * GetCommand() const