cppexpose
1.0.0.b785e04f23b8
C++ library for type introspection, reflection, and scripting interface
|
Abstract base class for generic components. More...
#include <cppexpose/include/cppexpose/plugin/AbstractGenericComponent.h>
Public Member Functions | |
AbstractGenericComponent () | |
Constructor. More... | |
virtual | ~AbstractGenericComponent () |
Destructor. More... | |
virtual std::unique_ptr< BaseType > | createInstance () const =0 |
Create new instance of the component. More... | |
Public Member Functions inherited from cppexpose::AbstractComponent | |
AbstractComponent () | |
Constructor. More... | |
virtual | ~AbstractComponent () |
Destructor. More... | |
const char * | name () const |
Get name. More... | |
const char * | description () const |
Get description. More... | |
const char * | type () const |
Get type. More... | |
const char * | tags () const |
Get sub-type. More... | |
const char * | icon () const |
Get icon. More... | |
const char * | annotations () const |
Get annotations. More... | |
const char * | vendor () const |
Get vendor. More... | |
const char * | version () const |
Get version. More... | |
Additional Inherited Members | |
Protected Attributes inherited from cppexpose::AbstractComponent | |
std::string | m_name |
Component name. More... | |
std::string | m_description |
Component description. More... | |
std::string | m_type |
Component type. More... | |
std::string | m_tags |
Component tags (user-defined, space-separated) More... | |
std::string | m_icon |
Icon name or ID. More... | |
std::string | m_annotations |
Component annotations. More... | |
std::string | m_vendor |
Vendor name. More... | |
std::string | m_version |
Component version. More... | |
Abstract base class for generic components.
cppexpose::AbstractGenericComponent< BaseType >::AbstractGenericComponent | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Create new instance of the component.
Implemented in cppexpose::GenericComponent< Type, BaseType >.