Helper storage for responses' contexts.
More...
#include <response_coordinator.hpp>
Helper storage for responses' contexts.
Definition at line 156 of file response_coordinator.hpp.
◆ response_context_table_t()
restinio::impl::response_context_table_t::response_context_table_t |
( |
std::size_t |
max_elements_count | ) |
|
|
inline |
◆ back()
◆ empty()
bool restinio::impl::response_context_table_t::empty |
( |
| ) |
const |
|
inlinenoexcept |
◆ front()
◆ get_by_req_id()
◆ get_real_index()
std::size_t restinio::impl::response_context_table_t::get_real_index |
( |
request_id_t |
req_id | ) |
|
|
inlineprivatenoexcept |
◆ is_full()
bool restinio::impl::response_context_table_t::is_full |
( |
| ) |
const |
|
inlinenoexcept |
◆ pop_response_context()
void restinio::impl::response_context_table_t::pop_response_context |
( |
| ) |
|
|
inline |
◆ pop_response_context_nonchecked()
void restinio::impl::response_context_table_t::pop_response_context_nonchecked |
( |
| ) |
|
|
inlinenoexcept |
Remove the first context from queue with the check for emptiness of the queue.
- Note
- This method is noexcept and indended to be used in noexcept context. But the emptiness of the queue should be checked before the call of this method.
- Since
- v.0.6.0
Definition at line 252 of file response_coordinator.hpp.
◆ push_response_context()
void restinio::impl::response_context_table_t::push_response_context |
( |
request_id_t |
req_id | ) |
|
|
inline |
◆ m_contexts
◆ m_elements_exists
std::size_t restinio::impl::response_context_table_t::m_elements_exists {0} |
|
private |
◆ m_first_element_index
std::size_t restinio::impl::response_context_table_t::m_first_element_index {0} |
|
private |
The documentation for this class was generated from the following file: