X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FRateFilter.hh;h=9877124b38cd03f9a2258d27b251fbe2a3f6d342;hb=42a8e0da20196d7e74d701c1fb448a9946014686;hp=bd681701ad632cbe9e053e580f9a8b681dda2205;hpb=412024ed31a4ab4eaea7a4165a434f8efebee325;p=senf.git diff --git a/PPI/RateFilter.hh b/PPI/RateFilter.hh index bd68170..9877124 100644 --- a/PPI/RateFilter.hh +++ b/PPI/RateFilter.hh @@ -17,14 +17,20 @@ // along with this program; if not, write to the // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +/** \file + \brief RateFilter public header */ + #ifndef HH_SENF_PPI_RateFilter_ -#define HH_SENF_PPI_RateFilter_ +#define HH_SENF_PPI_RateFilter_ 1 // Custom includes #include "Connectors.hh" #include "Module.hh" #include "IntervalTimer.hh" +//#include "RateFilter.mpp" +///////////////////////////////hh.p//////////////////////////////////////// namespace senf { namespace ppi { @@ -34,19 +40,35 @@ class RateFilter : public Module { SENF_PPI_MODULE(RateFilter); -public: - - connector::ActiveInput<> input; - connector::ActiveOutput<> output; +public: RateFilter(senf::ClockService::clock_type interval); // void changeInterval(senf::ClockService::clock_type interval); not yet implemented! + senf::ClockService::clock_type interval() const; + + connector::ActiveInput<> input; + connector::ActiveOutput<> output; private: void timeout(); - ppi::IntervalTimer timer; + ppi::IntervalTimer timer_; }; }}} //namespaces -#endif /*HH_SENF_PPI_RateFilter_*/ +///////////////////////////////hh.e//////////////////////////////////////// +//#include "RateFilter.cci" +//#include "RateFilter.ct" +//#include "RateFilter.cti" +#endif + + +// Local Variables: +// mode: c++ +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 +// End: