199 {
if (other && other->
isValid())
attach( (*other).container );}
218 return(
ilink ? (*ilink).next() : 0);
221 return(
ilink ? (*ilink).next() : 0);
doubly linked list primitive
Link< NoticeTarget * > * ilink
abstract base class for notice receptors
void attach(NoticeSource *v)
Adds this NoticeTarget to the target list in the specified NoticeSource, so that it will receive all ...
virtual ~NoticeTarget()
Destructs this NoticeTarget.
NoticeTarget(NoticeTarget &other)
Creates a "valid" NoticeTarget linked to the same NoticeSource as the other NoticeTarget.
Link< NoticeTarget * > * curIters
NoticeTarget()
Creates an unlinked, "invalid" NoticeTarget.
base class for notice originators
virtual bool operator==(const Notice &) const =0
Compare two Notices.
Link< NoticeTarget * > * next()
Retrieves the next NoticeTarget in the target list of the associated NoticeSource.
void link(const NoticeTarget &other)
Links this NoticeTarget to the same NoticeSource as the other NoticeTarget.
NoticeTarget(NoticeSource *v)
Creates a "valid" NoticeTarget linked to the specified NoticeSource.
NoticeTarget(NoticeSource &v)
void invalidate()
Makes the current NoticeTarget "invalid".
bool Bool
Define the standard types used by Casacore.
abstract base class for notices
Bool isValid() const
Returns a boolean value telling whether this NoticeTarget is still "valid".
NoticeTarget(NoticeTarget *other)
void unlink()
Unlinks this NoticeTarget from its NoticeSource.
virtual void notify(const Notice &)=0
Hook through which NoticeTargets are notified (by NoticeSources).
const Link< NoticeTarget * > * next() const
Bool isAttached() const
Returns a boolean value telling whether this NoticeTarget is still attached to a NoticeSource or not...
void notify(const Notice ¬e)
Sends the note to all NoticeTargets in the target list.
Link< NoticeTarget * > *& head()