src/devices/point-to-point/point-to-point-net-device.h
changeset 1270 1bcaff94bf03
parent 1266 6b27f6b349ba
parent 1229 e4cfe4094c10
child 1280 8c51afddffcb
--- a/src/devices/point-to-point/point-to-point-net-device.h	Mon Aug 06 12:35:06 2007 +0200
+++ b/src/devices/point-to-point/point-to-point-net-device.h	Fri Aug 10 16:28:09 2007 +0200
@@ -38,6 +38,14 @@
 class Queue;
 class PointToPointChannel;
 
+class PointToPointTraceType : public TraceContextElement
+{
+public:
+  PointToPointTraceType ();
+  void Print (std::ostream &os) const;
+  static uint16_t GetUid (void);
+};
+
 /**
  * \class PointToPointNetDevice
  * \brief A Device for a Point to Point Network Link.
@@ -64,14 +72,6 @@
 class PointToPointNetDevice : public NetDevice {
 public:
   /**
-   * Enumeration of the types of traces supported in the class.
-   *
-   */
-  enum TraceType {
-    QUEUE, /**< Trace queue events on the attached queue */
-    RX,    /**< Trace packet reception events (from the channel) */
-  };
-  /**
    * Construct a PointToPointNetDevice
    *
    * This is the constructor for the PointToPointNetDevice.  It takes as a