Example concrete Shape implementation used in static registration.
void Area()
Example implementation that prints a message.
Shape(const std::shared_ptr< GOptions > &g)
Inherit the base (const std::shared_ptr<GOptions>&) constructor.
GBase(const std::shared_ptr< GOptions > &gopt, std::string logger_name="")
~Shape() override=default
Virtual destructor for polymorphic deletion.
Shape(const std::shared_ptr< GOptions > &g)
Construct the base with a shared options/configuration instance.
virtual void Area()=0
Compute or report the shape area (example API).
Example concrete Shape implementation used in static registration.
void Area()
Example implementation that prints a message.
Shape(const std::shared_ptr< GOptions > &g)
Inherit the base (const std::shared_ptr<GOptions>&) constructor.
constexpr const char * PLUGIN_LOGGER
Logger channel used by the gfactory module and plugins loaded through it.