globjects  1.1.0.2f0c753c8647
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::Referenced globjects::Changeable globjects::HeapOnly

Public Member Functions

 CompositeStringSource ()
 
 CompositeStringSource (const std::vector< AbstractStringSource * > &sources)
 
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::Referenced
 Referenced ()
 
void ref () const
 
void unref () const
 
int refCounter () const
 
- Public Member Functions inherited from globjects::HeapOnly
 HeapOnly ()
 
void destroy () const
 
- Public Member Functions inherited from globjects::Changeable
void changed () const
 
void registerListener (ChangeListener *listener)
 
void deregisterListener (ChangeListener *listener)
 

Protected Member Functions

virtual ~CompositeStringSource ()
 
virtual void notifyChanged (const Changeable *changeable) override
 
void update () const
 
- Protected Member Functions inherited from globjects::Referenced
virtual ~Referenced ()
 
- Protected Member Functions inherited from globjects::HeapOnly
virtual ~HeapOnly ()
 
- Protected Member Functions inherited from globjects::ChangeListener
virtual ~ChangeListener ()
 

Protected Attributes

std::vector< ref_ptr< AbstractStringSource > > m_sources
 
bool m_dirty
 
std::vector< std::string > m_strings
 

Constructor & Destructor Documentation

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

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<ref_ptr<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: