From 32cd28829aa39934f338e5b406ada642b1b2a6f1 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Wed, 8 Aug 2007 12:34:18 +0200 Subject: [PATCH] fix dox warning --- src/core/callback.h | 2 +- src/core/random-variable.h | 1 + src/node/ipv4-address.h | 2 +- src/simulator/scheduler.h | 9 +++------ 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/core/callback.h b/src/core/callback.h index 79597cca0..94e58ca92 100644 --- a/src/core/callback.h +++ b/src/core/callback.h @@ -358,7 +358,7 @@ private: /** * \ingroup MakeCallback - * \param mem_ptr class method member pointer + * \param memPtr class method member pointer * \param objPtr class instance * \return a wrapper Callback * Build Callbacks for class method members which takes no arguments diff --git a/src/core/random-variable.h b/src/core/random-variable.h index 7759ea157..ce4cebd4d 100644 --- a/src/core/random-variable.h +++ b/src/core/random-variable.h @@ -772,6 +772,7 @@ public: /** * \param s Low end of the range * \param l High end of the range + * \param mean mean of the distribution * \return A triangularly distributed random number between s and l */ static double GetSingleValue(double s, double l, double mean); diff --git a/src/node/ipv4-address.h b/src/node/ipv4-address.h index 8bf91f5c9..6589edcf9 100644 --- a/src/node/ipv4-address.h +++ b/src/node/ipv4-address.h @@ -116,7 +116,7 @@ public: * (bitwise and) with a network mask, yielding an IPv4 network * address. * - * \param a network mask + * \param mask a network mask */ Ipv4Address CombineMask (Ipv4Mask const &mask) const; diff --git a/src/simulator/scheduler.h b/src/simulator/scheduler.h index 33917a870..d8dea8672 100644 --- a/src/simulator/scheduler.h +++ b/src/simulator/scheduler.h @@ -58,9 +58,7 @@ class Scheduler { virtual ~Scheduler () = 0; /** - * \param event event to store in the event list - * \param key timecode associated to this new event - * \returns an event id which identifies the event inserted + * \param id event to store in the event list * * This method takes ownership of the event pointer. */ @@ -83,9 +81,8 @@ class Scheduler { virtual EventId RemoveNext (void) = 0; /** * \param id the id of the event to remove - * \param key the timecode of the event removed - * \returns a pointer to the event removed. The caller - * takes ownership of the returned pointer. + * \returns true if the id was found and removed + * successfully, false otherwise. * * This methods cannot be invoked if the list is empty. */