src/node/net-device.h
changeset 607 1b7abeccfcda
parent 597 4c8f1400f629
child 710 2a9c061219a7
--- a/src/node/net-device.h	Mon May 14 09:26:51 2007 +0200
+++ b/src/node/net-device.h	Mon May 14 10:06:12 2007 +0200
@@ -31,7 +31,7 @@
 
 namespace ns3 {
 
-class Node;
+class INode;
 class TraceResolver;
 class TraceContext;
 class Channel;
@@ -166,7 +166,7 @@
    * base class to print the nodeid for example, it can invoke
    * this method.
    */
-  Ptr<Node> GetNode (void) const;
+  Ptr<INode> GetINode (void) const;
 
   /**
    * \returns true if ARP is needed, false otherwise.
@@ -187,7 +187,7 @@
    * \param node base class node pointer of device's node 
    * \param addr MAC address of this device.
    */
-  NetDevice(Ptr<Node> node, const MacAddress& addr);
+  NetDevice(Ptr<INode> node, const MacAddress& addr);
   /**
    * Enable broadcast support. This method should be
    * called by subclasses from their constructor
@@ -279,7 +279,7 @@
    */
   virtual Ptr<Channel> DoGetChannel (void) const = 0;
 
-  Ptr<Node>         m_node;
+  Ptr<INode>         m_node;
   std::string   m_name;
   uint16_t      m_ifIndex;
   MacAddress    m_address;