Changeset 14438 for trunk/FACT++/src
- Timestamp:
- 10/02/12 10:52:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r14384 r14438 261 261 #ifdef HAVE_FITS 262 262 ///Open fits files 263 void OpenFITSFiles(SubscriptionType& sub , const EventImp& evt);263 void OpenFITSFiles(SubscriptionType& sub); 264 264 ///Write data to FITS files 265 265 void WriteToFITS(SubscriptionType& sub, const void* data); 266 266 ///Allocate the buffers required for fits 267 void AllocateFITSBuffers(SubscriptionType& sub , const EventImp& evt);267 void AllocateFITSBuffers(SubscriptionType& sub); 268 268 #endif//has_fits 269 269 … … 1267 1267 if (!sub.nightlyFile.IsOpen()) 1268 1268 if (GetCurrentState() != kSM_Ready) 1269 OpenFITSFiles(sub , evt);1269 OpenFITSFiles(sub); 1270 1270 WriteToFITS(sub, evt.GetData()); 1271 1271 #endif … … 1309 1309 if (!sub.nightlyFile.IsOpen()) 1310 1310 if (GetCurrentState() != kSM_Ready) 1311 OpenFITSFiles(sub , evt);1311 OpenFITSFiles(sub); 1312 1312 WriteToFITS(sub, evt.GetData()); 1313 1313 } … … 1615 1615 //! @param sub 1616 1616 //! the current DimInfo subscription being examined 1617 void DataLogger::OpenFITSFiles(SubscriptionType& sub , const EventImp& evt)1617 void DataLogger::OpenFITSFiles(SubscriptionType& sub) 1618 1618 { 1619 1619 string serviceName(sub.server + "_" + sub.service);//evt.GetName()); … … 1634 1634 const string fileNameOnly = partialName.substr(partialName.find_last_of('/')+1, partialName.size()); 1635 1635 if (!sub.fitsBufferAllocated) 1636 AllocateFITSBuffers(sub , evt);1636 AllocateFITSBuffers(sub); 1637 1637 //get the size of the file we're about to open 1638 1638 if (fFilesStats.FileOpened(partialName)) … … 1662 1662 //! @param sub the subscription of interest. 1663 1663 // 1664 void DataLogger::AllocateFITSBuffers(SubscriptionType& sub , const EventImp& evt)1664 void DataLogger::AllocateFITSBuffers(SubscriptionType& sub) 1665 1665 { 1666 1666 //Init the time columns of the file
Note:
See TracChangeset
for help on using the changeset viewer.