Skia
2DGraphicsLibrary
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkTRegistry< T > Class Template Reference

Template class that registers itself (in the constructor) into a linked-list and provides a function-pointer. More...

#include <SkTRegistry.h>

Inheritance diagram for SkTRegistry< T >:

Public Types

typedef T Factory
 

Public Member Functions

 SkTRegistry (T fact)
 
const SkTRegistrynext () const
 
const Factory & factory () const
 

Static Public Member Functions

static const SkTRegistryHead ()
 

Private Attributes

Factory fFact
 
SkTRegistryfChain
 

Static Private Attributes

static SkTRegistrygHead
 

Detailed Description

template<typename T>
class SkTRegistry< T >

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.


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