6 #include <boost/pointer_cast.hpp>
13 boost::mutex::scoped_lock sl(
lock_ );
22 boost::mutex::scoped_lock sl(
lock_ );
35 boost::mutex::scoped_lock sl(
lock_ );
59 boost::mutex::scoped_lock sl(
lock_ );
64 pos->second->consumerContact();
65 regInfo = pos->second;
73 boost::mutex::scoped_lock sl(
lock_ );
74 for( RegistrationMap::const_iterator it =
consumers_.begin();
80 crs.push_back( eventConsumer );
90 boost::mutex::scoped_lock sl(
lock_ );
91 for( RegistrationMap::const_iterator it =
consumers_.begin();
96 if ( dqmEventConsumer )
97 crs.push_back( dqmEventConsumer );
115 boost::mutex::scoped_lock sl(
lock_ );
121 boost::mutex::scoped_lock sl(
lock_ );
125 pos->second->consumerContact();
std::vector< EventConsRegPtr > ConsumerRegistrations
boost::shared_ptr< RegistrationInfoBase > RegPtr
void disableConsumerRegistration()
~RegistrationCollection()
boost::shared_ptr< stor::EventConsumerRegistrationInfo > EventConsRegPtr
Container::value_type value_type
ConsumerID getConsumerId()
RegPtr getRegistrationInfo(const ConsumerID) const
bool registrationIsAllowed(const ConsumerID) const
void enableConsumerRegistration()
void getEventConsumers(ConsumerRegistrations &) const
ConsumerID nextConsumerId_
RegistrationMap consumers_
bool registrationAllowed_
bool addRegistrationInfo(RegPtr)
std::vector< DQMEventConsRegPtr > DQMConsumerRegistrations
void clearRegistrations()
boost::shared_ptr< stor::DQMEventConsumerRegistrationInfo > DQMEventConsRegPtr
void getDQMEventConsumers(DQMConsumerRegistrations &) const