X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FAnnotationRouter.hh;h=fa4fbc5f5afb827de6f3848beca284873edfc158;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=6f4300c87e1e01d2b4b6b05d0e010a9b2000abd4;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/PPI/AnnotationRouter.hh b/senf/PPI/AnnotationRouter.hh index 6f4300c..fa4fbc5 100644 --- a/senf/PPI/AnnotationRouter.hh +++ b/senf/PPI/AnnotationRouter.hh @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -62,10 +62,10 @@ namespace module { { senf::MACAddress mac; - bool operator< (TargetInterface const & other) + bool operator< (TargetInterface const & other) { return mac < other.mac; } - TargetInterface(senf::MACAddress const & m) + TargetInterface(senf::MACAddress const & m) : mac (m) {} }; @@ -91,11 +91,11 @@ namespace module { \ingroup routing_modules \todo Call Module::v_init() on every connection change and remove disconnected connections - from the container + from the container */ template - class AnnotationRouter - : public Module, + class AnnotationRouter + : public Module, public MultiConnectorMixin< AnnotationRouter, connector::ActiveOutput<>, AnnotationType > @@ -108,7 +108,7 @@ namespace module { AnnotationRouter(); struct DuplicateKeyException : public senf::Exception - { DuplicateKeyException(AnnotationType const & key) + { DuplicateKeyException(AnnotationType const & key) : senf::Exception("Duplicate senf::ppi::module::AnnotationRouter routing key ") { append( senf::str(key)); } };