LCOV - code coverage report
Current view: top level - package/pingpong/ponger_gateway - ponger_gateway_multiton.cpp (source / functions) Hit Total Coverage
Test: wfc_demo-coverage.info Lines: 1 10 10.0 %
Date: 2019-08-13 Functions: 2 9 22.2 %

          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 "ponger_gateway_multiton.hpp"
       8             : #include "ponger_gateway.hpp"
       9             : 
      10             : 
      11             : #include <wfc/module/multiton.hpp>
      12             : #include <wfc/module/instance.hpp>
      13             : #include <wfc/name.hpp>
      14             : 
      15             : namespace demo{ namespace pingpong{
      16             : 
      17             : namespace 
      18             : {
      19           0 :   WFC_NAME2(gateway_name, "ponger-gateway")
      20             : 
      21           0 :   class impl:
      22             :     public ::wfc::jsonrpc::gateway_multiton<
      23             :       gateway_name, 
      24             :       gateway::ponger_method_list, 
      25             :       gateway::ponger_interface
      26             :     >
      27             :   {
      28             :   public:
      29           0 :     virtual std::string interface_name() const override
      30             :     {
      31           0 :       return "iponger";
      32             :     }
      33             : 
      34           0 :     virtual std::string description() const override
      35             :     {
      36           0 :       return "ponger description";
      37             :     }
      38             :   };
      39             : }
      40             : 
      41           0 : ponger_gateway_multiton::ponger_gateway_multiton()
      42           0 :   : wfc::component( std::make_shared<impl>() )
      43             : {
      44           0 : }
      45             : 
      46           3 : }}

Generated by: LCOV version 1.10