Example concrete Shape implementation used in static registration.
void Area()
Example implementation that prints a message.
Example base class used to demonstrate static factory registration.
~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.
constexpr const char * PLUGIN_LOGGER
Logger channel used by the gfactory module and plugins loaded through it.