- Timestamp:
- 07/26/11 10:22:21 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Fits.cc
r11524 r11593 20 20 #include "MessageImp.h" 21 21 22 //for file stats 23 #include <sys/stat.h> 22 23 #include <sys/stat.h> //for file stats 24 24 25 25 using namespace std; … … 129 129 //! @param runNumber the runNumber for which this file is opened. 0 means nightly file. 130 130 // 131 bool Fits::Open(const string& fileName, const string& tableName, FITS* file, int* fitsCounter, MessageImp* out, int runNumber)131 bool Fits::Open(const string& fileName, const string& tableName, FITS* file, uint32_t* fitsCounter, MessageImp* out, int runNumber) 132 132 { 133 133 // if (fMess) -
trunk/FACT++/src/Fits.h
r11524 r11593 54 54 private: 55 55 ///Keep track of number of opened fits 56 int* fNumOpenFitsFiles;56 uint32_t* fNumOpenFitsFiles; 57 57 ///were to log the errors 58 58 MessageImp* fMess; … … 91 91 92 92 ///Opens a FITS file 93 bool Open(const string& fileName, const string& tableName, CCfits::FITS* file, int* fitsCounter, MessageImp* out, int runNumber);//ostream& out);93 bool Open(const string& fileName, const string& tableName, CCfits::FITS* file, uint32_t* fitsCounter, MessageImp* out, int runNumber);//ostream& out); 94 94 95 95 ///Write one line of data. Use the given converter. -
trunk/FACT++/src/datalogger.cc
r11578 r11593 67 67 ///distributes the number of opened subscriptions and fits files 68 68 struct NumSubAndFitsType { 69 int numSubscriptions;70 int numOpenFits;69 uint32_t numSubscriptions; 70 uint32_t numOpenFits; 71 71 }; 72 72 ///distributes which files were opened. 73 73 struct OpenFileToDim { 74 int code;74 uint32_t code; 75 75 char fileName[FILENAME_MAX]; 76 76 }; … … 1733 1733 memcpy(fToDim.fileName, name.c_str(), name.size()+1); 1734 1734 1735 service->setData(reinterpret_cast<void*>(&fToDim), name.size()+1+sizeof( int));1735 service->setData(reinterpret_cast<void*>(&fToDim), name.size()+1+sizeof(uint32_t)); 1736 1736 service->setQuality(0); 1737 1737 service->updateService();
Note:
See TracChangeset
for help on using the changeset viewer.