Poco::MetaObject< C, B > Class Template Reference

#include <MetaObject.h>

Inheritance diagram for Poco::MetaObject< C, B >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool canCreate () const
B * create () const
B & instance () const
 MetaObject (const char *name)
 ~MetaObject ()

Detailed Description

template<class C, class B>
class Poco::MetaObject< C, B >

A MetaObject stores some information about a C++ class. The MetaObject class is used by the Manifest class. A MetaObject can also be used as an object factory for its class.

Definition at line 147 of file MetaObject.h.


Constructor & Destructor Documentation

template<class C , class B >
Poco::MetaObject< C, B >::MetaObject ( const char *  name  )  [inline]

Definition at line 155 of file MetaObject.h.

template<class C , class B >
Poco::MetaObject< C, B >::~MetaObject (  )  [inline]

Definition at line 159 of file MetaObject.h.


Member Function Documentation

template<class C , class B >
bool Poco::MetaObject< C, B >::canCreate (  )  const [inline, virtual]

Returns a reference to the only instance of the class. Used for singletons only.

Implements Poco::AbstractMetaObject< B >.

Definition at line 173 of file MetaObject.h.

template<class C , class B >
B* Poco::MetaObject< C, B >::create (  )  const [inline, virtual]

Implements Poco::AbstractMetaObject< B >.

Definition at line 163 of file MetaObject.h.

template<class C , class B >
B& Poco::MetaObject< C, B >::instance (  )  const [inline, virtual]

Create a new instance of a class. Cannot be used for singletons.

Implements Poco::AbstractMetaObject< B >.

Definition at line 168 of file MetaObject.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pluginlib
Author(s): Tully Foote and Eitan Marder-Eppstein
autogenerated on Fri Jan 11 11:39:02 2013