LCOV - code coverage report
Current view: top level - package/demo/domain - demo_multiton.cpp (source / functions) Hit Total Coverage
Test: wfc_demo-coverage.info Lines: 1 6 16.7 %
Date: 2019-08-13 Functions: 2 7 28.6 %

          Line data    Source code
       1             : //
       2             : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015
       3             : //
       4             : // Copyright: See COPYING file that comes with this distribution
       5             : //
       6             : 
       7             : 
       8             : #include "demo_multiton.hpp"
       9             : #include "demo_domain.hpp"
      10             : #include "demo_config_json.hpp"
      11             : 
      12             : #include <wfc/module/multiton.hpp>
      13             : #include <wfc/module/instance.hpp>
      14             : #include <wfc/name.hpp>
      15             : 
      16             : namespace demo{
      17             : 
      18             : namespace {
      19             :   
      20           0 : WFC_NAME2(object_name, "demo-storage")
      21             : 
      22           0 : class impl: public ::wfc::multiton<
      23             :   object_name,
      24             :   wfc::instance<storage_domain>,
      25             :   storage_config_json
      26             : >
      27             : {  
      28             : };
      29             : 
      30             : }
      31           0 : storage_multiton::storage_multiton()
      32           0 :   : component( std::make_shared<impl>() )
      33             : {
      34           0 : }
      35             : 
      36           3 : }

Generated by: LCOV version 1.10