Falaise
4.0.1
SuperNEMO Software Toolkit
|
Namespaces | |
cut | |
datamodel | |
geometry | |
processing | |
simulation | |
Classes | |
class | bad_service_access |
Exception reporting that a service_handle is empty. More... | |
class | bad_service_type |
Exception reporting that a service is provided, but of the wrong type. More... | |
class | geometry_svc |
Locate, track, and trace elements of the SuperNEMO detector geometry. More... | |
class | missing_service_error |
Exception reporting that a service is missing in the provider. More... | |
class | service_handle |
Semi-smart pointer holding a service interface. More... | |
class | service_info |
Service utility. More... | |
struct | service_traits |
Template struct for defining trait types and functions for a service. More... | |
struct | service_traits< geometry_svc > |
Specialization of service_traits for geometry_svc. More... | |
struct | service_traits< histogram > |
Typedefs | |
using | geometry_svc = const geomtools::manager |
using | histogram = dpp::histogram_service |
template<typename T > | |
using | service_label = typename boost::mpl::c_str< typename service_traits< T >::label_type >::type |
Convenience type alias for extracting the label of a service. More... | |
Functions | |
template<typename T > | |
T * | service_maker (datatools::service_manager &provider) |
Make a service_handle from a datatools::service_manager provider. More... | |
using snemo::geometry_svc = typedef const geomtools::manager |
using snemo::histogram = typedef dpp::histogram_service |
using snemo::service_label = typedef typename boost::mpl::c_str<typename service_traits<T>::label_type>::type |
Convenience type alias for extracting the label of a service.
T* snemo::service_maker | ( | datatools::service_manager & | provider | ) |
Make a service_handle from a datatools::service_manager provider.
Free template function used by constructor of service_handle. As with that class, the template parameter must have defined service_traits.
T | type of service to make |
[in] | provider | service provider to extract service from |
missing_service_error | if provider cannot supply the service |
bad_service_type | if provider cannot supply a service of type T |