remove TraceRoot
This commit is contained in:
@@ -29,8 +29,7 @@
|
||||
namespace ns3 {
|
||||
|
||||
class Node;
|
||||
class TraceResolver;
|
||||
class TraceContext;
|
||||
class CallbackBase;
|
||||
|
||||
class NodeListIndex : public TraceContextElement
|
||||
{
|
||||
@@ -73,19 +72,28 @@ public:
|
||||
* list.
|
||||
*/
|
||||
static Iterator End (void);
|
||||
/**
|
||||
* \param context trace context to use for trace resolver
|
||||
* to create.
|
||||
* \returns the requested trace resolver. The caller
|
||||
* takes ownership of the returned pointer.
|
||||
*/
|
||||
static Ptr<TraceResolver> GetTraceResolver (void);
|
||||
|
||||
/**
|
||||
* \param n index of requested node.
|
||||
* \returns the Node associated to index n.
|
||||
*/
|
||||
static Ptr<Node> GetNode (uint32_t n);
|
||||
/**
|
||||
* \param name namespace regexp to match
|
||||
* \param cb callback to connect
|
||||
*
|
||||
* Connect input callback to all trace sources which match
|
||||
* the input namespace regexp.
|
||||
*/
|
||||
static void Connect (std::string name, const CallbackBase &cb);
|
||||
/**
|
||||
* \param name namespace regexp to match
|
||||
* \param cb callback to connect
|
||||
*
|
||||
* Disconnect input callback from all trace sources which match
|
||||
* the input namespace regexp.
|
||||
*/
|
||||
static void Disconnect (std::string name, const CallbackBase &cb);
|
||||
private:
|
||||
};
|
||||
|
||||
}//namespace ns3
|
||||
|
||||
Reference in New Issue
Block a user