base class for notice originators More...
#include <Notice.h>
Public Member Functions | |
| NoticeSource () | |
| virtual | ~NoticeSource () |
| void | notify (const Notice ¬e) |
Sends the note to all NoticeTargets in the target list. | |
Private Member Functions | |
| Link< NoticeTarget * > *& | head () |
Private Attributes | |
| Link< NoticeTarget * > * | curIters |
Friends | |
| class | NoticeTarget |
base class for notice originators
Public interface
A NoticeSource maintains a list of all of the NoticeTargets which are interested in Notices from this NoticeSource. Its member function notify() sends the specified Notice to all the NoticeTargets in the list.
Classes which have many other dependent objects which need to be updated, should derive from this class.
List , the linked list class, is derived from NoticeSource. It mainly contains status information; all the manipulation functions are located in the ListIter classes. The linked list and its iterators communicate with each other via the notice system. List does not provide any further notice functionality; everything is taken care of by its base class NoticeSource.
Definition at line 102 of file Notice.h.
| virtual casacore::NoticeSource::~NoticeSource | ( | ) | [virtual] |
| Link<NoticeTarget*>*& casacore::NoticeSource::head | ( | ) | [inline, private] |
| void casacore::NoticeSource::notify | ( | const Notice & | note | ) |
Sends the note to all NoticeTargets in the target list.
friend class NoticeTarget [friend] |
Link<NoticeTarget*>* casacore::NoticeSource::curIters [private] |
1.6.1