Skia
2DGraphicsLibrary
|
Template class that registers itself (in the constructor) into a linked-list and provides a function-pointer. More...
#include <SkTRegistry.h>
Public Types | |
typedef T | Factory |
Public Member Functions | |
SkTRegistry (T fact) | |
const SkTRegistry * | next () const |
const Factory & | factory () const |
Static Public Member Functions | |
static const SkTRegistry * | Head () |
Private Attributes | |
Factory | fFact |
SkTRegistry * | fChain |
Static Private Attributes | |
static SkTRegistry * | gHead |
Template class that registers itself (in the constructor) into a linked-list and provides a function-pointer.
This can be used to auto-register a set of services, e.g. a set of image codecs.