X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.hh;h=1ea0f2b755c05cfc21ad13910e336ff066ea4e59;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=b82644793249db92b767afcae6d6a1136977da38;hpb=412024ed31a4ab4eaea7a4165a434f8efebee325;p=senf.git diff --git a/PPI/DebugModules.hh b/PPI/DebugModules.hh index b826447..1ea0f2b 100644 --- a/PPI/DebugModules.hh +++ b/PPI/DebugModules.hh @@ -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