Template Class AbstractMetaObject
Defined in File meta_object.hpp
Inheritance Relationships
Base Type
public class_loader::impl::AbstractMetaObjectBase
(Class AbstractMetaObjectBase)
Derived Type
public class_loader::impl::MetaObject< C, B >
(Template Class MetaObject)
Class Documentation
-
template<class B>
class AbstractMetaObject : public class_loader::impl::AbstractMetaObjectBase Abstract base class for factories where polymorphic type variable indicates base class for plugin interface.
@parm B The base class interface for the plugin
Subclassed by class_loader::impl::MetaObject< C, B >
Public Functions
-
inline AbstractMetaObject(const std::string &class_name, const std::string &base_class_name)
A constructor for this class.
- Parameters:
name – The literal name of the class.
-
virtual B *create() const = 0
Defines the factory interface that the MetaObject must implement.
- Returns:
A pointer of parametric type B to a newly created object.
-
inline AbstractMetaObject(const std::string &class_name, const std::string &base_class_name)