Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(818)

Unified Diff: examples/wireless/rate-adaptation-distance.cc

Issue 318430043: final updates to correct doxygen warnings for the examples module (Closed)
Patch Set: Updates to correct doxygen warnings for latest external changes. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/wireless/power-adaptation-interference.cc ('k') | examples/wireless/wifi-adhoc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/wireless/rate-adaptation-distance.cc
===================================================================
--- a/examples/wireless/rate-adaptation-distance.cc
+++ b/examples/wireless/rate-adaptation-distance.cc
@@ -65,20 +65,55 @@
class NodeStatistics
{
public:
+ /**
+ * Constructor
+ * \param aps the collection of APs
+ * \param stas the collection of STAs
+ */
NodeStatistics (NetDeviceContainer aps, NetDeviceContainer stas);
+ /**
+ * Check statistics function
+ * \param time the tiame to get statistics
+ */
void CheckStatistics (double time);
+ /**
+ * Receive callback function
+ * \param path the path name
+ * \param packet the packet
+ * \param from the from address
+ */
void RxCallback (std::string path, Ptr<const Packet> packet, const Address &from);
+ /**
+ * Set positionfunction
+ * \param node the node
+ * \param position the position vector
+ */
void SetPosition (Ptr<Node> node, Vector position);
+ /**
+ * Advance position function
+ * \param node the node
+ * \param stepsSize the steps size
+ * \param stepsTime the steps time
+ */
void AdvancePosition (Ptr<Node> node, int stepsSize, int stepsTime);
+ /**
+ * Get position function
+ * \param node the node
+ * \returns the postition vector
+ */
Vector GetPosition (Ptr<Node> node);
+ /**
+ * Get data file function
+ * \returns the dataset
+ */
Gnuplot2dDataset GetDatafile ();
private:
- uint32_t m_bytesTotal;
- Gnuplot2dDataset m_output;
+ uint32_t m_bytesTotal; ///< total bytes received
+ Gnuplot2dDataset m_output; ///< output data set
};
NodeStatistics::NodeStatistics (NetDeviceContainer aps, NetDeviceContainer stas)
« no previous file with comments | « examples/wireless/power-adaptation-interference.cc ('k') | examples/wireless/wifi-adhoc.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b