class cppmicroservices::FrameworkFactory

A factory for creating Framework instances.

This class is thread-safe.

Public Functions

Framework cppmicroservices::FrameworkFactory::NewFramework(const std::map< std::string, Any > & configuration = std::map< std::string, Any >(), std::ostream * logger = nullptr)

Create a new Framework instance.

A new, configured Framework instance.
  • configuration: The framework properties to configure the new framework instance. If framework properties are not provided by the configuration argument, the created framework instance will use a reasonable default configuration.
  • logger: Any ostream object which will receieve redirected debug log output.