globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
globjects::Changeable Class Reference

Superclass of all objects that want others to signal that they have changed. More...

#include <globjects/include/globjects/base/Changeable.h>

Inheritance diagram for globjects::Changeable:
globjects::AbstractStringSource globjects::Program globjects::ProgramBinary globjects::Shader globjects::CompositeStringSource globjects::File globjects::StaticStringSource globjects::StringSourceDecorator globjects::StringTemplate

Public Member Functions

void changed () const
 
void registerListener (ChangeListener *listener)
 
void deregisterListener (ChangeListener *listener)
 

Detailed Description

Superclass of all objects that want others to signal that they have changed.

It implements the observer pattern. Listeners to the subclass change can be registered using registerListener() and deregistered using deregisterListener().

See also
ChangeListener

Member Function Documentation

void globjects::Changeable::changed ( ) const
void globjects::Changeable::registerListener ( ChangeListener listener)
void globjects::Changeable::deregisterListener ( ChangeListener listener)

The documentation for this class was generated from the following file: