globjects  2.0.0.690708773bba
Strict OpenGL objects wrapper.
globjects::CompositeStringSource Class Reference

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

Inheritance diagram for globjects::CompositeStringSource:
globjects::AbstractStringSource globjects::ChangeListener globjects::Instantiator< CompositeStringSource > globjects::Changeable

Public Member Functions

 CompositeStringSource ()
 
 CompositeStringSource (const std::vector< AbstractStringSource * > &sources)
 
virtual ~CompositeStringSource ()
 
void appendSource (AbstractStringSource *source)
 
virtual std::string string () const override
 
virtual std::vector< std::string > strings () const override
 
virtual void flattenInto (std::vector< const AbstractStringSource * > &vector) const override
 
virtual std::string shortInfo () const override
 
- Public Member Functions inherited from globjects::AbstractStringSource
std::vector< const AbstractStringSource * > flatten () const
 
- Public Member Functions inherited from globjects::Changeable
 Changeable ()
 
virtual ~Changeable ()
 
void changed () const
 
void registerListener (ChangeListener *listener)
 
void deregisterListener (ChangeListener *listener)
 

Protected Member Functions

virtual void notifyChanged (const Changeable *changeable) override
 
void update () const
 
- Protected Member Functions inherited from globjects::ChangeListener
void addSubject (Changeable *subject)
 
virtual void removeSubject (Changeable *subject)
 
virtual ~ChangeListener ()
 

Protected Attributes

std::vector< AbstractStringSource * > m_sources
 
bool m_dirty
 
std::vector< std::string > m_strings
 
- Protected Attributes inherited from globjects::Changeable
std::set< ChangeListener * > m_listeners
 
- Protected Attributes inherited from globjects::ChangeListener
std::set< Changeable * > m_subjects
 

Additional Inherited Members

- Static Public Member Functions inherited from globjects::Instantiator< CompositeStringSource >
static std::unique_ptr< CompositeStringSourcecreate (Args &&...args)
 
static std::unique_ptr< CompositeStringSourcefromId (gl::GLuint id, Args &&...args)
 
- Static Protected Member Functions inherited from globjects::Instantiator< CompositeStringSource >
static std::unique_ptr< CompositeStringSourcecreate (Args &&...args)
 
static std::unique_ptr< CompositeStringSourcefromId (gl::GLuint id, Args &&...args)
 

Constructor & Destructor Documentation

globjects::CompositeStringSource::CompositeStringSource ( )
globjects::CompositeStringSource::CompositeStringSource ( const std::vector< AbstractStringSource * > &  sources)
virtual globjects::CompositeStringSource::~CompositeStringSource ( )
virtual

Member Function Documentation

void globjects::CompositeStringSource::appendSource ( AbstractStringSource source)
virtual std::string globjects::CompositeStringSource::string ( ) const
overridevirtual
virtual std::vector<std::string> globjects::CompositeStringSource::strings ( ) const
overridevirtual

Reimplemented from globjects::AbstractStringSource.

virtual void globjects::CompositeStringSource::flattenInto ( std::vector< const AbstractStringSource * > &  vector) const
overridevirtual

Reimplemented from globjects::AbstractStringSource.

virtual std::string globjects::CompositeStringSource::shortInfo ( ) const
overridevirtual

Reimplemented from globjects::AbstractStringSource.

virtual void globjects::CompositeStringSource::notifyChanged ( const Changeable changeable)
overrideprotectedvirtual

Reimplemented from globjects::ChangeListener.

void globjects::CompositeStringSource::update ( ) const
protected

Member Data Documentation

std::vector<AbstractStringSource *> globjects::CompositeStringSource::m_sources
protected
bool globjects::CompositeStringSource::m_dirty
mutableprotected
std::vector<std::string> globjects::CompositeStringSource::m_strings
mutableprotected

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