X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.hh;h=1ea0f2b755c05cfc21ad13910e336ff066ea4e59;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=0d7db73e029a2182eaf6a6d0ff1ed55263f0890e;hpb=28e21cc5680c097e7daed8c412ee32cf26a75a60;p=senf.git diff --git a/PPI/DebugModules.hh b/PPI/DebugModules.hh index 0d7db73..1ea0f2b 100644 --- a/PPI/DebugModules.hh +++ b/PPI/DebugModules.hh @@ -23,8 +23,8 @@ /** \file \brief DebugModules public header */ -#ifndef HH_DebugModules_ -#define HH_DebugModules_ 1 +#ifndef HH_SENF_PPI_DebugModules_ +#define HH_SENF_PPI_DebugModules_ 1 // Custom includes #include @@ -84,7 +84,7 @@ namespace debug { ActiveSource(); - void submit(Packet packet); ///< Submit packet + void submit(Packet const & packet); ///< Submit packet /**< \pre boolean_test() is \c true */ bool boolean_test() const; ///< \c true if \a output is not throttled @@ -113,7 +113,7 @@ namespace debug { void throttle(); ///< Throttle output connector void unthrottle(); ///< Unthrottle output connector - void submit(Packet packet); ///< Enqueue packet + void submit(Packet const & packet); ///< Enqueue packet bool empty(); ///< \c true if queue is empty size_type size(); ///< Number of packets in queue @@ -229,9 +229,9 @@ namespace debug { throttled. \note ActiveFeederSink does \e not have a termination condition like ActiveFeederSource, it - relies on the network to throttle it's input. Also, the same not as for - ActiveFeederSource applies here too: You need to ensure, that no events are active - eventually or senf::ppi::run will not return. + relies on the network to throttle it's input. Additionally, the restrictions of + ActiveFeederSource apply here too: You need to ensure, that no (additional) events are + active (eventually) or senf::ppi::run will not return. ActiveFeederSink is not a module but a collection of two modules: a PassiveSink and an ActiveFeeder.