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 connectTo(ActivityRegistry &)
the argument's signals are propagated to the Service's held by the token
ServiceToken(std::shared_ptr< edm::serviceregistry::ServicesManager > iManager)
void copySlotsFrom(ActivityRegistry &)
the copy the argument's slots to the token's signals
void copySlotsTo(ActivityRegistry &)
copy our Service's slots to the argument's signals
void connect(ActivityRegistry &)
the argument's signals will forward the token's signals
std::shared_ptr< edm::serviceregistry::ServicesManager > manager_