LCOV - code coverage report
Current view: top level - package/hash - hash_module.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             : #include "hash_module.hpp"
       8             : #include "domain/hash_multiton.hpp"
       9             : #include "service/hash_service_multiton.hpp"
      10             : #include "gateway/hash_gateway_multiton.hpp"
      11             : #include <wfc/module/component_list.hpp>
      12             : #include <wfc/name.hpp>
      13             : 
      14             : namespace demo{ namespace hash{
      15             : 
      16             : namespace
      17             : {
      18           0 :   WFC_NAME2(module_name, "hash-module")
      19             : 
      20           0 :   class impl: public ::wfc::component_list<
      21             :     module_name,
      22             :     hash_multiton,
      23             :     hash_service_multiton,
      24             :     hash_gateway_multiton
      25             :   >
      26             :   {
      27             :   public:
      28           0 :     virtual std::string description() const override
      29             :     {
      30           0 :       return "Demo-hash module description";
      31             :     }
      32             :   };
      33             : }
      34             : 
      35           0 : hash_module::hash_module()
      36           0 :   : module( std::make_shared<impl>() )
      37             : {
      38           0 : }
      39             : 
      40           3 : }}

Generated by: LCOV version 1.10