ns3::TraceSourceAccessor Class Reference
[Tracing]
control access to objects' trace sources
More...
#include <trace-source-accessor.h>
List of all members.
Detailed Description
control access to objects' trace sources
This class abstracts the kind of trace source to which we want to connect and provides services to Connect and Disconnect a sink to a trace source.
Member Function Documentation
virtual bool ns3::TraceSourceAccessor::Connect |
( |
ObjectBase * |
obj, |
|
|
std::string |
context, |
|
|
const CallbackBase & |
cb | |
|
) |
| | const [pure virtual] |
- Parameters:
-
| obj | the object instance which contains the target trace source. |
| context | the context to bind to the user callback. |
| cb | the callback to connect to the target trace source. |
virtual bool ns3::TraceSourceAccessor::ConnectWithoutContext |
( |
ObjectBase * |
obj, |
|
|
const CallbackBase & |
cb | |
|
) |
| | const [pure virtual] |
- Parameters:
-
| obj | the object instance which contains the target trace source. |
| cb | the callback to connect to the target trace source. |
virtual bool ns3::TraceSourceAccessor::Disconnect |
( |
ObjectBase * |
obj, |
|
|
std::string |
context, |
|
|
const CallbackBase & |
cb | |
|
) |
| | const [pure virtual] |
- Parameters:
-
| obj | the object instance which contains the target trace source. |
| context | the context which was bound to the user callback. |
| cb | the callback to disconnect from the target trace source. |
virtual bool ns3::TraceSourceAccessor::DisconnectWithoutContext |
( |
ObjectBase * |
obj, |
|
|
const CallbackBase & |
cb | |
|
) |
| | const [pure virtual] |
- Parameters:
-
| obj | the object instance which contains the target trace source. |
| cb | the callback to disconnect from the target trace source. |
The documentation for this class was generated from the following file:
- src/core/trace-source-accessor.h