X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.hh;h=1ea0f2b755c05cfc21ad13910e336ff066ea4e59;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=85e51eb6b260201e64e15a6d90241a2b36d4025d;hpb=8bc8b29a3c4c1b32b14e17d17e3f6c3ff565c9e9;p=senf.git diff --git a/PPI/DebugModules.hh b/PPI/DebugModules.hh index 85e51eb..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