cppexpose  1.0.0.b785e04f23b8
C++ library for type introspection, reflection, and scripting interface
Public Member Functions | List of all members
cppexpose::GenericComponent< Type, BaseType > Class Template Reference

Represents a generic component of a specific type. More...

#include <cppexpose/include/cppexpose/plugin/GenericComponent.h>

Inheritance diagram for cppexpose::GenericComponent< Type, BaseType >:
Inheritance graph
[legend]
Collaboration diagram for cppexpose::GenericComponent< Type, BaseType >:
Collaboration graph
[legend]

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

Detailed Description

template<typename Type, typename BaseType>
class cppexpose::GenericComponent< Type, BaseType >

Represents a generic component of a specific type.

See also
AbstractGenericComponent

Constructor & Destructor Documentation

template<typename Type , typename BaseType >
cppexpose::GenericComponent< Type, BaseType >::GenericComponent ( )

Constructor.

template<typename Type , typename BaseType >
cppexpose::GenericComponent< Type, BaseType >::~GenericComponent ( )
virtual

Destructor.

Member Function Documentation

template<typename Type , typename BaseType >
std::unique_ptr< BaseType > cppexpose::GenericComponent< Type, BaseType >::createInstance ( ) const
overridevirtual

Create new instance of the component.

Returns
New instance

Implements cppexpose::AbstractGenericComponent< BaseType >.


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