Lely core libraries
2.2.5
|
Go to the source code of this file.
Data Structures | |
class | lely::io::detail::TimerQueueWaitWrapper< F > |
class | lely::io::TimerQueueWait |
A wait operation suitable for use with a timerqueue. More... | |
class | lely::io::TimerQueue |
A timer queue. This class is a wrapper around #io_tqueue_t* . More... | |
Functions | |
template<class F > | |
typename ::std::enable_if< compat::is_invocable< F, ::std::error_code >::value, detail::TimerQueueWaitWrapper< F > * >::type | lely::io::make_timer_queue_wait_wrapper (ev_exec_t *exec, F &&f) |
Creates a wait operation with a completion task. More... | |
This header file is part of the I/O library; it contains the C++ interface for the timer queue.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file tqueue.hpp.
|
inline |
Creates a wait operation with a completion task.
The operation deletes itself after it is completed, so it MUST NOT be deleted once it is submitted to an timer.
Definition at line 73 of file tqueue.hpp.