CppMicroServices

C++ Micro Services: FrameworkFactory Class Reference
FrameworkFactory Class Reference

A factory for creating Framework instances. More...

Public Member Functions

 FrameworkFactory (void)
 
virtual ~FrameworkFactory (void)
 
FrameworkNewFramework (std::map< std::string, std::string > configuration)
 Create a new Framework instance. More...
 
FrameworkNewFramework (void)
 Create a new Framework instance. More...
 

Detailed Description

A factory for creating Framework instances.

Remarks
This class is thread-safe.

Constructor & Destructor Documentation

FrameworkFactory::FrameworkFactory ( void  )
virtual FrameworkFactory::~FrameworkFactory ( void  )
virtual

Member Function Documentation

Framework* FrameworkFactory::NewFramework ( std::map< std::string, std::string >  configuration)

Create a new Framework instance.

Parameters
configurationThe 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.
Returns
A new, configured Framework instance.
Framework* FrameworkFactory::NewFramework ( void  )

Create a new Framework instance.

Remarks
The created framework instance will use a reasonable default configuration.
Returns
A new, configured Framework instance.