add application tracing support

This commit is contained in:
Mathieu Lacage
2007-12-11 13:51:03 +01:00
parent df27c80c72
commit 3262a4e103
6 changed files with 88 additions and 1 deletions

View File

@@ -57,6 +57,25 @@ private:
uint32_t m_index;
};
/**
* \brief hold in a TraceContext the index of an Application within a Node
*/
class NodeApplicationIndex : public TraceContextElement
{
public:
NodeApplicationIndex ();
NodeApplicationIndex (uint32_t index);
/**
* \returns the index of the Application within its container Node.
*/
uint32_t Get (void) const;
void Print (std::ostream &os) const;
std::string GetTypeName (void) const;
static uint16_t GetUid (void);
private:
uint32_t m_index;
};
/**
* \brief A network Node.
*