iso::base::Notifier Class Reference

abstract notifier class More...

#include <iso_base_notifier.h>

List of all members.

Public Member Functions

 Notifier ()
 default constructor
virtual ~Notifier ()
 destructor
void registerListener (Listener *pListener)
 register listener
void unregisterListener (Listener *pListener)
 unregister listener
virtual void notifyListeners ()
 notify listeners

Protected Attributes

QVector< Listener * > mListeners


Detailed Description

abstract notifier class

class

complement to the listener class. Notifies any registered listeners that is has changed.

Created by Daniel Bisig on 7/22/07.


Constructor & Destructor Documentation

Notifier::Notifier (  ) 

default constructor

Notifier::~Notifier (  )  [virtual]

destructor


Member Function Documentation

void Notifier::registerListener ( Listener pListener  ) 

register listener

Parameters:
pListener listener to register
this method doesn't check whether a listener is registered several times

void Notifier::unregisterListener ( Listener pListener  ) 

unregister listener

Parameters:
pListener listener to unregister

void Notifier::notifyListeners (  )  [virtual]

notify listeners


Member Data Documentation

QVector<Listener*> iso::base::Notifier::mListeners [protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 13:50:00 2011 for iso_base by  doxygen 1.5.1