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

Unified Diff: src/netanim/model/animation-interface.h

Issue 28950043: Node's remaining energy tracing for visualization in NetAnim
Patch Set: Whitespaces added according to the coding standard after review Created 10 years, 3 months 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 | « src/netanim/examples/wireless-animation.cc ('k') | src/netanim/model/animation-interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/netanim/model/animation-interface.h
===================================================================
--- a/src/netanim/model/animation-interface.h
+++ b/src/netanim/model/animation-interface.h
@@ -138,7 +138,7 @@
*
* \returns reference to this AnimationInterface object
*/
- AnimationInterface & EnableIpv4RouteTracking (std::string fileName, Time startTime, Time stopTime, Time pollInterval = Seconds(5));
+ AnimationInterface & EnableIpv4RouteTracking (std::string fileName, Time startTime, Time stopTime, Time pollInterval = Seconds (5));
/**
* \brief Enable tracking of the Ipv4 routing table for a set of Nodes
@@ -152,7 +152,7 @@
*
* \returns reference to this AnimationInterface object
*/
- AnimationInterface & EnableIpv4RouteTracking (std::string fileName, Time startTime, Time stopTime, NodeContainer nc, Time pollInterval = Seconds(5));
+ AnimationInterface & EnableIpv4RouteTracking (std::string fileName, Time startTime, Time stopTime, NodeContainer nc, Time pollInterval = Seconds (5));
/**
* \brief Check if AnimationInterface is initialized
@@ -630,7 +630,7 @@
EnergyFractionMap m_nodeEnergyFraction;
uint64_t m_currentPktCount;
- void StartNewTraceFile();
+ void StartNewTraceFile ();
std::string GetMacAddress (Ptr <NetDevice> nd);
std::string GetIpv4Address (Ptr <NetDevice> nd);
@@ -669,9 +669,9 @@
std::string GetXMLOpenClose_routing (uint32_t id, std::string routingInfo);
std::string GetXMLOpenClose_rp (uint32_t nodeId, std::string destination, Ipv4RoutePathElements rpElements);
- void AppendXMLNodeDescription(std::ostream& ostream, uint32_t id) const;
- void AppendXMLNodeColor(std::ostream& ostream, const Rgb& color) const;
- void AppendXMLRemainingEnergy(std::ostream& ostream, uint32_t id) const;
+ void AppendXMLNodeDescription (std::ostream& ostream, uint32_t id) const;
+ void AppendXMLNodeColor (std::ostream& ostream, const Rgb& color) const;
+ void AppendXMLRemainingEnergy (std::ostream& ostream, uint32_t id) const;
/// Provides uniform random variables.
Ptr<UniformRandomVariable> m_uniformRandomVariable;
« no previous file with comments | « src/netanim/examples/wireless-animation.cc ('k') | src/netanim/model/animation-interface.cc » ('j') | no next file with comments »

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