template <typename OwnableT, typename TypeInfoT>

class Ownable

Defined at line 22 of file ../../src/ui/lib/escher/base/ownable.h

An Ownable may optionally have an Owner; when |owner_| is non-null it is said

to be "owned", otherwise it is "unowned". If an Ownable is unowned when its

ref-count becomes zero, it is immediately destroyed. Otherwise, its Owner

becomes responsible for the lifecycle of the Ownable. Different owners will

implement different strategies, e.g. one might defer destruction until a safe

time, while another might recycle the object by returning it to a pool.

Public Methods

void ~Ownable<OwnableT, TypeInfoT> ()

Defined at line 26 of file ../../src/ui/lib/escher/base/ownable.h

Protected Methods

void Ownable<OwnableT, TypeInfoT> ()

Defined at line 33 of file ../../src/ui/lib/escher/base/ownable.h

Owner<OwnableT, TypeInfoT> * owner ()

Defined at line 36 of file ../../src/ui/lib/escher/base/ownable.h