Falaise  4.0.1
SuperNEMO Software Toolkit
Classes | Namespaces | Functions
service_handle.h File Reference

Simple access to services via a smart pointer. More...

#include <exception>
#include "bayeux/datatools/service_manager.h"
#include "falaise/snemo/services/service_traits.h"

Go to the source code of this file.

Classes

class  snemo::missing_service_error
 Exception reporting that a service is missing in the provider. More...
 
class  snemo::bad_service_type
 Exception reporting that a service is provided, but of the wrong type. More...
 
class  snemo::bad_service_access
 Exception reporting that a service_handle is empty. More...
 
class  snemo::service_handle< T >
 Semi-smart pointer holding a service interface. More...
 

Namespaces

 snemo
 

Functions

template<typename T >
T * snemo::service_maker (datatools::service_manager &provider)
 Make a service_handle from a datatools::service_manager provider. More...
 

Detailed Description

Simple access to services via a smart pointer.