L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
Block_device::Errand::Poll_errand Class Reference

Wrapper for a regularly repeated task. More...

#include <errand.h>

+ Inheritance diagram for Block_device::Errand::Poll_errand:
+ Collaboration diagram for Block_device::Errand::Poll_errand:

Public Member Functions

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

Detailed Description

Wrapper for a regularly repeated task.

Definition at line 42 of file errand.h.

Member Function Documentation

◆ expired()

void Block_device::Errand::Poll_errand::expired ( )
inlinefinalvirtual

callback function to be called when timeout happened

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

Implements L4::Ipc_svr::Timeout.

Definition at line 47 of file errand.h.

References L4::Runtime_error::str().

+ Here is the call graph for this function:

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