Honeycomb  0.1
Component-Model Framework
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
honey::ComRegistry Class Reference

Holds global list of all component types. More...

#include <Component.h>

Classes

class  Type
 Component type. More...
 

Public Types

typedef Type::DepNode DepNode
 Component type dep node. Type name is used as key. More...
 
typedef DepGraph< DepNodeDepGraph
 

Public Member Functions

template<class Com >
void reg ()
 Register a component type. More...
 
Componentcreate (const Id &type) const
 Create a component from a type. More...
 
Typetype (const Id &id) const
 Get component type with id. More...
 
const DepGraphdepGraph () const
 Get dependency graph for all component types. More...
 

Static Public Member Functions

static mt_global (ComRegistry, inst,)
 Get singleton. More...
 

Friends

class ComObject
 

Detailed Description

Holds global list of all component types.

Member Typedef Documentation

typedef Type::DepNode honey::ComRegistry::DepNode

Component type dep node. Type name is used as key.

Member Function Documentation

Component& honey::ComRegistry::create ( const Id type) const
inline

Create a component from a type.

const DepGraph& honey::ComRegistry::depGraph ( ) const
inline

Get dependency graph for all component types.

static honey::ComRegistry::mt_global ( ComRegistry  ,
inst   
)
static

Get singleton.

template<class Com >
void honey::ComRegistry::reg ( )
inline

Register a component type.

Type& honey::ComRegistry::type ( const Id id) const
inline

Get component type with id.

Friends And Related Function Documentation

friend class ComObject
friend

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