Duplicators.hh
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 
17 #ifndef HH_SENF_PPI_Duplicators_
18 #define HH_SENF_PPI_Duplicators_ 1
19 
20 // Custom includes
21 #include "Connectors.hh"
22 #include "Module.hh"
23 #include "MultiConnectorMixin.hh"
24 
25 //#include "Duplicators.mpp"
26 //-/////////////////////////////////////////////////////////////////////////////////////////////////
27 
28 namespace senf {
29 namespace ppi {
30 namespace module {
31 
39  : public Module,
40  public MultiConnectorMixin<ActiveDuplicator, connector::ActiveOutput<> >
41  {
43  public:
45 
47 
48  private:
49  void connectorSetup(ActiveDuplicator::ConnectorType & conn);
50  void request();
51 
52  friend class MultiConnectorMixin<ActiveDuplicator, connector::ActiveOutput<> >;
53  };
54 
55 }}}
56 
57 
58 
59 //-/////////////////////////////////////////////////////////////////////////////////////////////////
60 //#include "Duplicators.cci"
61 //#include "Duplicators.ct"
62 //#include "Duplicators.cti"
63 #endif
64 
65 
66 // Local Variables:
67 // mode: c++
68 // fill-column: 100
69 // comment-column: 40
70 // c-file-style: "senf"
71 // indent-tabs-mode: nil
72 // ispell-local-dictionary: "american"
73 // compile-command: "scons -u test"
74 // End:
ConnectorType_ ConnectorType
Type of MultiConnector connector.
Module base-class.
Definition: Module.hh:169
Connectors public header.
Module public header.
Copy every incoming packet to each output.
Definition: Duplicators.hh:38
#define SENF_PPI_MODULE(name)
Define PPI Module.
Definition: Module.hh:346
connector::PassiveInput input
Definition: Duplicators.hh:42
MultiConnectorMixin public header.
Connector passively receiving packets.
Definition: Connectors.hh:655