X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FMultiConnectorMixin.ih;h=073943167cf99f7348334262a4600b32bb76d0af;hb=93d9568d448749dc187e7622b733a4a3caa319df;hp=5207defc0ca50c4a35aaadebfb72498d620764b9;hpb=0584aff454ea331f482f830c3ee16d4fdafb3ffb;p=senf.git diff --git a/senf/PPI/MultiConnectorMixin.ih b/senf/PPI/MultiConnectorMixin.ih index 5207def..0739431 100644 --- a/senf/PPI/MultiConnectorMixin.ih +++ b/senf/PPI/MultiConnectorMixin.ih @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2009 +// Copyright (C) 2009 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -27,8 +27,9 @@ #define IH_SENF_PPI_MultiConnectorMixin_ 1 // Custom includes +#include "Setup.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -46,16 +47,24 @@ namespace detail { }; template - struct MultiConnectorDefaultContainer - { - typedef boost::ptr_map type; + struct MultiConnectorDefaultContainer + { + typedef boost::ptr_map type; + }; + + template + class MultiConnectorWrapper + : public Connector + { + private: + virtual void v_disconnected(); }; #ifndef DOXYGEN template - struct MultiConnectorDefaultContainer - { + struct MultiConnectorDefaultContainer + { typedef boost::ptr_vector type; }; @@ -63,19 +72,19 @@ namespace detail { template struct MultiConnectorSelectBase - : public boost::mpl::if_< + : public boost::mpl::if_< boost::is_base_of, ppi::detail::DisableStandardInput, ppi::detail::DisableStandardOutput > {}; template senf::mpl::rv<0> isMulticonnector(...); template senf::mpl::rv<1> isMulticonnector( - typename boost::enable_if, + typename boost::enable_if, int>::type); template senf::mpl::rv<2> isMulticonnector( - typename boost::enable_if, + typename boost::enable_if, int>::type); template @@ -112,7 +121,7 @@ namespace detail { }}}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif