LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ProviderList.h File Reference

Container for service providers used in a test. More...

#include "larcorealg/TestUtils/ProviderTestHelpers.h"
#include <unordered_map>
#include <memory>
#include <utility>
#include <typeinfo>

Go to the source code of this file.

Classes

struct  testing::details::MovableClassWrapperBase
 A base class with a virtual table. More...
 
class  testing::details::MovableClassWrapper< T >
 A class containing an owned object. More...
 
struct  testing::details::MovableClassWrapper< T >::share_t
 
class  testing::ProviderList
 Container of service providers accessed by type and optional label. More...
 
struct  testing::ProviderList::exception
 base exception class for ProviderList More...
 
struct  testing::ProviderList::provider_not_available
 Exception thrown on a request about an unregistered type. More...
 
struct  testing::ProviderList::provider_deleted
 Exception thrown on when object is not available any more. More...
 
struct  testing::ProviderList::provider_wrong
 Exception thrown on a invalid type request. More...
 

Namespaces

 testing
 LArSoft test utilities.
 
 testing::details
 

Detailed Description

Container for service providers used in a test.

Date
April 22nd, 2016
Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
See also
ProviderTesterHelpers.h

This is a header-only library. It depends only on standard C++ and on LArSoft pure headers with that same feature, and therefore does not require additional linkage.

This library provides:

  • ProviderList, an object managing service providers

Definition in file ProviderList.h.