typedef edmplugin::PluginFactory<ClassInfo*() > cond::ClassInfoFactory |
typedef std::vector<coral::monitor::Event::Record> cond::EventStream |
typedef edmplugin::PluginFactory< edm::eventsetup::DataProxy* ( cond::Connection*, std::map<std::string,std::string>::iterator& ) cond::ProxyFactory) |
Definition at line 30 of file ProxyFactory.h.
typedef std::map< std::string, SessionMonitor > cond::Repository |
The repository of monitored events for all sessions where event streams are identified by session key.
Definition at line 38 of file SQLMonitoringService.h.
typedef edmplugin::PluginFactory< cond::TechnologyProxy*(const std::string&) > cond::TechnologyProxyFactory |
Definition at line 7 of file TechnologyProxyFactory.h.
typedef unsigned long long cond::Time_t |
typedef std::pair<Time_t, Time_t> cond::ValidityInterval |
enum cond::MessageLevel |
enum cond::TimeType |
std::string cond::classID | ( | std::string const & | token | ) |
Definition at line 13 of file ClassInfoLoader.cc.
Referenced by classInfo(), cond::IOVServiceImpl::deleteAll(), pyInfo(), reflexTypeByToken(), and cond::TokenInterpreter::TokenInterpreter().
00013 { 00014 static std::string const clid("CLID="); 00015 std::string::size_type s = token.find(clid) + clid.size(); 00016 std::string::size_type e = token.find(']',s); 00017 return token.substr(s,e-s); 00018 00019 }
boost::shared_ptr< ClassInfo > cond::classInfo | ( | std::string const & | token | ) |
Definition at line 22 of file ClassInfoLoader.cc.
References classID(), cond::idCategories::dictIDCategory(), DBSPlugin::get(), and prof2calltree::prefix.
Referenced by loadClassByToken().
00022 { 00023 static std::string const prefix = cond::idCategories::dictIDCategory + "/"; 00024 std::string pluginName = prefix + classID(token); 00025 return boost::shared_ptr<ClassInfo>(ClassInfoFactory::get()->create(pluginName)); 00026 }
std::string const cond::@1760::errmsg | ( | "Unable to load class for token " | ) | [static] |
Referenced by evf::FUEventProcessor::attachDqmToShm(), evf::SMProxy::createFragmentChain(), evf::FUEventProcessor::detachDqmFromShm(), reflexTypeByToken(), evf::BUProxy::sendAllocate(), evf::FUResourceTable::sendData(), evf::SMProxy::sendDataEvent(), evf::BUProxy::sendDiscard(), evf::SMProxy::sendDqmEvent(), and evf::SMProxy::sendErrorEvent().
const TimeTypeSpecs& cond::findSpecs | ( | std::string const & | name | ) | [inline] |
Definition at line 87 of file Time.h.
References Exception, i, TIMETYPE_LIST_MAX, and timeTypeSpecs.
Referenced by cond::service::PoolDBOutputService::PoolDBOutputService().
00087 { 00088 size_t i=0; 00089 for (; i<TIMETYPE_LIST_MAX; i++) 00090 if (name==timeTypeSpecs[i].name) return timeTypeSpecs[i]; 00091 throw cond::Exception("invalid timetype: "+name); 00092 return timeTypeSpecs[0]; // compiler happy 00093 }
std::string cond::@1759::id | ( | const std::type_info & | t | ) | [static] |
Definition at line 12 of file ClassID.cc.
References pool::genMD5(), name, s, and StDecayID::status.
Referenced by cond::ClassInfo::pluginName().
00012 { 00013 const ROOT::Reflex::Type type=ROOT::Reflex::Type::ByTypeInfo(t); 00014 std::string s; 00015 if (type) { 00016 ROOT::Reflex::PropertyList pl = type.Properties(); 00017 if ( pl.HasProperty("ClassID") ) { 00018 s = pl.PropertyAsString("ClassID"); 00019 } 00020 else { 00021 char buff[20]; 00022 pool::genMD5(type.Name(ROOT::Reflex::SCOPED),buff); 00023 s = ((pool::Guid*)buff)->toString(); 00024 } 00025 // std::cout << "CondCore::ClassID: CLID for Reflex type " << type.Name(ROOT::Reflex::SCOPED) 00026 // << " is " << s << std::endl; 00027 } 00028 else { 00029 // only for test 00030 int status=0; 00031 std::string name = __cxxabiv1::__cxa_demangle(t.name(), 0, 0, &status); 00032 // std::cout << "CondCore::ClassID: Warning no Reflex type for " << name << std::endl; 00033 char buff[20]; 00034 pool::genMD5(name,buff); 00035 s = ((pool::Guid*)buff)->toString(); 00036 } 00037 return s; 00038 }
bool cond::loadClassByToken | ( | std::string const & | token | ) |
Definition at line 29 of file ClassInfoLoader.cc.
References classInfo().
Referenced by reflexTypeByToken().
00029 { 00030 boost::shared_ptr<ClassInfo> ci = classInfo(token); 00031 // will never return false as pluginMgr throw! 00032 return ci.get()!=0; 00033 }
std::string const cond::@1760::orimsg | ( | ". Original error msg was " | ) | [static] |
Referenced by reflexTypeByToken().
const char * cond::pluginCategory | ( | ) |
ROOT::Reflex::Type cond::reflexTypeByToken | ( | std::string const & | token | ) |
Definition at line 42 of file ClassInfoLoader.cc.
References classID(), e, errmsg(), Exception, loadClassByToken(), orimsg(), and cms::Exception::what().
Referenced by cond::IOVServiceImpl::exportIOVRangeWithPayload(), cond::GenericRef::GenericRef(), and cond::impl::IOVImpl::IOVImpl().
00042 { 00043 const pool::Guid guid(cond::classID(token)); 00044 { 00045 // look if already loaded 00046 ROOT::Reflex::Type type = pool::DbReflex::forGuid(guid); 00047 if (type) return type; 00048 } 00049 try { 00050 // plugin mgr will throw fist: still 00051 if (!cond::loadClassByToken(token)) 00052 throw cond::Exception(errmsg+token); 00053 } 00054 catch (cms::Exception const & e) { 00055 throw cond::Exception(errmsg+token+orimsg+e.what()); 00056 } 00057 ROOT::Reflex::Type type = pool::DbReflex::forGuid(guid); 00058 if (!type) throw cond::Exception(errmsg+token +". Problem with DbReflex"); 00059 return type; 00060 }
static const Time_t cond::TIMELIMIT | ( | 0xFFFFFFFF | ) | [static] |
std::string cond::to_string | ( | const T & | t | ) | [inline] |
Definition at line 26 of file Logger.cc.
References ss.
Referenced by cond::Logger::logFailedOperationNow(), and cond::Logger::logOperationNow().
bool cond::validToken | ( | const std::string & | tokenString | ) |
check if the token is valid
Definition at line 6 of file TokenInterpreter.cc.
Referenced by cond::TokenInterpreter::isValid().
const unsigned int cond::TIMETYPE_LIST_MAX = 4 |
const std::string cond::timeTypeNames[] |
Initial value:
{"runnumber","timestamp","lumiid","userid"}
Definition at line 23 of file Time.h.
Referenced by cond::TimeTypeTraits< type >::specs().
const TimeTypeSpecs cond::timeTypeSpecs[] |
Initial value:
{ TimeTypeTraits<runnumber>::specs(), TimeTypeTraits<timestamp>::specs(), TimeTypeTraits<lumiid>::specs(), TimeTypeTraits<userid>::specs(), }
Definition at line 79 of file Time.h.
Referenced by cond::IOVEditorImpl::append(), cond::service::PoolDBOutputService::beginOfTime(), cond::service::PoolDBOutputService::endOfTime(), cond::IOVServiceImpl::exportIOVRangeWithPayload(), findSpecs(), cond::IOVEditorImpl::freeInsert(), cond::IOV::timeType(), l1t::DataWriter::updateIOV(), cond::IOVEditorImpl::validTime(), l1t::DataWriter::writeKey(), and l1t::DataWriter::writeKeyList().
const cond::TimeType cond::timeTypeValues[] |