src/stats/model/boolean-probe.cc
changeset 10978 754c8256c35c
parent 10968 2d29fee2b7b8
child 11378 065b8e0b075e
equal deleted inserted replaced
10977:f35701d8a0a0 10978:754c8256c35c
    40   static TypeId tid = TypeId ("ns3::BooleanProbe")
    40   static TypeId tid = TypeId ("ns3::BooleanProbe")
    41     .SetParent<Probe> ()
    41     .SetParent<Probe> ()
    42     .AddConstructor<BooleanProbe> ()
    42     .AddConstructor<BooleanProbe> ()
    43     .AddTraceSource ( "Output",
    43     .AddTraceSource ( "Output",
    44                       "The bool that serves as output for this probe",
    44                       "The bool that serves as output for this probe",
    45                       MakeTraceSourceAccessor (&BooleanProbe::m_output))
    45                       MakeTraceSourceAccessor (&BooleanProbe::m_output),
       
    46                       "ns3::TracedValue::BoolCallback")
    46   ;
    47   ;
    47   return tid;
    48   return tid;
    48 }
    49 }
    49 
    50 
    50 BooleanProbe::BooleanProbe ()
    51 BooleanProbe::BooleanProbe ()