abstract base class for notices More...
#include <Notice.h>
Public Member Functions | |
Notice () | |
virtual | ~Notice () |
virtual uInt | type () const =0 |
Return the identification number of the Notice type. | |
virtual int | operator== (const Notice &) const =0 |
Compare two Notice s. |
abstract base class for notices
Public interface
A Notice
is the piece of information passed around between a NoticeSource
and a NoticeTarget
. This abstract base class is only a skeleton intended to be derived from. It does not contain any relevant information -- that must be added by the derived classes --, but it enforces derived classes to implement the comparison operator ==
and the function type()
.
ListNotice , derived from Notice
, is the notification which is passed between List and ListIter to keep cursors and container in sync.
Definition at line 62 of file Notice.h.
virtual casacore::Notice::~Notice | ( | ) | [virtual] |
virtual int casacore::Notice::operator== | ( | const Notice & | ) | const [pure virtual] |
Compare two Notice
s.
virtual uInt casacore::Notice::type | ( | ) | const [pure virtual] |
Return the identification number of the Notice
type.
Implemented in casacore::ListNotice< t >, casacore::OrderedMapNotice< t, v >, and casacore::RecordNotice.
Referenced by casacore::OrderedMapNotice< t, v >::operator==().