otsdaq
v2_05_02_indev
|
Public Types | |
enum | GroupType { CONTEXT_TYPE, BACKBONE_TYPE, ITERATE_TYPE, CONFIGURATION_TYPE } |
Public Member Functions | |
const std::set< std::string > & | getConfigurationMemberNames (void) |
ConfigurationManager (bool initForWriteAccess=false, bool initializeFromFhicl=false) | |
void | init (std::string *accumulatedErrors=0, bool initForWriteAccess=false, std::string *accumulatedWarnings=0) |
void | destroy (void) |
void | destroyTableGroup (const std::string &theGroup="", bool onlyDeactivate=false) |
void | loadTableGroup (const std::string &configGroupName, TableGroupKey tableGroupKey, bool doActivate=false, std::map< std::string, TableVersion > *groupMembers=0, ProgressBar *progressBar=0, std::string *accumulateWarnings=0, std::string *groupComment=0, std::string *groupAuthor=0, std::string *groupCreateTime=0, bool doNotLoadMember=false, std::string *groupTypeString=0, std::map< std::string, std::string > *groupAliases=0, bool onlyLoadIfBackboneOrContext=false) |
void | loadMemberMap (const std::map< std::string, TableVersion > &memberMap, std::string *accumulateWarnings=0) |
TableGroupKey | loadConfigurationBackbone (void) |
template<class T > | |
const T * | getTable (const std::string &tableName) const |
const TableBase * | getTableByName (const std::string &configurationName) const |
void | dumpActiveConfiguration (const std::string &filePath, const std::string &dumpType) |
void | dumpMacroMakerModeFhicl (void) |
std::map< std::string, std::pair< std::string, TableGroupKey > > | getActiveGroupAliases (void) |
std::map< std::string, std::map< std::string, TableVersion > > | getVersionAliases (void) const |
std::pair< std::string, TableGroupKey > | getTableGroupFromAlias (std::string systemAlias, ProgressBar *progressBar=0) |
std::map< std::string, std::pair< std::string, TableGroupKey > > | getActiveTableGroups (void) const |
const std::map< std::string, std::pair< std::string, TableGroupKey > > & | getFailedTableGroups (void) const |
const std::string & | getActiveGroupName (const ConfigurationManager::GroupType &type=ConfigurationManager::GroupType::CONFIGURATION_TYPE) const |
TableGroupKey | getActiveGroupKey (const ConfigurationManager::GroupType &type=ConfigurationManager::GroupType::CONFIGURATION_TYPE) const |
ConfigurationTree | getNode (const std::string &nodeString, bool doNotThrowOnBrokenUIDLinks=false) const |
ConfigurationTree | getContextNode (const std::string &contextUID, const std::string &applicationUID) const |
ConfigurationTree | getSupervisorNode (const std::string &contextUID, const std::string &applicationUID) const |
ConfigurationTree | getSupervisorTableNode (const std::string &contextUID, const std::string &applicationUID) const |
std::vector< std::pair < std::string, ConfigurationTree > > | getChildren (std::map< std::string, TableVersion > *memberMap=0, std::string *accumulatedTreeErrors=0) const |
std::string | getFirstPathToNode (const ConfigurationTree &node, const std::string &startPath="/") const |
std::map< std::string, TableVersion > | getActiveVersions (void) const |
const std::string & | getOwnerContext (void) |
const std::string & | getOwnerApp (void) |
bool | isOwnerFirstAppInContext (void) |
std::shared_ptr< TableGroupKey > | makeTheTableGroupKey (TableGroupKey key) |
void | restoreActiveTableGroups (bool throwErrors=false, const std::string &pathToActiveGroupsFile="", bool onlyLoadIfBackboneOrContext=false, std::string *accumulatedWarnings=0) |
void | setOwnerContext (const std::string &contextUID) |
void | setOwnerApp (const std::string &appUID) |
Static Public Member Functions | |
static const std::set < std::string > & | getContextMemberNames (void) |
static const std::set < std::string > & | getBackboneMemberNames (void) |
static const std::set < std::string > & | getIterateMemberNames (void) |
static const std::string & | convertGroupTypeToName (const ConfigurationManager::GroupType &groupTypeId) |
static ConfigurationManager::GroupType | getTypeOfGroup (const std::map< std::string, TableVersion > &memberMap) |
static const std::string & | getTypeNameOfGroup (const std::map< std::string, TableVersion > &memberMap) |
static void | saveGroupNameAndKey (const std::pair< std::string, TableGroupKey > &theGroup, const std::string &fileName) |
static std::pair< std::string, TableGroupKey > | loadGroupNameAndKey (const std::string &fileName, std::string &returnedTimeString) |
Public Attributes | |
std::set< std::string > | configurationMemberNames_ |
Friends | |
class | ConfigurationManagerRW |
class | GatewaySupervisor |
Definition at line 18 of file ConfigurationManager.h.
|
static |
Definition at line 29 of file ConfigurationManager.h.
|
static |
Definition at line 59 of file ConfigurationManager.h.
|
static |
Definition at line 58 of file ConfigurationManager.h.
|
static |
Definition at line 60 of file ConfigurationManager.h.