X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FMultiConnectorMixin.ih;h=3741bf29ed51fdb8080651424941e6e40a2ed754;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=5207defc0ca50c4a35aaadebfb72498d620764b9;hpb=0584aff454ea331f482f830c3ee16d4fdafb3ffb;p=senf.git diff --git a/senf/PPI/MultiConnectorMixin.ih b/senf/PPI/MultiConnectorMixin.ih index 5207def..3741bf2 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 @@ -46,16 +46,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 +71,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