|
gfactory
|
Example concrete Shape implementation used in static registration.
More...
#include <ShapeFactory.h>
Public Member Functions | |
| void | Area () |
| Example implementation that prints a message. | |
| Shape (const std::shared_ptr< GOptions > &g) | |
| Inherit the base (const std::shared_ptr<GOptions>&) constructor. | |
Public Member Functions inherited from Shape | |
| ~Shape () override=default | |
| Virtual destructor for polymorphic deletion. | |
| Shape (const std::shared_ptr< GOptions > &g) | |
| Construct the base with a shared options/configuration instance. | |
Public Member Functions inherited from GBase< Shape > | |
| GBase (const std::shared_ptr< GOptions > &gopt, std::string logger_name="") | |
| GBase (const std::shared_ptr< GLogger > &logger) | |
| GBase (const GBase &)=default | |
| GBase (GBase &&) noexcept=default | |
| virtual | ~GBase () |
| GBase & | operator= (const GBase &)=default |
| GBase & | operator= (GBase &&) noexcept=default |
Additional Inherited Members | |
Protected Attributes inherited from GBase< Shape > | |
| std::shared_ptr< GLogger > | log |
Definition at line 56 of file ShapeFactory.h.
|
virtual |
Implements Shape.
Definition at line 12 of file ShapeFactory.cc.
|
inlineexplicit |
Definition at line 27 of file ShapeFactory.h.