#include <object.h>
Public Types | |
typedef detail::NonCopyable | BaseType |
typedef SafeObject | ThisType |
Public Member Functions | |
const Context * | context (void) const |
Context * | context (void) |
bool | isNull (void) const |
bool | isValid (void) const |
GLuint | name (void) const |
SafeObject (void) | |
Type | type (void) const |
virtual | ~SafeObject (void) |
Protected Member Functions | |
const ObjectPtr & | object (void) const |
ObjectPtr & | object (void) |
SafeObject (const ObjectPtr &object) | |
Private Attributes | |
ObjectPtr | m_object |
Friends | |
class | BoundObject |
class | Context |
Reimplemented from glw::detail::NonCopyable.
Reimplemented in glw::SafeProgram, glw::SafeFramebuffer, glw::SafeBuffer, glw::SafeTexture2D, glw::SafeTextureCube, glw::SafeShader, glw::SafeRenderbuffer, glw::SafeTexture, glw::SafeRenderable, glw::SafeFragmentShader, glw::SafeGeometryShader, and glw::SafeVertexShader.
typedef SafeObject glw::SafeObject::ThisType |
Reimplemented from glw::detail::NonCopyable.
Reimplemented in glw::SafeProgram, glw::SafeFramebuffer, glw::SafeBuffer, glw::SafeTexture2D, glw::SafeTextureCube, glw::SafeShader, glw::SafeRenderbuffer, glw::SafeTexture, glw::SafeRenderable, glw::SafeFragmentShader, glw::SafeGeometryShader, and glw::SafeVertexShader.
glw::SafeObject::SafeObject | ( | void | ) | [inline] |
virtual glw::SafeObject::~SafeObject | ( | void | ) | [inline, virtual] |
glw::SafeObject::SafeObject | ( | const ObjectPtr & | object | ) | [inline, protected] |
const Context* glw::SafeObject::context | ( | void | ) | const [inline] |
Context* glw::SafeObject::context | ( | void | ) | [inline] |
bool glw::SafeObject::isNull | ( | void | ) | const [inline] |
bool glw::SafeObject::isValid | ( | void | ) | const [inline] |
GLuint glw::SafeObject::name | ( | void | ) | const [inline] |
const ObjectPtr& glw::SafeObject::object | ( | void | ) | const [inline, protected] |
ObjectPtr& glw::SafeObject::object | ( | void | ) | [inline, protected] |
Type glw::SafeObject::type | ( | void | ) | const [inline] |
friend class BoundObject [friend] |
friend class Context [friend] |
ObjectPtr glw::SafeObject::m_object [private] |