Berkelium

Berkelium::Context Class Reference

A context holds onto a reference counted profile object. More...

#include <Context.hpp>

List of all members.

Public Member Functions

void destroy ()
 Deletes this Context object, which decrements the refcount for the underlying context data.
virtual ~Context ()
 Deprecated destructor.
virtual Contextclone () 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 Contextcreate ()
 Creates an all-new context with no shared state and a refcount of 1.

Protected Member Functions

 Context ()

Detailed Description

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.


Constructor & Destructor Documentation

Berkelium::Context::Context (  )  [protected]
virtual Berkelium::Context::~Context (  )  [virtual]

Deprecated destructor.

Deprecated:
destroy()

Member Function Documentation

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]

The documentation for this class was generated from the following file:

Documentation generated on 22 Nov 2013