#include <reactor_op_queue.hpp>
Classes | |
class | op |
class | op_base |
Public Member Functions | |
bool | cancel_operations (Descriptor descriptor) |
void | complete_operations () |
void | destroy_operations () |
bool | empty () const |
template<typename Operation > | |
bool | enqueue_operation (Descriptor descriptor, Operation operation) |
template<typename Descriptor_Set > | |
void | get_descriptors (Descriptor_Set &descriptors) |
bool | has_operation (Descriptor descriptor) const |
void | perform_all_operations (Descriptor descriptor, const asio::error_code &result) |
void | perform_cancellations () |
bool | perform_operation (Descriptor descriptor, const asio::error_code &result) |
template<typename Descriptor_Set > | |
void | perform_operations_for_descriptors (const Descriptor_Set &descriptors, const asio::error_code &result) |
reactor_op_queue () | |
Private Types | |
typedef hash_map< Descriptor, op_base * > | operation_map |
Private Attributes | |
op_base * | cancelled_operations_ |
op_base * | complete_operations_ |
operation_map | operations_ |
Definition at line 33 of file reactor_op_queue.hpp.
typedef hash_map<Descriptor, op_base*> asio::detail::reactor_op_queue< Descriptor >::operation_map [private] |
Definition at line 437 of file reactor_op_queue.hpp.
asio::detail::reactor_op_queue< Descriptor >::reactor_op_queue | ( | ) | [inline] |
Definition at line 38 of file reactor_op_queue.hpp.
bool asio::detail::reactor_op_queue< Descriptor >::cancel_operations | ( | Descriptor | descriptor | ) | [inline] |
Definition at line 79 of file reactor_op_queue.hpp.
void asio::detail::reactor_op_queue< Descriptor >::complete_operations | ( | ) | [inline] |
Definition at line 241 of file reactor_op_queue.hpp.
void asio::detail::reactor_op_queue< Descriptor >::destroy_operations | ( | ) | [inline] |
Definition at line 253 of file reactor_op_queue.hpp.
bool asio::detail::reactor_op_queue< Descriptor >::empty | ( | ) | const [inline] |
Definition at line 97 of file reactor_op_queue.hpp.
bool asio::detail::reactor_op_queue< Descriptor >::enqueue_operation | ( | Descriptor | descriptor, |
Operation | operation | ||
) | [inline] |
Definition at line 49 of file reactor_op_queue.hpp.
void asio::detail::reactor_op_queue< Descriptor >::get_descriptors | ( | Descriptor_Set & | descriptors | ) | [inline] |
Definition at line 178 of file reactor_op_queue.hpp.
bool asio::detail::reactor_op_queue< Descriptor >::has_operation | ( | Descriptor | descriptor | ) | const [inline] |
Definition at line 103 of file reactor_op_queue.hpp.
void asio::detail::reactor_op_queue< Descriptor >::perform_all_operations | ( | Descriptor | descriptor, |
const asio::error_code & | result | ||
) | [inline] |
Definition at line 148 of file reactor_op_queue.hpp.
void asio::detail::reactor_op_queue< Descriptor >::perform_cancellations | ( | ) | [inline] |
Definition at line 228 of file reactor_op_queue.hpp.
bool asio::detail::reactor_op_queue< Descriptor >::perform_operation | ( | Descriptor | descriptor, |
const asio::error_code & | result | ||
) | [inline] |
Definition at line 110 of file reactor_op_queue.hpp.
void asio::detail::reactor_op_queue< Descriptor >::perform_operations_for_descriptors | ( | const Descriptor_Set & | descriptors, |
const asio::error_code & | result | ||
) | [inline] |
Definition at line 196 of file reactor_op_queue.hpp.
op_base* asio::detail::reactor_op_queue< Descriptor >::cancelled_operations_ [private] |
Definition at line 443 of file reactor_op_queue.hpp.
op_base* asio::detail::reactor_op_queue< Descriptor >::complete_operations_ [private] |
Definition at line 446 of file reactor_op_queue.hpp.
operation_map asio::detail::reactor_op_queue< Descriptor >::operations_ [private] |
Definition at line 440 of file reactor_op_queue.hpp.