7#include <globjects/globjects_api.h>
26 virtual std::string
string()
const override;
27 virtual std::vector<std::string>
strings()
const override;
29 virtual void flattenInto(std::vector<const AbstractStringSource *> & vector)
const override;
40 std::vector<ref_ptr<AbstractStringSource>>
m_sources;
Superclass for all types of static and dynamic strings, e.g. for the use as Shader code.
Definition AbstractStringSource.h:26
Allows listening to any Changeable.
Definition ChangeListener.h:23
Superclass of all objects that want others to signal that they have changed.
Definition Changeable.h:23
Definition CompositeStringSource.h:19
virtual std::string shortInfo() const override
virtual void flattenInto(std::vector< const AbstractStringSource * > &vector) const override
std::vector< std::string > m_strings
Definition CompositeStringSource.h:43
virtual std::string string() const override
bool m_dirty
Definition CompositeStringSource.h:42
void appendSource(AbstractStringSource *source)
std::vector< ref_ptr< AbstractStringSource > > m_sources
Definition CompositeStringSource.h:40
virtual ~CompositeStringSource()
virtual void notifyChanged(const Changeable *changeable) override
virtual std::vector< std::string > strings() const override
CompositeStringSource(const std::vector< AbstractStringSource * > &sources)
Contains all the classes that wrap OpenGL functionality.