cppexpose
1.0.0.b785e04f23b8
C++ library for type introspection, reflection, and scripting interface
|
Represents a generic component of a specific type. More...
#include <cppexpose/include/cppexpose/plugin/GenericComponent.h>
Public Member Functions | |
GenericComponent () | |
Constructor. More... | |
virtual | ~GenericComponent () |
Destructor. More... | |
virtual std::unique_ptr< BaseType > | createInstance () const override |
Create new instance of the component. More... | |
Public Member Functions inherited from cppexpose::AbstractGenericComponent< BaseType > | |
AbstractGenericComponent () | |
Constructor. More... | |
virtual | ~AbstractGenericComponent () |
Destructor. 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... | |
Represents a generic component of a specific type.
cppexpose::GenericComponent< Type, BaseType >::GenericComponent | ( | ) |
Constructor.
|
virtual |
Destructor.
|
overridevirtual |
Create new instance of the component.
Implements cppexpose::AbstractGenericComponent< BaseType >.