Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | Public Attributes | List of all members
asio::ip::resolver_service< InternetProtocol > Class Template Reference

Default service implementation for a resolver. More...

#include <resolver_service.hpp>

Inheritance diagram for asio::ip::resolver_service< InternetProtocol >:
asio::detail::service_base< resolver_service< InternetProtocol > > asio::io_service::service asio::detail::noncopyable

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_serviceget_io_service ()
 Get the io_service object that owns the service. More...
 

Public Attributes

const query_typequery
 
const endpoint_typeendpoint
 

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...
 

Detailed Description

template<typename InternetProtocol>
class asio::ip::resolver_service< InternetProtocol >

Default service implementation for a resolver.

Definition at line 38 of file resolver_service.hpp.

Member Typedef Documentation

template<typename InternetProtocol >
typedef InternetProtocol::endpoint asio::ip::resolver_service< InternetProtocol >::endpoint_type

The endpoint type.

Definition at line 56 of file resolver_service.hpp.

template<typename InternetProtocol >
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.

template<typename InternetProtocol >
typedef basic_resolver_iterator<InternetProtocol> asio::ip::resolver_service< InternetProtocol >::iterator_type

The iterator type.

Definition at line 62 of file resolver_service.hpp.

template<typename InternetProtocol >
typedef InternetProtocol asio::ip::resolver_service< InternetProtocol >::protocol_type

The protocol type.

Definition at line 53 of file resolver_service.hpp.

template<typename InternetProtocol >
typedef basic_resolver_query<InternetProtocol> asio::ip::resolver_service< InternetProtocol >::query_type

The query type.

Definition at line 59 of file resolver_service.hpp.

Constructor & Destructor Documentation

template<typename InternetProtocol >
asio::ip::resolver_service< InternetProtocol >::resolver_service ( asio::io_service io_service)
inlineexplicit

Construct a new resolver service for the specified io_service.

Definition at line 83 of file resolver_service.hpp.

Member Function Documentation

template<typename InternetProtocol >
template<typename ResolveHandler >
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.

template<typename InternetProtocol >
template<typename ResolveHandler >
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.

template<typename InternetProtocol >
const query_type asio::ip::resolver_service< InternetProtocol >::ASIO_MOVE_ARG ( ResolveHandler  )
inline

Definition at line 120 of file resolver_service.hpp.

template<typename InternetProtocol >
const endpoint_type asio::ip::resolver_service< InternetProtocol >::ASIO_MOVE_ARG ( ResolveHandler  )
inline

Definition at line 143 of file resolver_service.hpp.

template<typename InternetProtocol >
void asio::ip::resolver_service< InternetProtocol >::cancel ( implementation_type impl)
inline

Cancel pending asynchronous operations.

Definition at line 103 of file resolver_service.hpp.

template<typename InternetProtocol >
void asio::ip::resolver_service< InternetProtocol >::construct ( implementation_type impl)
inline

Construct a new resolver implementation.

Definition at line 91 of file resolver_service.hpp.

template<typename InternetProtocol >
void asio::ip::resolver_service< InternetProtocol >::destroy ( implementation_type impl)
inline

Destroy a resolver implementation.

Definition at line 97 of file resolver_service.hpp.

template<typename InternetProtocol >
iterator_type asio::ip::resolver_service< InternetProtocol >::resolve ( implementation_type impl,
const query_type query,
asio::error_code ec 
)
inline

Resolve a query to a list of entries.

Definition at line 109 of file resolver_service.hpp.

template<typename InternetProtocol >
iterator_type asio::ip::resolver_service< InternetProtocol >::resolve ( implementation_type impl,
const endpoint_type endpoint,
asio::error_code ec 
)
inline

Resolve an endpoint to a list of entries.

Definition at line 132 of file resolver_service.hpp.

Member Data Documentation

template<typename InternetProtocol >
const endpoint_type& asio::ip::resolver_service< InternetProtocol >::endpoint

Definition at line 142 of file resolver_service.hpp.

template<typename InternetProtocol >
const query_type& asio::ip::resolver_service< InternetProtocol >::query

Definition at line 119 of file resolver_service.hpp.


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