|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TNotifyLink
13 #define ROOT_TNotifyLink
48 current->fPrevious =
nullptr;
49 current->fNext =
nullptr;
54 template <
class Notifier>
58 fNext = notifier.GetNotify();
60 link->fPrevious =
this;
62 notifier.SetNotify(
this);
65 template <
class Notifier>
69 if (notifier.GetNotify() ==
this) {
70 R__ASSERT(
fPrevious ==
nullptr &&
"The TNotifyLink head node should not have a previous element.");
71 notifier.SetNotify(
fNext);
Links multiple listeners to be notified on TChain file changes.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
Bool_t Notify() override
This method must be overridden to handle object notification.
void PrependLink(Notifier ¬ifier)
TNotifyLinkBase * fPrevious
Type
enumeration specifying the integration types.
ClassDefOverride(TNotifyLink, 0)
void RemoveLink(Notifier ¬ifier)
virtual Bool_t Notify()
This method must be overridden to handle object notification.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
TNotifyLink(Type *current)
Mother of all ROOT objects.
#define ClassDef(name, id)
void Clear(Option_t *="")