From: g0dil Date: Tue, 28 Apr 2009 10:41:11 +0000 (+0000) Subject: PPI: Fix (generic) 'Packet' Jack constructors X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=d388d1e9ea6e5388a4be8c5f6dd4f33dcf71b348;p=senf.git PPI: Fix (generic) 'Packet' Jack constructors git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1199 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/PPI/Jack.cci b/PPI/Jack.cci index 143afe7..9ae3da5 100644 --- a/PPI/Jack.cci +++ b/PPI/Jack.cci @@ -75,6 +75,46 @@ senf::ppi::connector::GenericPassiveOutputJack::connector() return output_; } +prefix_ senf::ppi::connector::ActiveInputJack:: +ActiveInputJack(GenericActiveInput & input) + : GenericActiveInputJack (input) +{} + +prefix_ senf::ppi::connector::ActiveInputJack:: +ActiveInputJack(GenericActiveInputJack input) + : GenericActiveInputJack (input.connector()) +{} + +prefix_ senf::ppi::connector::ActiveOutputJack:: +ActiveOutputJack(GenericActiveOutput & output) + : GenericActiveOutputJack (output) +{} + +prefix_ senf::ppi::connector::ActiveOutputJack:: +ActiveOutputJack(GenericActiveOutputJack & output) + : GenericActiveOutputJack (output.connector()) +{} + +prefix_ senf::ppi::connector::PassiveInputJack:: +PassiveInputJack(GenericPassiveInput & input) + : GenericPassiveInputJack (input) +{} + +prefix_ senf::ppi::connector::PassiveInputJack:: +PassiveInputJack(GenericPassiveInputJack & input) + : GenericPassiveInputJack (input.connector()) +{} + +prefix_ senf::ppi::connector::PassiveOutputJack:: +PassiveOutputJack(GenericPassiveOutput & output) + : GenericPassiveOutputJack (output) +{} + +prefix_ senf::ppi::connector::PassiveOutputJack:: +PassiveOutputJack(GenericPassiveOutputJack & output) + : GenericPassiveOutputJack (output.connector()) +{} + prefix_ void senf::ppi::connect(connector::GenericActiveOutputJack & source, connector::GenericPassiveInputJack & target) { diff --git a/PPI/Jack.cti b/PPI/Jack.cti index 2266a57..30a4c64 100644 --- a/PPI/Jack.cti +++ b/PPI/Jack.cti @@ -55,16 +55,6 @@ senf::ppi::connector::ActiveInputJack::ActiveInputJack(ActiveInputJa : GenericActiveInputJack (input.connector()) {} -prefix_ -senf::ppi::connector::ActiveInputJack::ActiveInputJack(ActiveInput<> & input) - : GenericActiveInputJack (input) -{} - -prefix_ -senf::ppi::connector::ActiveInputJack::ActiveInputJack(ActiveInputJack & input) - : GenericActiveInputJack (input.connector()) -{} - template prefix_ senf::ppi::connector::ActiveOutputJack:: ActiveOutputJack(ActiveOutput & output) @@ -89,16 +79,6 @@ ActiveOutputJack(ActiveOutputJack<> & output) : GenericActiveOutputJack (output.connector()) {} -prefix_ senf::ppi::connector::ActiveOutputJack:: -ActiveOutputJack(ActiveOutput<> & output) - : GenericActiveOutputJack (output) -{} - -prefix_ senf::ppi::connector::ActiveOutputJack:: -ActiveOutputJack(ActiveOutputJack & output) - : GenericActiveOutputJack (output.connector()) -{} - template prefix_ senf::ppi::connector::PassiveInputJack:: PassiveInputJack(PassiveInput & input) @@ -123,16 +103,6 @@ PassiveInputJack(PassiveInputJack<> & input) : GenericPassiveInputJack (input.connector()) {} -prefix_ -senf::ppi::connector::PassiveInputJack::PassiveInputJack(PassiveInput<> & input) - : GenericPassiveInputJack (input) -{} - -prefix_ senf::ppi::connector::PassiveInputJack:: -PassiveInputJack(PassiveInputJack & input) - : GenericPassiveInputJack (input.connector()) -{} - template prefix_ senf::ppi::connector::PassiveOutputJack:: PassiveOutputJack(PassiveOutput & output) @@ -157,16 +127,6 @@ PassiveOutputJack(PassiveOutputJack<> & output) : GenericPassiveOutputJack (output.connector()) {} -prefix_ senf::ppi::connector::PassiveOutputJack:: -PassiveOutputJack(PassiveOutput<> & output) - : GenericPassiveOutputJack (output) -{} - -prefix_ senf::ppi::connector::PassiveOutputJack:: -PassiveOutputJack(PassiveOutputJack & output) - : GenericPassiveOutputJack (output.connector()) -{} - template prefix_ void senf::ppi::connect(connector::GenericActiveOutputJack & source, T & target, diff --git a/PPI/Jack.hh b/PPI/Jack.hh index 03c3278..52c6b82 100644 --- a/PPI/Jack.hh +++ b/PPI/Jack.hh @@ -121,8 +121,8 @@ namespace connector { : public GenericActiveInputJack { public: - explicit ActiveInputJack(ActiveInput<> & input); - explicit ActiveInputJack(ActiveInputJack & input); + explicit ActiveInputJack(GenericActiveInput & input); + explicit ActiveInputJack(GenericActiveInputJack input); }; #endif @@ -148,8 +148,8 @@ namespace connector { : public GenericActiveOutputJack { public: - explicit ActiveOutputJack(ActiveOutput<> & output); - explicit ActiveOutputJack(ActiveOutputJack & output); + explicit ActiveOutputJack(GenericActiveOutput & output); + explicit ActiveOutputJack(GenericActiveOutputJack & output); }; #endif @@ -175,8 +175,8 @@ namespace connector { : public GenericPassiveInputJack { public: - explicit PassiveInputJack(PassiveInput<> & input); - explicit PassiveInputJack(PassiveInputJack & input); + explicit PassiveInputJack(GenericPassiveInput & input); + explicit PassiveInputJack(GenericPassiveInputJack & input); }; #endif @@ -202,8 +202,8 @@ namespace connector { : public GenericPassiveOutputJack { public: - explicit PassiveOutputJack(PassiveOutput<> & output); - explicit PassiveOutputJack(PassiveOutputJack & output); + explicit PassiveOutputJack(GenericPassiveOutput & output); + explicit PassiveOutputJack(GenericPassiveOutputJack & output); }; #endif