Setup.cci
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
14 /** \file
15  \brief Setup inline non-template implementation */
16 
17 //#include "Setup.ih"
18 
19 // Custom includes
20 #include "Connectors.hh"
21 #include "Module.hh"
22 #include "ModuleManager.hh"
23 
24 #define prefix_ inline
25 //-/////////////////////////////////////////////////////////////////////////////////////////////////
26 
27 #ifndef DOXYGEN
28 
29 prefix_ void senf::ppi::connect(connector::GenericActiveOutput & source,
30  connector::GenericPassiveInput & target)
31 {
32  source.connect(target);
33 }
34 
35 prefix_ void senf::ppi::connect(connector::GenericPassiveOutput & source,
36  connector::GenericActiveInput & target)
37 {
38  source.connect(target);
39 }
40 
41 prefix_ void senf::ppi::run()
42 {
43  ModuleManager::instance().run();
44 }
45 
46 prefix_ void senf::ppi::init()
47 {
48  ModuleManager::instance().init();
49 }
50 
51 #endif
52 
53 //-/////////////////////////////////////////////////////////////////////////////////////////////////
54 #undef prefix_
55 
56 
57 // Local Variables:
58 // mode: c++
59 // fill-column: 100
60 // comment-column: 40
61 // c-file-style: "senf"
62 // indent-tabs-mode: nil
63 // ispell-local-dictionary: "american"
64 // compile-command: "scons -u test"
65 // End: