Changeset 12098 for trunk/FACT++/src
- Timestamp:
- 09/14/11 09:02:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r12088 r12098 340 340 string CompileFileName(const string& service, const string& extension, const Time& time=Time()); 341 341 ///Form the files path 342 string CompileFileNameWithPath(const string &path, const uint32_t run, const string &service, const string & extension, const Time &time=Time());342 string CompileFileNameWithPath(const string &path, const int32_t run, const string &service, const string & extension, const Time &time=Time()); 343 343 ///Form the file names only 344 string CompileFileName(const uint32_t run, const string& service, const string& extension);//, const Time& time=Time());344 string CompileFileName(const int32_t run, const string& service, const string& extension);//, const Time& time=Time()); 345 345 ///Check whether service is in black and/or white list 346 346 bool ShouldSubscribe(const string& server, const string& service); … … 679 679 //! @param extension the extension to add, if any 680 680 // 681 string DataLogger::CompileFileName(const uint32_t run, const string& service, const string& extension)681 string DataLogger::CompileFileName(const int32_t run, const string& service, const string& extension) 682 682 { 683 683 ostringstream str; … … 703 703 //! @param extension the extension to add, if any 704 704 // 705 string DataLogger::CompileFileNameWithPath(const string& path, const uint32_t run, const string& service, const string& extension, const Time& time)705 string DataLogger::CompileFileNameWithPath(const string& path, const int32_t run, const string& service, const string& extension, const Time& time) 706 706 { 707 707 ostringstream str; … … 1103 1103 //Add new run number to run number list 1104 1104 fRunNumber.push_back(RunNumberType()); 1105 fRunNumber.back().runNumber = uint32_t(newRun);1105 fRunNumber.back().runNumber = int32_t(newRun); 1106 1106 fRunNumber.back().time = time; 1107 1107 … … 1113 1113 return; 1114 1114 //open the log and report files 1115 if (fRunNumber.back().runNumber > 0) 1115 1116 if (OpenRunFile(fRunNumber.back()) != 0) 1116 1117 {//an error occured. close current run files and go to error state
Note:
See TracChangeset
for help on using the changeset viewer.