12#ifndef ROOT_TNotifyLink
13#define ROOT_TNotifyLink
49 current->fPrevious =
nullptr;
50 current->fNext =
nullptr;
55 template <
class Notifier>
60 fNext = notifier.GetNotify();
62 link->fPrevious =
this;
64 notifier.SetNotify(
this);
67 template <
class Notifier>
72 if (notifier.GetNotify() ==
this) {
73 R__ASSERT(
fPrevious ==
nullptr &&
"The TNotifyLink head node should not have a previous element.");
74 notifier.SetNotify(
fNext);
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
TNotifyLinkBase * fPrevious
void RemoveLink(Notifier ¬ifier)
void PrependLink(Notifier ¬ifier)
void Clear(Option_t *="") override
Links multiple listeners to be notified on TChain file changes.
Bool_t Notify() override
This method must be overridden to handle object notification.
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.