LCOV - code coverage report
Current view: top level - package/hash/domain - hash_multiton.cpp (source / functions) Hit Total Coverage
Test: wfc_demo-coverage.info Lines: 1 8 12.5 %
Date: 2019-08-13 Functions: 2 8 25.0 %

          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 "hash_multiton.hpp"
       9             : #include "hash_config_json.hpp"
      10             : #include "hash_domain.hpp"
      11             : 
      12             : #include <wfc/module/multiton.hpp>
      13             : #include <wfc/module/instance.hpp>
      14             : #include <wfc/name.hpp>
      15             : 
      16             : namespace demo{ namespace hash{
      17             : 
      18             : namespace
      19             : {
      20           0 :   WFC_NAME2(object_name, "hash")
      21             : 
      22           0 :   class impl: public ::wfc::multiton<
      23             :     object_name,
      24             :     ::wfc::instance<hash_domain>,
      25             :     hash_config_json,
      26             :       ::wfc::component_features::DisabledWorkflow
      27             :     | ::wfc::component_features::DisabledPriority
      28             :   >
      29             :   {
      30           0 :     virtual std::string interface_name() const override
      31             :     {
      32           0 :       return "ihash";
      33             :     }
      34             :   };
      35             : }
      36             : 
      37           0 : hash_multiton::hash_multiton()
      38           0 :   : component( std::make_shared<impl>() )
      39             : {
      40           0 : }
      41             : 
      42           3 : }}

Generated by: LCOV version 1.10