Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

DroppedPacket Class Reference
[utils - utiltity classesblackboard - blackboard related stuff]

May be published by MAC lyer to indicate why a packet was dropped. More...

#include <DroppedPacket.h>

Inherits BBItem.

Inheritance diagram for DroppedPacket:

Inheritance graph
[legend]
Collaboration diagram for DroppedPacket:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Reasons { NONE = 746216, QUEUE, CHANNEL, RETRIES }
 Possible Reasons.

Public Member Functions

Reasons getReason () const
 Get Reason.
void setReason (Reasons r)
 set the state of the radio
 DroppedPacket (Reasons r=NONE)
 Constructor.
std::string info () const
 Enables inspection.

Protected Attributes

Reasons reason
 Hold Reason why this packet was dropped.

Private Member Functions

 BBITEM_METAINFO (BBItem)

Detailed Description

May be published by MAC lyer to indicate why a packet was dropped.

Reasons: QUEUE: packet dropped because of full queue CHANNEL: packet dropped because channel could not be aquired RETRIES: packet dropped because receiver ACKs did not arrive

Author:
Andreas Köpke
See also:
Blackboard


The documentation for this class was generated from the following file:
Generated on Fri Jan 12 08:29:56 2007 for Mobility Framework by  doxygen 1.4.4