L4Re - L4 Runtime Environment
L4::Ipc_svr::Timeout Class Referenceabstract

Callback interface for Timeout_queue. More...

+ Inheritance diagram for L4::Ipc_svr::Timeout:
+ Collaboration diagram for L4::Ipc_svr::Timeout:

Public Member Functions

 Timeout ()
 Make a timeout.
virtual ~Timeout ()=0
 Destroy a timeout.
virtual void expired ()=0
 callback function to be called when timeout happened More...
l4_kernel_clock_t timeout () const
 return absolute timeout of this callback. More...
- Public Member Functions inherited from cxx::H_list_item_t< ELEM_TYPE >
 H_list_item_t ()
 Constructor. More...
 ~H_list_item_t () noexcept
 Destructor. More...

Detailed Description

Callback interface for Timeout_queue.

Definition at line 20 of file ipc_timeout_queue.

Member Function Documentation

◆ expired()

virtual void L4::Ipc_svr::Timeout::expired ( )
pure virtual

callback function to be called when timeout happened

The timeout object is already dequeued when this function is called, this means the timeout may be safely again within the expired() function.

◆ timeout()

l4_kernel_clock_t L4::Ipc_svr::Timeout::timeout ( ) const

return absolute timeout of this callback.

absolute timeout for this instance of the timeout.
The timeout object must have been in a queue before, otherwise the timeout is not set.

Definition at line 43 of file ipc_timeout_queue.

The documentation for this class was generated from the following file: