src/core/model/scheduler.cc
changeset 9134 7a750f032acd
parent 7383 c5e131450339
child 9138 967a214aeb54
equal deleted inserted replaced
9133:bcf7cef191c1 9134:7a750f032acd
    18  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
    18  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
    19  */
    19  */
    20 
    20 
    21 #include "scheduler.h"
    21 #include "scheduler.h"
    22 #include "assert.h"
    22 #include "assert.h"
       
    23 #include "log.h"
       
    24 
       
    25 NS_LOG_COMPONENT_DEFINE ("Scheduler");
    23 
    26 
    24 namespace ns3 {
    27 namespace ns3 {
    25 
    28 
    26 NS_OBJECT_ENSURE_REGISTERED (Scheduler);
    29 NS_OBJECT_ENSURE_REGISTERED (Scheduler);
    27 
    30 
    28 Scheduler::~Scheduler ()
    31 Scheduler::~Scheduler ()
    29 {
    32 {
       
    33   NS_LOG_FUNCTION (this);
    30 }
    34 }
    31 
    35 
    32 TypeId
    36 TypeId
    33 Scheduler::GetTypeId (void)
    37 Scheduler::GetTypeId (void)
    34 {
    38 {
       
    39   NS_LOG_FUNCTION_NOARGS ();
    35   static TypeId tid = TypeId ("ns3::Scheduler")
    40   static TypeId tid = TypeId ("ns3::Scheduler")
    36     .SetParent<Object> ()
    41     .SetParent<Object> ()
    37   ;
    42   ;
    38   return tid;
    43   return tid;
    39 }
    44 }