--- a/src/node/node-list.cc Wed Apr 09 09:08:54 2008 -0700
+++ b/src/node/node-list.cc Wed Apr 09 10:01:16 2008 -0700
@@ -22,11 +22,14 @@
#include "ns3/simulator.h"
#include "ns3/object-vector.h"
#include "ns3/config.h"
+#include "ns3/log.h"
#include "node-list.h"
#include "node.h"
namespace ns3 {
+NS_LOG_COMPONENT_DEFINE ("NodeList");
+
/**
* The private node list used by the static-based API
@@ -85,15 +88,19 @@
void
NodeListPriv::Delete (void)
{
+ NS_LOG_FUNCTION;
Config::UnregisterRootNamespaceObject (Get ());
(*DoGet ()) = 0;
}
NodeListPriv::NodeListPriv ()
-{}
+{
+ NS_LOG_FUNCTION;
+}
NodeListPriv::~NodeListPriv ()
{
+ NS_LOG_FUNCTION;
for (std::vector<Ptr<Node> >::iterator i = m_nodes.begin ();
i != m_nodes.end (); i++)
{