A context holds onto a reference counted profile object. More...
#include <Context.hpp>
Public Member Functions | |
| void | destroy () |
| Deletes this Context object, which decrements the refcount for the underlying context data. | |
| virtual | ~Context () |
| Deprecated destructor. | |
| virtual Context * | clone () const =0 |
| Returns a new Context object which increments the refcount of the internal context information. | |
| virtual ContextImpl * | getImpl ()=0 |
| virtual const ContextImpl * | getImpl () const =0 |
Static Public Member Functions | |
| static Context * | create () |
| Creates an all-new context with no shared state and a refcount of 1. | |
Protected Member Functions | |
| Context () | |
A context holds onto a reference counted profile object.
The Window class calls clone() on a context, so you can safely destroy a Context after making all the Windows you want.
No functions currently exist for this object.
| Berkelium::Context::Context | ( | ) | [protected] |
| virtual Berkelium::Context::~Context | ( | ) | [virtual] |
Deprecated destructor.
| virtual Context* Berkelium::Context::clone | ( | ) | const [pure virtual] |
Returns a new Context object which increments the refcount of the internal context information.
Called by Window::create.
| static Context* Berkelium::Context::create | ( | ) | [static] |
Creates an all-new context with no shared state and a refcount of 1.
| void Berkelium::Context::destroy | ( | ) |
Deletes this Context object, which decrements the refcount for the underlying context data.
| virtual const ContextImpl* Berkelium::Context::getImpl | ( | ) | const [pure virtual] |
| virtual ContextImpl* Berkelium::Context::getImpl | ( | ) | [pure virtual] |