work in progress towards a working trace context
This commit is contained in:
1 parent
03d6425976
commit
8648af261e
14 files changed
+340
-144
No files matched your search
+14
-2
@@ -23,7 +23,7 @@
|
||||
#define NODE_LIST_H
|
||||
|
||||
#include <vector>
|
||||
#include "ns3/array-trace-resolver.h"
|
||||
#include "ns3/trace-context-element.h"
|
||||
#include "ns3/ptr.h"
|
||||
|
||||
namespace ns3 {
|
||||
@@ -32,6 +32,19 @@ class Node;
|
||||
class TraceResolver;
|
||||
class TraceContext;
|
||||
|
||||
class NodeListIndex : public TraceContextElement
|
||||
{
|
||||
public:
|
||||
NodeListIndex ();
|
||||
NodeListIndex (uint32_t index);
|
||||
void Print (std::ostream &os);
|
||||
static uint16_t GetUid (void);
|
||||
uint32_t Get (void) const;
|
||||
private:
|
||||
uint32_t m_index;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* \brief the list of simulation nodes.
|
||||
*
|
||||
@@ -40,7 +53,6 @@ class TraceContext;
|
||||
class NodeList
|
||||
{
|
||||
public:
|
||||
typedef ArrayTraceResolver<Node>::Index NodeIndex;
|
||||
typedef std::vector< Ptr<Node> >::iterator Iterator;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user