replace ComponentManager::Create and ClassId with InterfaceId::CreateObjest and InterfaceId
This commit is contained in:
1 parent
52ad49bc67
commit
768cb46c73
45 files changed
+208
-1197
No files matched your search
@@ -24,9 +24,15 @@ NS_LOG_COMPONENT_DEFINE ("DropTailQueue");
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
const ClassId DropTailQueue::cid =
|
||||
MakeClassId<DropTailQueue> ("DropTailQueue", Queue::iid ());
|
||||
NS_OBJECT_ENSURE_REGISTERED (DropTailQueue);
|
||||
|
||||
InterfaceId DropTailQueue::iid (void)
|
||||
{
|
||||
static InterfaceId iid = InterfaceId ("DropTailQueue")
|
||||
.SetParent<Queue> ()
|
||||
.AddConstructor<DropTailQueue> ();
|
||||
return iid;
|
||||
}
|
||||
|
||||
DropTailQueue::DropTailQueue () :
|
||||
Queue (),
|
||||
|
||||
Reference in new issue
Block a user