---
name: "ACE_Timer_Hash_Upcall"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Timer_Hash_Upcall"
---

# 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 brunsch@cs.wustl.edu

## LIBRARY

ace
