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);
#define ClassDef(name, id)
TNotifyLinkBase * fPrevious
void RemoveLink(Notifier ¬ifier)
void PrependLink(Notifier ¬ifier)
void Clear(Option_t *="")
Links multiple listeners to be notified on TChain file changes.
Bool_t Notify() override
This method must be overridden to handle object notification.
ClassDefOverride(TNotifyLink, 0)
TNotifyLink(Type *current)
Mother of all ROOT objects.
virtual Bool_t Notify()
This method must be overridden to handle object notification.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
Type
enumeration specifying the integration types.