X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.hh;h=bfa0979654ae9cd616e84be5c833ce204c3e1abb;hb=aab64270dd15a9b9a3e7dc61e076d32b6bc5c66d;hp=296dfc5dcc643182aa9a3bb43a0bbd55708f3b18;hpb=7231c220a7332754de3d16e4e8aacd5dbd31c501;p=senf.git diff --git a/PPI/DebugModules.hh b/PPI/DebugModules.hh index 296dfc5..bfa0979 100644 --- a/PPI/DebugModules.hh +++ b/PPI/DebugModules.hh @@ -28,11 +28,11 @@ // Custom includes #include -#include "Utils/SafeBool.hh" -#include "Packets/Packets.hh" +#include "../Utils/SafeBool.hh" +#include "../Packets/Packets.hh" #include "Module.hh" #include "ActiveFeeder.hh" -#include "Utils/Logger.hh" +#include "../Utils/Logger.hh" //#include "DebugModules.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -109,6 +109,9 @@ namespace debug { connector::PassiveOutput output; PassiveSource(); + + void throttle(); ///< Throttle output connector + void unthrottle(); ///< Unthrottle output connector void submit(Packet packet); ///< Enqueue packet @@ -165,9 +168,12 @@ namespace debug { typedef Queue::const_iterator iterator; connector::PassiveInput input; - + PassiveSink(); + void throttle(); ///< Throttle input connection + void unthrottle(); ///< Unthrottle input connection + bool empty(); ///< \c true, if queue is empty size_type size(); ///< number of packets in the queue iterator begin(); ///< begin iterator of packets in the queue