May be published by MAC lyer to indicate why a packet was dropped. More...
#include <DroppedPacket.h>
Inherits BBItem.

Public Types | |
| enum | Reasons { NONE = 746216, QUEUE, CHANNEL, RETRIES } |
Possible Reasons. | |
Public Member Functions | |
| virtual BBItem * | parentObject () const |
| Returns an instance of BBItem. | |
| 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. | |
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
Definition at line 40 of file DroppedPacket.h.
| virtual BBItem* DroppedPacket::parentObject | ( | ) | const [inline, virtual] |
Returns an instance of BBItem.
This method is used to get a kind of class hierarchy at runtime.
Reimplemented from BBItem.
Definition at line 42 of file DroppedPacket.h.
:
1.7.1