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
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
15 \brief Jack inline non-template implementation */
22 #define prefix_ inline
23 //-/////////////////////////////////////////////////////////////////////////////////////////////////
25 prefix_ senf::ppi::connector::GenericActiveInputJack::
26 GenericActiveInputJack(GenericActiveInput & input)
30 prefix_ senf::ppi::connector::GenericActiveInput &
31 senf::ppi::connector::GenericActiveInputJack::connector()
36 prefix_ senf::ppi::connector::GenericActiveInput *
37 senf::ppi::connector::GenericActiveInputJack::operator->()
42 prefix_ senf::ppi::connector::GenericActiveOutputJack::
43 GenericActiveOutputJack(GenericActiveOutput & output)
47 prefix_ senf::ppi::connector::GenericActiveOutput &
48 senf::ppi::connector::GenericActiveOutputJack::connector()
53 prefix_ senf::ppi::connector::GenericActiveOutput *
54 senf::ppi::connector::GenericActiveOutputJack::operator->()
59 prefix_ senf::ppi::connector::GenericPassiveInputJack::
60 GenericPassiveInputJack(GenericPassiveInput & input)
64 prefix_ senf::ppi::connector::GenericPassiveInput &
65 senf::ppi::connector::GenericPassiveInputJack::connector()
70 prefix_ senf::ppi::connector::GenericPassiveInput *
71 senf::ppi::connector::GenericPassiveInputJack::operator->()
76 prefix_ senf::ppi::connector::GenericPassiveOutputJack::
77 GenericPassiveOutputJack(GenericPassiveOutput & output)
81 prefix_ senf::ppi::connector::GenericPassiveOutput &
82 senf::ppi::connector::GenericPassiveOutputJack::connector()
87 prefix_ senf::ppi::connector::GenericPassiveOutput *
88 senf::ppi::connector::GenericPassiveOutputJack::operator->()
93 prefix_ senf::ppi::connector::ActiveInputJack<senf::Packet>::
94 ActiveInputJack(GenericActiveInput & input)
95 : GenericActiveInputJack (input)
98 prefix_ senf::ppi::connector::ActiveInputJack<senf::Packet>::
99 ActiveInputJack(GenericActiveInputJack input)
100 : GenericActiveInputJack (input.connector())
103 prefix_ void senf::ppi::connector::ActiveInputJack<senf::Packet>::reset(GenericActiveInput & input)
105 GenericActiveInputJack::reset(input);
108 prefix_ void senf::ppi::connector::ActiveInputJack<senf::Packet>::reset(GenericActiveInputJack input)
110 GenericActiveInputJack::reset(input.connector());
113 prefix_ senf::ppi::connector::ActiveOutputJack<senf::Packet>::
114 ActiveOutputJack(GenericActiveOutput & output)
115 : GenericActiveOutputJack (output)
118 prefix_ senf::ppi::connector::ActiveOutputJack<senf::Packet>::
119 ActiveOutputJack(GenericActiveOutputJack & output)
120 : GenericActiveOutputJack (output.connector())
123 prefix_ void senf::ppi::connector::ActiveOutputJack<senf::Packet>::reset(GenericActiveOutput & output)
125 GenericActiveOutputJack::reset(output);
129 senf::ppi::connector::ActiveOutputJack<senf::Packet>::reset(GenericActiveOutputJack & output)
131 GenericActiveOutputJack::reset(output.connector());
134 prefix_ senf::ppi::connector::PassiveInputJack<senf::Packet>::
135 PassiveInputJack(GenericPassiveInput & input)
136 : GenericPassiveInputJack (input)
139 prefix_ senf::ppi::connector::PassiveInputJack<senf::Packet>::
140 PassiveInputJack(GenericPassiveInputJack & input)
141 : GenericPassiveInputJack (input.connector())
144 prefix_ void senf::ppi::connector::PassiveInputJack<senf::Packet>::reset(GenericPassiveInput & input)
146 GenericPassiveInputJack::reset(input);
150 senf::ppi::connector::PassiveInputJack<senf::Packet>::reset(GenericPassiveInputJack & input)
152 GenericPassiveInputJack::reset(input.connector());
155 prefix_ senf::ppi::connector::PassiveOutputJack<senf::Packet>::
156 PassiveOutputJack(GenericPassiveOutput & output)
157 : GenericPassiveOutputJack (output)
160 prefix_ senf::ppi::connector::PassiveOutputJack<senf::Packet>::
161 PassiveOutputJack(GenericPassiveOutputJack & output)
162 : GenericPassiveOutputJack (output.connector())
166 senf::ppi::connector::PassiveOutputJack<senf::Packet>::reset(GenericPassiveOutput & output)
168 GenericPassiveOutputJack::reset(output);
172 senf::ppi::connector::PassiveOutputJack<senf::Packet>::reset(GenericPassiveOutputJack & output)
174 GenericPassiveOutputJack::reset(output.connector());
177 prefix_ void senf::ppi::connect(connector::GenericActiveOutputJack & source,
178 connector::GenericPassiveInputJack & target)
180 connect(source.connector(), target.connector());
183 prefix_ void senf::ppi::connect(connector::GenericPassiveOutputJack & source,
184 connector::GenericActiveInputJack & target)
186 connect(source.connector(), target.connector());
189 prefix_ void senf::ppi::connect(connector::GenericActiveOutputJack & source,
190 connector::GenericPassiveInput & target)
192 connect(source.connector(), target);
195 prefix_ void senf::ppi::connect(connector::GenericPassiveOutputJack & source,
196 connector::GenericActiveInput & target)
198 connect(source.connector(), target);
201 prefix_ void senf::ppi::connect(connector::GenericActiveOutput & source,
202 connector::GenericPassiveInputJack & target)
204 connect(source, target.connector());
207 prefix_ void senf::ppi::connect(connector::GenericPassiveOutput & source,
208 connector::GenericActiveInputJack & target)
210 connect(source, target.connector());
213 //-/////////////////////////////////////////////////////////////////////////////////////////////////
220 // comment-column: 40
221 // c-file-style: "senf"
222 // indent-tabs-mode: nil
223 // ispell-local-dictionary: "american"
224 // compile-command: "scons -u test"