All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
asio::detail::service_registry Class Reference

#include <service_registry.hpp>

Inheritance diagram for asio::detail::service_registry:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<typename Service >
bool add_service (Service *new_service)
template<typename Service >
bool has_service () const
 service_registry (asio::io_service &o)
template<typename Service >
Service & use_service ()
 ~service_registry ()

Private Member Functions

void init_service_id (asio::io_service::service &service, const asio::io_service::id &id)
template<typename Service >
void init_service_id (asio::io_service::service &service, const asio::detail::service_id< Service > &)

Static Private Member Functions

static bool service_id_matches (const asio::io_service::service &service, const asio::io_service::id &id)
template<typename Service >
static bool service_id_matches (const asio::io_service::service &service, const asio::detail::service_id< Service > &)

Private Attributes

asio::io_service::servicefirst_service_
asio::detail::mutex mutex_
asio::io_serviceowner_

Detailed Description

Definition at line 39 of file service_registry.hpp.


Constructor & Destructor Documentation

Definition at line 44 of file service_registry.hpp.

Definition at line 51 of file service_registry.hpp.


Member Function Documentation

template<typename Service >
bool asio::detail::service_registry::add_service ( Service *  new_service) [inline]

Definition at line 118 of file service_registry.hpp.

template<typename Service >
bool asio::detail::service_registry::has_service ( ) const [inline]

Definition at line 141 of file service_registry.hpp.

Definition at line 158 of file service_registry.hpp.

template<typename Service >
void asio::detail::service_registry::init_service_id ( asio::io_service::service service,
const asio::detail::service_id< Service > &   
) [inline, private]

Definition at line 168 of file service_registry.hpp.

static bool asio::detail::service_registry::service_id_matches ( const asio::io_service::service service,
const asio::io_service::id id 
) [inline, static, private]

Definition at line 177 of file service_registry.hpp.

template<typename Service >
static bool asio::detail::service_registry::service_id_matches ( const asio::io_service::service service,
const asio::detail::service_id< Service > &   
) [inline, static, private]

Definition at line 187 of file service_registry.hpp.

template<typename Service >
Service& asio::detail::service_registry::use_service ( ) [inline]

Definition at line 76 of file service_registry.hpp.


Member Data Documentation

Definition at line 202 of file service_registry.hpp.

Definition at line 196 of file service_registry.hpp.

Definition at line 199 of file service_registry.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41