202 {
if (other && other->
isValid())
attach( (*other).container );}
221 return(
ilink ? (*ilink).next() : 0);
224 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 int operator==(const Notice &) const =0
Compare two Notices.
virtual ~NoticeTarget()
Destructs this NoticeTarget.
NoticeTarget(NoticeTarget &other)
Creates a "valid" NoticeTarget linked to the same NoticeSource as the other NoticeTarget.
Link< NoticeTarget * > * curIters
virtual uInt type() const =0
Return the identification number of the Notice type.
NoticeTarget()
Creates an unlinked, "invalid" NoticeTarget.
base class for notice originators
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()
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.