utils/print-introspected-doxygen.cc
changeset 2533 80cdc3eec057
parent 2502 50d0da37f02f
child 2540 4e9ba43f7b9e
     1.1 --- a/utils/print-introspected-doxygen.cc	Wed Feb 27 21:41:34 2008 +0100
     1.2 +++ b/utils/print-introspected-doxygen.cc	Sun Mar 02 21:57:28 2008 +0100
     1.3 @@ -5,6 +5,7 @@
     1.4  #include "ns3/point-to-point-net-device.h"
     1.5  #include "ns3/csma-net-device.h"
     1.6  #include "ns3/queue.h"
     1.7 +#include "ns3/drop-tail-queue.h"
     1.8  #include "ns3/mobility-model-notifier.h"
     1.9  #include "ns3/default-value.h"
    1.10  #include "ns3/string.h"
    1.11 @@ -123,12 +124,12 @@
    1.12    Ptr<PointToPointNetDevice> p2p = CreateObjectWith<PointToPointNetDevice> ("Node", node, 
    1.13  									    "Address", Mac48Address::Allocate ());
    1.14    node->AddDevice (p2p);
    1.15 -  p2p->AddQueue (Queue::CreateDefault ());
    1.16 +  p2p->AddQueue (CreateObject<DropTailQueue> ());
    1.17    Ptr<CsmaNetDevice> csma = CreateObjectWith<CsmaNetDevice> ("Node", node, 
    1.18  							     "Address", Mac48Address::Allocate (),
    1.19  							     "EncapsulationMode", String ("Llc"));
    1.20    node->AddDevice (csma);
    1.21 -  csma->AddQueue (Queue::CreateDefault ());
    1.22 +  csma->AddQueue (CreateObject<DropTailQueue> ());
    1.23  
    1.24    TraceResolver::SourceCollection collection;
    1.25    NodeList::GetTraceResolver ()->CollectSources ("", TraceContext (), &collection);