Wallaroo  0.8
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
wallaroo::Class< void, void > Class Template Reference

#include <class.h>

Public Types

typedef cxx0x::shared_ptr< PartPtr
 
typedef cxx0x::function< Ptr() > FactoryMethod
 

Public Member Functions

Ptr NewInstance () const
 

Static Public Member Functions

static Class ForName (const std::string &name)
 

Friends

template<class T , class T1 , class T2 >
class Registration
 
class Plugin
 

Detailed Description

template<>
class wallaroo::Class< void, void >

This is the description of a class derived from wallaroo::Part having a default constructor. The class provides a method to get an instance of the described class. It also provides a static registry containing all the instances of this class, and methods to register and retrieve them.

Member Typedef Documentation

typedef cxx0x::function< Ptr() > wallaroo::Class< void, void >::FactoryMethod
typedef cxx0x::shared_ptr< Part > wallaroo::Class< void, void >::Ptr

Member Function Documentation

static Class wallaroo::Class< void, void >::ForName ( const std::string &  name)
inlinestatic

Return the Class< void, void > registered with the name name.

Ptr wallaroo::Class< void, void >::NewInstance ( ) const
inline

Create an instance of the class described by this object.

Returns
a shared_ptr to the new instance (or the empty shared_ptr if the descriptor is not valid)

Friends And Related Function Documentation

friend class Plugin
friend
template<class T , class T1 , class T2 >
friend class Registration
friend

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