Search:

SENF Extensible Network Framework

  • Home
  • Download
  • Wiki
  • BerliOS
  • ChangeLog
  • Browse SVN
  • Bug Tracker
  • Overview
  • Examples
  • HowTos
  • Glossary
  • PPI
  • Packets
  • Scheduler
  • Socket
  • Utils
  • Console
  • Daemon
  • Logger
  • Termlib
  • Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • Directories
  • File List
  • File Members

Jack.cti

Go to the documentation of this file.
00001 // $Id: Jack.cti 1742 2010-11-04 14:51:56Z g0dil $
00002 //
00003 // Copyright (C) 2009
00004 // Fraunhofer (FOKUS)
00005 // Competence Center NETwork research (NET), St. Augustin, GERMANY
00006 //     Stefan Bund <g0dil@berlios.de>
00007 //
00008 // This program is free software; you can redistribute it and/or modify
00009 // it under the terms of the GNU General Public License as published by
00010 // the Free Software Foundation; either version 2 of the License, or
00011 // (at your option) any later version.
00012 //
00013 // This program is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
00017 //
00018 // You should have received a copy of the GNU General Public License
00019 // along with this program; if not, write to the
00020 // Free Software Foundation, Inc.,
00021 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00022 
00026 //#include "Jack.ih"
00027 
00028 // Custom includes
00029 #include "Setup.hh"
00030 
00031 #define prefix_ inline
00032 //-/////////////////////////////////////////////////////////////////////////////////////////////////
00033 
00034 template <class PacketType>
00035 prefix_ senf::ppi::connector::ActiveInputJack<PacketType>::
00036 ActiveInputJack(ActiveInput<PacketType> & input)
00037     : GenericActiveInputJack (input)
00038 {}
00039 
00040 template <class PacketType>
00041 prefix_
00042 senf::ppi::connector::ActiveInputJack<PacketType>::ActiveInputJack(ActiveInput<> & input)
00043     : GenericActiveInputJack (input)
00044 {}
00045 
00046 template <class PacketType>
00047 prefix_
00048 senf::ppi::connector::ActiveInputJack<PacketType>::ActiveInputJack(ActiveInputJack & input)
00049     : GenericActiveInputJack (input.connector())
00050 {}
00051 
00052 template <class PacketType>
00053 prefix_
00054 senf::ppi::connector::ActiveInputJack<PacketType>::ActiveInputJack(ActiveInputJack<> & input)
00055     : GenericActiveInputJack (input.connector())
00056 {}
00057 
00058 template <class PacketType>
00059 prefix_ void
00060 senf::ppi::connector::ActiveInputJack<PacketType>::reset(ActiveInput<PacketType> & input)
00061 {
00062     GenericActiveInputJack::reset(input);
00063 }
00064 
00065 template <class PacketType>
00066 prefix_ void senf::ppi::connector::ActiveInputJack<PacketType>::reset(ActiveInput<> & input)
00067 {
00068     GenericActiveInputJack::reset(input);
00069 }
00070 
00071 template <class PacketType>
00072 prefix_ void senf::ppi::connector::ActiveInputJack<PacketType>::reset(ActiveInputJack & input)
00073 {
00074     GenericActiveInputJack::reset(input);
00075 }
00076 
00077 template <class PacketType>
00078 prefix_ void senf::ppi::connector::ActiveInputJack<PacketType>::reset(ActiveInputJack<> & input)
00079 {
00080     GenericActiveInputJack::reset(input);
00081 }
00082 
00083 template <class PacketType>
00084 prefix_ senf::ppi::connector::ActiveOutputJack<PacketType>::
00085 ActiveOutputJack(ActiveOutput<PacketType> & output)
00086     : GenericActiveOutputJack (output)
00087 {}
00088 
00089 template <class PacketType>
00090 prefix_
00091 senf::ppi::connector::ActiveOutputJack<PacketType>::ActiveOutputJack(ActiveOutput<> & output)
00092     : GenericActiveOutputJack (output)
00093 {}
00094 
00095 template <class PacketType>
00096 prefix_ senf::ppi::connector::ActiveOutputJack<PacketType>::
00097 ActiveOutputJack(ActiveOutputJack & output)
00098     : GenericActiveOutputJack (output.connector())
00099 {}
00100 
00101 template <class PacketType>
00102 prefix_ senf::ppi::connector::ActiveOutputJack<PacketType>::
00103 ActiveOutputJack(ActiveOutputJack<> & output)
00104     : GenericActiveOutputJack (output.connector())
00105 {}
00106 
00107 template <class PacketType>
00108 prefix_ void
00109 senf::ppi::connector::ActiveOutputJack<PacketType>::reset(ActiveOutput<PacketType> & output)
00110 {
00111     GenericActiveOutputJack::reset(output);
00112 }
00113 
00114 template <class PacketType>
00115 prefix_ void senf::ppi::connector::ActiveOutputJack<PacketType>::reset(ActiveOutput<> & output)
00116 {
00117     GenericActiveOutputJack::reset(output);
00118 }
00119 
00120 template <class PacketType>
00121 prefix_ void
00122 senf::ppi::connector::ActiveOutputJack<PacketType>::reset(ActiveOutputJack & output)
00123 {
00124     GenericActiveOutputJack::reset(output);
00125 }
00126 
00127 template <class PacketType>
00128 prefix_ void
00129 senf::ppi::connector::ActiveOutputJack<PacketType>::reset(ActiveOutputJack<> & output)
00130 {
00131     GenericActiveOutputJack::reset(output);
00132 }
00133 
00134 template <class PacketType>
00135 prefix_ senf::ppi::connector::PassiveInputJack<PacketType>::
00136 PassiveInputJack(PassiveInput<PacketType> & input)
00137     : GenericPassiveInputJack (input)
00138 {}
00139 
00140 template <class PacketType>
00141 prefix_
00142 senf::ppi::connector::PassiveInputJack<PacketType>::PassiveInputJack(PassiveInput<> & input)
00143     : GenericPassiveInputJack (input)
00144 {}
00145 
00146 template <class PacketType>
00147 prefix_
00148 senf::ppi::connector::PassiveInputJack<PacketType>::PassiveInputJack(PassiveInputJack & input)
00149     : GenericPassiveInputJack (input.connector())
00150 {}
00151 
00152 template <class PacketType>
00153 prefix_ senf::ppi::connector::PassiveInputJack<PacketType>::
00154 PassiveInputJack(PassiveInputJack<> & input)
00155     : GenericPassiveInputJack (input.connector())
00156 {}
00157 
00158 template <class PacketType>
00159 prefix_ void
00160 senf::ppi::connector::PassiveInputJack<PacketType>::reset(PassiveInput<PacketType> & input)
00161 {
00162     GenericPassiveInputJack::reset(input);
00163 }
00164 
00165 template <class PacketType>
00166 prefix_ void senf::ppi::connector::PassiveInputJack<PacketType>::reset(PassiveInput<> & input)
00167 {
00168     GenericPassiveInputJack::reset(input);
00169 }
00170 
00171 template <class PacketType>
00172 prefix_ void senf::ppi::connector::PassiveInputJack<PacketType>::reset(PassiveInputJack & input)
00173 {
00174     GenericPassiveInputJack::reset(input);
00175 }
00176 
00177 template <class PacketType>
00178 prefix_ void
00179 senf::ppi::connector::PassiveInputJack<PacketType>::reset(PassiveInputJack<> & input)
00180 {
00181     GenericPassiveInputJack::reset(input);
00182 }
00183 
00184 template <class PacketType>
00185 prefix_ senf::ppi::connector::PassiveOutputJack<PacketType>::
00186 PassiveOutputJack(PassiveOutput<PacketType> & output)
00187     : GenericPassiveOutputJack (output)
00188 {}
00189 
00190 template <class PacketType>
00191 prefix_ senf::ppi::connector::PassiveOutputJack<PacketType>::
00192 PassiveOutputJack(PassiveOutput<> & output)
00193     : GenericPassiveOutputJack (output)
00194 {}
00195 
00196 template <class PacketType>
00197 prefix_ senf::ppi::connector::PassiveOutputJack<PacketType>::
00198 PassiveOutputJack(PassiveOutputJack & output)
00199     : GenericPassiveOutputJack (output.connector())
00200 {}
00201 
00202 template <class PacketType>
00203 prefix_ senf::ppi::connector::PassiveOutputJack<PacketType>::
00204 PassiveOutputJack(PassiveOutputJack<> & output)
00205     : GenericPassiveOutputJack (output.connector())
00206 {}
00207 
00208 template <class PacketType>
00209 prefix_ void
00210 senf::ppi::connector::PassiveOutputJack<PacketType>::reset(PassiveOutput<PacketType> & output)
00211 {
00212     GenericPassiveOutputJack::reset(output);
00213 }
00214 
00215 template <class PacketType>
00216 prefix_ void
00217 senf::ppi::connector::PassiveOutputJack<PacketType>::reset(PassiveOutput<> & output)
00218 {
00219     GenericPassiveOutputJack::reset(output);
00220 }
00221 
00222 template <class PacketType>
00223 prefix_ void
00224 senf::ppi::connector::PassiveOutputJack<PacketType>::reset(PassiveOutputJack & output)
00225 {
00226     GenericPassiveOutputJack::reset(output);
00227 }
00228 
00229 template <class PacketType>
00230 prefix_ void
00231 senf::ppi::connector::PassiveOutputJack<PacketType>::reset(PassiveOutputJack<> & output)
00232 {
00233     GenericPassiveOutputJack::reset(output);
00234 }
00235 
00236 template <class T>
00237 prefix_ void
00238 senf::ppi::connect(connector::GenericActiveOutputJack & source, T & target,
00239                    typename boost::disable_if< boost::is_base_of<connector::Jack, T> >::type *)
00240 {
00241     connect(source.connector(), target);
00242 }
00243 
00244 template <class T>
00245 prefix_ void
00246 senf::ppi::connect(connector::GenericPassiveOutputJack & source, T & target,
00247                    typename boost::disable_if< boost::is_base_of<connector::Jack, T> >::type *)
00248 {
00249     connect(source.connector(), target);
00250 }
00251 
00252 template <class T>
00253 prefix_ void
00254 senf::ppi::connect(T & source, connector::GenericActiveInputJack & target,
00255                    typename boost::disable_if< boost::is_base_of<connector::Jack, T> >::type *)
00256 {
00257     connect(source, target.connector());
00258 }
00259 
00260 template <class T>
00261 prefix_ void
00262 senf::ppi::connect(T & source, connector::GenericPassiveInputJack & target,
00263                    typename boost::disable_if< boost::is_base_of<connector::Jack, T> >::type *)
00264 {
00265     connect(source, target.connector());
00266 }
00267 
00268 //-/////////////////////////////////////////////////////////////////////////////////////////////////
00269 #undef prefix_
00270 
00271 
00272 // Local Variables:
00273 // mode: c++
00274 // fill-column: 100
00275 // comment-column: 40
00276 // c-file-style: "senf"
00277 // indent-tabs-mode: nil
00278 // ispell-local-dictionary: "american"
00279 // compile-command: "scons -u test"
00280 // End:

Contact: senf-dev@lists.berlios.de | © 2006-2010 Fraunhofer Institute for Open Communication Systems, Network Research