Reference

ACE_Timer_Hash_Upcall(3)

Functor for Timer_Hash

NAME

ACE_Timer_Hash_Upcall - Functor for Timer_Hash

SYNOPSIS

#include <ace/Timer_Hash_T.h>
template<class TYPE, class FUNCTOR, class ACE_LOCK>
class ACE_Timer_Hash_Upcall
{
  public:
        typedef ACE_Timer_Queue_T<ACE_Event_Handler *, ACE_Timer_Hash_Upcall<TYPE, FUNCTOR, ACE_LOCK>, ACE_Null_Mutex> TIMER_QUEUE;
        
    ACE_Timer_Hash_Upcall (void);
    ACE_Timer_Hash_Upcall (
        ACE_Timer_Queue_T<TYPE, FUNCTOR, ACE_LOCK> *timer_hash
        );
    int timeout (
        TIMER_QUEUE &timer_queue,
        ACE_Event_Handler *handler,
        const void *arg,
        const ACE_Time_Value &cur_time
        );
    int cancellation (
        TIMER_QUEUE &timer_queue,
        ACE_Event_Handler *handler
        );
    int deletion (
        TIMER_QUEUE &timer_queue,
        ACE_Event_Handler *handler,
        const void *arg
        );
  private:
    ACE_Timer_Queue_T<TYPE, FUNCTOR, ACE_LOCK> *timer_hash_;
    inline ACE_UNIMPLEMENTED_FUNC (
        ACE_Timer_Hash_Upcall (const ACE_Timer_Hash_Upcall<TYPE, FUNCTOR, ACE_LOCK> &)
        );
};

DESCRIPTION

This class calls up to the Timer Hash's functor from the timer queues in the hash table

Don't allow these operations for now.

inline ACE_UNIMPLEMENTED_FUNC (
    ACE_Timer_Hash_Upcall (const ACE_Timer_Hash_Upcall<TYPE, FUNCTOR, ACE_LOCK> &)
    );

AUTHOR

Darrell Brunsch [email protected]

LIBRARY

ace