Public Member Functions
class_loader::class_loader_private::MetaObject< C, B > Class Template Reference

The actual factory. C The derived class (the actual plugin) B The base class interface for the plugin. More...

#include <meta_object.h>

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

List of all members.

Public Member Functions

B * create () const
 The factory interface to generate an object. The object has type C in reality, though a pointer of the base class type is returned.
 MetaObject (const std::string &class_name, const std::string &base_class_name)
 Constructor for the class.

Detailed Description

template<class C, class B>
class class_loader::class_loader_private::MetaObject< C, B >

The actual factory. C The derived class (the actual plugin) B The base class interface for the plugin.

Definition at line 176 of file meta_object.h.


Constructor & Destructor Documentation

template<class C, class B>
class_loader::class_loader_private::MetaObject< C, B >::MetaObject ( const std::string &  class_name,
const std::string &  base_class_name 
) [inline]

Constructor for the class.

Definition at line 182 of file meta_object.h.


Member Function Documentation

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

The factory interface to generate an object. The object has type C in reality, though a pointer of the base class type is returned.

Returns:
A pointer to a newly created plugin with the base class type (type parameter B)

Implements class_loader::class_loader_private::AbstractMetaObject< B >.

Definition at line 191 of file meta_object.h.


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


class_loader
Author(s): Mirza Shah
autogenerated on Sun Oct 5 2014 22:50:57