Module.ih
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 Module internal header */
16 
17 #ifndef IH_SENF_PPI_Module_
18 #define IH_SENF_PPI_Module_ 1
19 
20 // Custom includes
21 
22 //-/////////////////////////////////////////////////////////////////////////////////////////////////
23 
24 namespace senf {
25 namespace ppi {
26 namespace module {
27 namespace detail {
28 
29 #ifndef DOXYGEN
30 
31  // Placing these into a class simplifies the friend declaration
32  template <class Source, class Target>
33  struct RouteHelper
34  {
35  static void route(Module & module, Source & source, Target & target,
36  connector::InputConnector &,
37  connector::OutputConnector &);
38 
39 
40  static void route(Module & module, Source & source, Target & target,
41  connector::InputConnector &,
42  EventDescriptor &);
43 
44  static void route(Module & module, Source & source, Target & target,
45  EventDescriptor &,
46  connector::OutputConnector &);
47  };
48 
49 #endif
50 
51 }}}}
52 
53 //-/////////////////////////////////////////////////////////////////////////////////////////////////
54 #endif
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: