add doxygen for each TraceSourceElement subclass
This commit is contained in:
1 parent
c27d67b37c
commit
697a3aa2b4
8 files changed
+63
No files matched your search
@@ -32,6 +32,9 @@ class Node;
|
||||
class CallbackBase;
|
||||
class TraceResolver;
|
||||
|
||||
/**
|
||||
* \brief hold in a TraceContext the index of a node within a NodeList.
|
||||
*/
|
||||
class NodeListIndex : public TraceContextElement
|
||||
{
|
||||
public:
|
||||
@@ -39,6 +42,9 @@ public:
|
||||
NodeListIndex (uint32_t index);
|
||||
void Print (std::ostream &os);
|
||||
static uint16_t GetUid (void);
|
||||
/**
|
||||
* \returns the index of the node within the NodeList
|
||||
*/
|
||||
uint32_t Get (void) const;
|
||||
std::string GetTypeName (void) const;
|
||||
private:
|
||||
|
||||
@@ -37,11 +37,17 @@ class Packet;
|
||||
class Address;
|
||||
class CompositeTraceResolver;
|
||||
|
||||
/**
|
||||
* \brief hold in a TraceContext the index of a NetDevice within a Node
|
||||
*/
|
||||
class NodeNetDeviceIndex : public TraceContextElement
|
||||
{
|
||||
public:
|
||||
NodeNetDeviceIndex ();
|
||||
NodeNetDeviceIndex (uint32_t index);
|
||||
/**
|
||||
* \returns the index of the NetDevice within its container Node.
|
||||
*/
|
||||
uint32_t Get (void) const;
|
||||
void Print (std::ostream &os) const;
|
||||
std::string GetTypeName (void) const;
|
||||
|
||||
@@ -37,6 +37,9 @@ namespace ns3 {
|
||||
|
||||
class StringEnumDefaultValue;
|
||||
|
||||
/**
|
||||
* \brief hold in a TraceContext the type of a trace source
|
||||
*/
|
||||
class QueueTraceType : public TraceContextElement
|
||||
{
|
||||
public:
|
||||
@@ -48,8 +51,17 @@ public:
|
||||
static uint16_t GetUid (void);
|
||||
QueueTraceType ();
|
||||
QueueTraceType (enum Type type);
|
||||
/**
|
||||
* \returns true if this is an enqueue event, false otherwise.
|
||||
*/
|
||||
bool IsEnqueue (void) const;
|
||||
/**
|
||||
* \returns true if this is a dequeue event, false otherwise.
|
||||
*/
|
||||
bool IsDequeue (void) const;
|
||||
/**
|
||||
* \returns true if this is a drop event, false otherwise.
|
||||
*/
|
||||
bool IsDrop (void) const;
|
||||
void Print (std::ostream &os) const;
|
||||
std::string GetTypeName (void) const;
|
||||
|
||||
Reference in new issue
Block a user