|
DESERT 4.0.0
|
#include <uwUFetch_NODE.h>


Public Member Functions | |
| uwUFetch_POLL_timer (uwUFetch_NODE *m) | |
| virtual | ~uwUFetch_POLL_timer () |
Public Member Functions inherited from uwUFetch_NODE::uwUFetch_NODE_timer | |
| uwUFetch_NODE_timer (uwUFetch_NODE *m) | |
| virtual | ~uwUFetch_NODE_timer () |
| virtual void | freeze () |
| virtual void | unFreeze () |
| virtual void | stop () |
| virtual void | schedule (double val) |
| bool | isIdle () |
| bool | isRunning () |
| bool | isFroozen () |
| bool | isExpired () |
| bool | isActive () |
| void | resetCounter () |
| void | incrCounter () |
| int | getCounter () |
| double | getDuration () |
Protected Member Functions | |
| virtual void | expire (Event *e) |
Additional Inherited Members | |
Protected Attributes inherited from uwUFetch_NODE::uwUFetch_NODE_timer | |
| double | start_time |
| double | left_duration |
| int | counter |
| uwUFetch_NODE *UWUFETCH_TIMER_STATUS | timer_status |
Class inherited the method and variable of uwUFetch_NODE_timer that handle the timer of POLL packets. SN set up a time interval within It's enabled to receive a POLL packet from a specific HN. If in this time interval the HN node doesn't transmit the POLL packet the SN return in IDLE state or It start to wait the successive CBEACON packet from that HN.
|
inline |
Constructor of uwUFetch_POLL_timer class
| m | a pointer to an object of type uwUFetch_NODE |
|
inlinevirtual |
|
protectedvirtual |
Method called when the timer expire
| Event* | pointer to an object of type Event |
References uwUFetch_NODE::UWUFETCH_TIMER_STATUS_EXPIRED.