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 "ponger_multiton.hpp"
9 : #include "ponger.hpp"
10 : #include "ponger_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{ namespace pingpong{
17 :
18 : namespace
19 : {
20 0 : WFC_NAME2(object_name, "ponger")
21 :
22 0 : class impl: public ::wfc::multiton<
23 : object_name,
24 : wfc::instance<ponger>,
25 : ponger_config_json
26 : >
27 : {
28 : };
29 : }
30 :
31 0 : ponger_multiton::ponger_multiton()
32 0 : : component( std::make_shared<impl>() )
33 : {
34 0 : }
35 :
36 3 : }}
|