glv::Notifier Class Reference

Notifies one or more observers of state change. More...

#include <glv_observer_pattern.h>

Inheritance diagram for glv::Notifier:

glv::View glv::GLV glv::Group glv::Label glv::Plot glv::TextView glv::ValueWidget< Tv, Tm > glv::ValueWidget< glv::Array< bool >, bool > glv::ValueWidget< glv::Array< float >, float > glv::ValueWidget< glv::Values< bool >, bool > glv::ValueWidget< glv::Values< double >, double > glv::ValueWidget< glv::Values< float >, float > glv::ValueWidget< glv::Values< float, Dim >, float > glv::ValueWidget< V, bool > glv::ValueWidget< V, float >

List of all members.

Public Member Functions

void attach (callback cb, Update::t n, void *rcvr=0)
 Attach a new notification callback, type, and receiver.
void detach (callback cb, Update::t n, void *rcvr=0)
 Detach an existing notification callback, type, and receiver.
void notify (Update::t n, void *data=0)
 Notify observers of a specific update type.
template<class T>
void notify (Update::t n, const ChangedValue< T > &v)
 Notify observers of a specific update type.
int numObservers (Update::t n) const
 Returns number of observers for this update type.


Detailed Description

Notifies one or more observers of state change.
The documentation for this class was generated from the following file:

Generated on Thu Aug 12 23:55:16 2010 for GLV by  doxygen 1.5.5