1.1 --- a/src/node/node-list.cc Wed Apr 09 09:08:54 2008 -0700
1.2 +++ b/src/node/node-list.cc Wed Apr 09 10:01:16 2008 -0700
1.3 @@ -22,11 +22,14 @@
1.4 #include "ns3/simulator.h"
1.5 #include "ns3/object-vector.h"
1.6 #include "ns3/config.h"
1.7 +#include "ns3/log.h"
1.8 #include "node-list.h"
1.9 #include "node.h"
1.10
1.11 namespace ns3 {
1.12
1.13 +NS_LOG_COMPONENT_DEFINE ("NodeList");
1.14 +
1.15
1.16 /**
1.17 * The private node list used by the static-based API
1.18 @@ -85,15 +88,19 @@
1.19 void
1.20 NodeListPriv::Delete (void)
1.21 {
1.22 + NS_LOG_FUNCTION;
1.23 Config::UnregisterRootNamespaceObject (Get ());
1.24 (*DoGet ()) = 0;
1.25 }
1.26
1.27
1.28 NodeListPriv::NodeListPriv ()
1.29 -{}
1.30 +{
1.31 + NS_LOG_FUNCTION;
1.32 +}
1.33 NodeListPriv::~NodeListPriv ()
1.34 {
1.35 + NS_LOG_FUNCTION;
1.36 for (std::vector<Ptr<Node> >::iterator i = m_nodes.begin ();
1.37 i != m_nodes.end (); i++)
1.38 {