remove TraceRoot

This commit is contained in:
Mathieu Lacage
2007-08-27 13:36:40 +02:00
parent c1b38a9203
commit ccef3f6d9f
7 changed files with 39 additions and 431 deletions

View File

@@ -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