src/node/queue.cc
changeset 2251 04963d8cca51
parent 2250 18f432098389
child 2252 80595448707a
equal deleted inserted replaced
2250:18f432098389 2251:04963d8cca51
    26 NS_LOG_COMPONENT_DEFINE ("Queue");
    26 NS_LOG_COMPONENT_DEFINE ("Queue");
    27 
    27 
    28 namespace ns3 {
    28 namespace ns3 {
    29 
    29 
    30 static TypeIdDefaultValue g_interfaceIdDefaultValue ("Queue", "Packet Queue",
    30 static TypeIdDefaultValue g_interfaceIdDefaultValue ("Queue", "Packet Queue",
    31                                                           Queue::iid (), "DropTailQueue");
    31                                                           Queue::GetTypeId (), "DropTailQueue");
    32 
    32 
    33 NS_OBJECT_ENSURE_REGISTERED (Queue);
    33 NS_OBJECT_ENSURE_REGISTERED (Queue);
    34 
    34 
    35 
    35 
    36 std::string 
    36 std::string 
    97     break;
    97     break;
    98   }
    98   }
    99 }
    99 }
   100 
   100 
   101 TypeId 
   101 TypeId 
   102 Queue::iid (void)
   102 Queue::GetTypeId (void)
   103 {
   103 {
   104   static TypeId iid = TypeId ("Queue")
   104   static TypeId iid = TypeId ("Queue")
   105     .SetParent<Object> ();
   105     .SetParent<Object> ();
   106   return iid;
   106   return iid;
   107 }
   107 }