34 Poco::Path testFile = Poco::Path(config.getInstrumentDirectory()).resolve(filename);
36 config.updateFacilities(testFile.toString());
37 config.setFacility(defFacility);
43 config.updateFacilities();
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...
Simple RAII struct to switch the facilities files to the when constructed and switch back to the prev...
std::string defFacilityOnStart
ScopedFacilities(const std::string &filename, const std::string &defFacility)
Switch facilities file & default facility.