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.hpp>

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 181 of file meta_object.hpp.


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 187 of file meta_object.hpp.


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 196 of file meta_object.hpp.


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


class_loader
Author(s): Mirza Shah
autogenerated on Mon Oct 22 2018 05:20:55