1 #ifndef ServiceRegistry_ServiceToken_h 2 #define ServiceRegistry_ServiceToken_h 29 class testServicesManager;
30 class TestServicesManagerOrder;
36 namespace serviceregistry {
45 friend class ::testServicesManager;
46 friend class ::TestServicesManagerOrder;
69 ServiceToken(std::shared_ptr<edm::serviceregistry::ServicesManager> iManager):
77 std::shared_ptr<edm::serviceregistry::ServicesManager>
manager_;
void copySlotsTo(ActivityRegistry &)
copy our Service's slots to the argument's signals
ServiceToken(std::shared_ptr< edm::serviceregistry::ServicesManager > iManager)
void connectTo(ActivityRegistry &iOther)
causes iOther's signals to be forward to us
void copySlotsFrom(ActivityRegistry &)
the copy the argument's slots to the our signals
edm::Handle< T > connect(const T *&ptr, edm::EDGetTokenT< T > token, const edm::Event &evt)
std::shared_ptr< edm::serviceregistry::ServicesManager > manager_