globjects
2.0.0.690708773bba
Strict OpenGL objects wrapper.
|
#include <globjects/include/globjects/NamedString.h>
Public Member Functions | |
NamedString (const std::string &name, AbstractStringSource *source) | |
NamedString (const std::string &name, AbstractStringSource *source, gl::GLenum type) | |
virtual | ~NamedString () |
const std::string & | name () const |
std::string | string () const |
gl::GLenum | type () const |
AbstractStringSource * | stringSource () const |
gl::GLint | getParameter (gl::GLenum pname) const |
virtual void | notifyChanged (const Changeable *changeable) override |
Static Public Member Functions | |
static bool | isNamedString (const std::string &name) |
static NamedString * | getFromRegistry (const std::string &name) |
Static Public Member Functions inherited from globjects::Instantiator< NamedString > | |
static std::unique_ptr< NamedString > | create (Args &&...args) |
static std::unique_ptr< NamedString > | fromId (gl::GLuint id, Args &&...args) |
Protected Member Functions | |
void | updateString () |
void | createNamedString () |
void | deleteNamedString () |
void | registerNamedString () |
void | deregisterNamedString () |
Protected Member Functions inherited from globjects::ChangeListener | |
void | addSubject (Changeable *subject) |
virtual void | removeSubject (Changeable *subject) |
virtual | ~ChangeListener () |
Static Protected Member Functions | |
static bool | hasNativeSupport () |
Static Protected Member Functions inherited from globjects::Instantiator< NamedString > | |
static std::unique_ptr< NamedString > | create (Args &&...args) |
static std::unique_ptr< NamedString > | fromId (gl::GLuint id, Args &&...args) |
Protected Attributes | |
std::string | m_name |
AbstractStringSource * | m_source |
gl::GLenum | m_type |
Protected Attributes inherited from globjects::ChangeListener | |
std::set< Changeable * > | m_subjects |
globjects::NamedString::NamedString | ( | const std::string & | name, |
AbstractStringSource * | source | ||
) |
globjects::NamedString::NamedString | ( | const std::string & | name, |
AbstractStringSource * | source, | ||
gl::GLenum | type | ||
) |
|
virtual |
|
static |
|
static |
const std::string& globjects::NamedString::name | ( | ) | const |
std::string globjects::NamedString::string | ( | ) | const |
gl::GLenum globjects::NamedString::type | ( | ) | const |
AbstractStringSource* globjects::NamedString::stringSource | ( | ) | const |
gl::GLint globjects::NamedString::getParameter | ( | gl::GLenum | pname | ) | const |
|
overridevirtual |
Reimplemented from globjects::ChangeListener.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |