Realistic 3D camera system
3D camera system components
|
Default service implementation for a resolver. More...
#include <resolver_service.hpp>
Public Types | |
typedef InternetProtocol | protocol_type |
The protocol type. More... | |
typedef InternetProtocol::endpoint | endpoint_type |
The endpoint type. More... | |
typedef basic_resolver_query< InternetProtocol > | query_type |
The query type. More... | |
typedef basic_resolver_iterator< InternetProtocol > | iterator_type |
The iterator type. More... | |
typedef service_impl_type::implementation_type | implementation_type |
The type of a resolver implementation. More... | |
Public Member Functions | |
resolver_service (asio::io_service &io_service) | |
Construct a new resolver service for the specified io_service. More... | |
void | construct (implementation_type &impl) |
Construct a new resolver implementation. More... | |
void | destroy (implementation_type &impl) |
Destroy a resolver implementation. More... | |
void | cancel (implementation_type &impl) |
Cancel pending asynchronous operations. More... | |
iterator_type | resolve (implementation_type &impl, const query_type &query, asio::error_code &ec) |
Resolve a query to a list of entries. More... | |
template<typename ResolveHandler > | |
ASIO_INITFN_RESULT_TYPE (ResolveHandler, void(asio::error_code, iterator_type)) async_resolve(implementation_type &impl | |
Asynchronously resolve a query to a list of entries. More... | |
const query_type | ASIO_MOVE_ARG (ResolveHandler) handler) |
iterator_type | resolve (implementation_type &impl, const endpoint_type &endpoint, asio::error_code &ec) |
Resolve an endpoint to a list of entries. More... | |
template<typename ResolveHandler > | |
ASIO_INITFN_RESULT_TYPE (ResolveHandler, void(asio::error_code, iterator_type)) async_resolve(implementation_type &impl | |
Asynchronously resolve an endpoint to a list of entries. More... | |
const endpoint_type | ASIO_MOVE_ARG (ResolveHandler) handler) |
Public Member Functions inherited from asio::detail::service_base< resolver_service< InternetProtocol > > | |
service_base (asio::io_service &io_service) | |
Public Member Functions inherited from asio::io_service::service | |
asio::io_service & | get_io_service () |
Get the io_service object that owns the service. More... | |
Public Attributes | |
const query_type & | query |
const endpoint_type & | endpoint |
Additional Inherited Members | |
Static Public Attributes inherited from asio::detail::service_base< resolver_service< InternetProtocol > > | |
static asio::detail::service_id< resolver_service< InternetProtocol > > | id |
Protected Member Functions inherited from asio::io_service::service | |
ASIO_DECL | service (asio::io_service &owner) |
Constructor. More... | |
virtual ASIO_DECL | ~service () |
Destructor. More... | |
Default service implementation for a resolver.
Definition at line 38 of file resolver_service.hpp.
typedef InternetProtocol::endpoint asio::ip::resolver_service< InternetProtocol >::endpoint_type |
The endpoint type.
Definition at line 56 of file resolver_service.hpp.
typedef service_impl_type::implementation_type asio::ip::resolver_service< InternetProtocol >::implementation_type |
The type of a resolver implementation.
Definition at line 79 of file resolver_service.hpp.
typedef basic_resolver_iterator<InternetProtocol> asio::ip::resolver_service< InternetProtocol >::iterator_type |
The iterator type.
Definition at line 62 of file resolver_service.hpp.
typedef InternetProtocol asio::ip::resolver_service< InternetProtocol >::protocol_type |
The protocol type.
Definition at line 53 of file resolver_service.hpp.
typedef basic_resolver_query<InternetProtocol> asio::ip::resolver_service< InternetProtocol >::query_type |
The query type.
Definition at line 59 of file resolver_service.hpp.
|
inlineexplicit |
Construct a new resolver service for the specified io_service.
Definition at line 83 of file resolver_service.hpp.
asio::ip::resolver_service< InternetProtocol >::ASIO_INITFN_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, iterator_type) | |||
) |
Asynchronously resolve a query to a list of entries.
asio::ip::resolver_service< InternetProtocol >::ASIO_INITFN_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, iterator_type) | |||
) |
Asynchronously resolve an endpoint to a list of entries.
|
inline |
Definition at line 120 of file resolver_service.hpp.
|
inline |
Definition at line 143 of file resolver_service.hpp.
|
inline |
Cancel pending asynchronous operations.
Definition at line 103 of file resolver_service.hpp.
|
inline |
Construct a new resolver implementation.
Definition at line 91 of file resolver_service.hpp.
|
inline |
Destroy a resolver implementation.
Definition at line 97 of file resolver_service.hpp.
|
inline |
Resolve a query to a list of entries.
Definition at line 109 of file resolver_service.hpp.
|
inline |
Resolve an endpoint to a list of entries.
Definition at line 132 of file resolver_service.hpp.
const endpoint_type& asio::ip::resolver_service< InternetProtocol >::endpoint |
Definition at line 142 of file resolver_service.hpp.
const query_type& asio::ip::resolver_service< InternetProtocol >::query |
Definition at line 119 of file resolver_service.hpp.