From 0ae24ebd1b2371712d153be46986e8a52f3945e3 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Mon, 14 May 2007 12:34:44 +0200 Subject: [PATCH] add some dox doc --- src/applications/onoff-application.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/applications/onoff-application.h b/src/applications/onoff-application.h index 82db582e0..c8e88831f 100644 --- a/src/applications/onoff-application.h +++ b/src/applications/onoff-application.h @@ -81,8 +81,20 @@ public: void SetMaxBytes(uint32_t maxBytes); + /** + * \param r the data rate + * + * Set the data rate to use for every OnOffApplication for which + * the user does not specify an explicit data rate. + */ static void SetDefaultRate(const DataRate & r); + /** + * \param size the packet size + * + * Set the packet size to use for every OnOffApplication for + * which the user does not specify an explicit packet size. + */ static void SetDefaultSize (uint32_t size); protected: