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