|
ACE
6.4.2
|
Maintains the state associated with a Timer entry. More...
#include <Timer_Queue_Iterator.h>

Public Types | |
| typedef ACE_Timer_Node_Dispatch_Info_T< TYPE > | DISPATCH_INFO |
| Useful typedef .. More... | |
Public Member Functions | |
| ACE_Timer_Node_T (void) | |
| Default constructor. More... | |
| ~ACE_Timer_Node_T (void) | |
| Destructor. More... | |
| void | set (const TYPE &type, const void *a, const ACE_Time_Value &t, const ACE_Time_Value &i, ACE_Timer_Node_T< TYPE > *n, long timer_id) |
| Singly linked list. More... | |
| void | set (const TYPE &type, const void *a, const ACE_Time_Value &t, const ACE_Time_Value &i, ACE_Timer_Node_T< TYPE > *p, ACE_Timer_Node_T< TYPE > *n, long timer_id) |
| Doubly linked list version. More... | |
| TYPE & | get_type (void) |
| Get the type. More... | |
| void | set_type (TYPE &type) |
| Set the type. More... | |
| const void * | get_act (void) |
| Get the asynchronous completion token. More... | |
| void | set_act (void *act) |
| Set the asynchronous completion token. More... | |
| const ACE_Time_Value & | get_timer_value (void) const |
| Get the timer value. More... | |
| void | set_timer_value (const ACE_Time_Value &timer_value) |
| Set the timer value. More... | |
| const ACE_Time_Value & | get_interval (void) const |
| Get the timer interval. More... | |
| void | set_interval (const ACE_Time_Value &interval) |
| Set the timer interval. More... | |
| ACE_Timer_Node_T< TYPE > * | get_prev (void) |
| Get the previous pointer. More... | |
| void | set_prev (ACE_Timer_Node_T< TYPE > *prev) |
| Set the previous pointer. More... | |
| ACE_Timer_Node_T< TYPE > * | get_next (void) |
| Get the next pointer. More... | |
| void | set_next (ACE_Timer_Node_T< TYPE > *next) |
| Set the next pointer. More... | |
| long | get_timer_id (void) const |
| Get the timer_id. More... | |
| void | set_timer_id (long timer_id) |
| Set the timer_id. More... | |
| void | get_dispatch_info (ACE_Timer_Node_Dispatch_Info_T< TYPE > &info) |
| void | dump (void) const |
| Dump the state of an TYPE. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Private Attributes | |
| TYPE | type_ |
| Type of object stored in the Queue. More... | |
| const void * | act_ |
| Asynchronous completion token associated with the timer. More... | |
| ACE_Time_Value | timer_value_ |
| Time until the timer expires. More... | |
| ACE_Time_Value | interval_ |
| ACE_Timer_Node_T< TYPE > * | prev_ |
| Pointer to previous timer. More... | |
| ACE_Timer_Node_T< TYPE > * | next_ |
| Pointer to next timer. More... | |
| long | timer_id_ |
| Id of this timer (used to cancel timers before they expire). More... | |
Maintains the state associated with a Timer entry.
| typedef ACE_Timer_Node_Dispatch_Info_T<TYPE> ACE_Timer_Node_T< TYPE >::DISPATCH_INFO |
Useful typedef ..
| ACE_Timer_Node_T< TYPE >::ACE_Timer_Node_T | ( | void | ) |
Default constructor.
| ACE_Timer_Node_T< TYPE >::~ACE_Timer_Node_T | ( | void | ) |
Destructor.
| void ACE_Timer_Node_T< TYPE >::dump | ( | void | ) | const |
Dump the state of an TYPE.
|
inline |
Get the asynchronous completion token.
|
inline |
Get the dispatch info. The dispatch information is got through info. This form helps us in preventing allocation and deleting data along the criticl path.
|
inline |
Get the timer interval.
|
inline |
Get the next pointer.
|
inline |
Get the previous pointer.
|
inline |
Get the timer_id.
|
inline |
Get the timer value.
|
inline |
Get the type.
|
inline |
Singly linked list.
|
inline |
Doubly linked list version.
|
inline |
Set the asynchronous completion token.
|
inline |
Set the timer interval.
|
inline |
Set the next pointer.
|
inline |
Set the previous pointer.
|
inline |
Set the timer_id.
|
inline |
Set the timer value.
|
inline |
Set the type.
| ACE_Timer_Node_T< TYPE >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |
Asynchronous completion token associated with the timer.
|
private |
If this is a periodic timer this holds the time until the next timeout.
|
private |
Pointer to next timer.
|
private |
Pointer to previous timer.
|
private |
Id of this timer (used to cancel timers before they expire).
|
private |
Time until the timer expires.
|
private |
Type of object stored in the Queue.
1.8.11