Changeset 14438 for trunk/FACT++


Ignore:
Timestamp:
10/02/12 10:52:41 (12 years ago)
Author:
tbretz
Message:
Removed some obsolete arguments.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/datalogger.cc

    r14384 r14438  
    261261#ifdef HAVE_FITS
    262262    ///Open fits files
    263     void OpenFITSFiles(SubscriptionType& sub, const EventImp& evt);
     263    void OpenFITSFiles(SubscriptionType& sub);
    264264    ///Write data to FITS files
    265265    void WriteToFITS(SubscriptionType& sub, const void* data);
    266266    ///Allocate the buffers required for fits
    267     void AllocateFITSBuffers(SubscriptionType& sub, const EventImp& evt);
     267    void AllocateFITSBuffers(SubscriptionType& sub);
    268268#endif//has_fits
    269269
     
    12671267        if (!sub.nightlyFile.IsOpen())
    12681268            if (GetCurrentState() != kSM_Ready)
    1269                 OpenFITSFiles(sub, evt);
     1269                OpenFITSFiles(sub);
    12701270        WriteToFITS(sub, evt.GetData());
    12711271#endif
     
    13091309        if (!sub.nightlyFile.IsOpen())
    13101310            if (GetCurrentState() != kSM_Ready)
    1311                 OpenFITSFiles(sub, evt);
     1311                OpenFITSFiles(sub);
    13121312        WriteToFITS(sub, evt.GetData());
    13131313    }
     
    16151615//! @param sub
    16161616//!     the current DimInfo subscription being examined
    1617 void DataLogger::OpenFITSFiles(SubscriptionType& sub, const EventImp& evt)
     1617void DataLogger::OpenFITSFiles(SubscriptionType& sub)
    16181618{
    16191619    string serviceName(sub.server + "_" + sub.service);//evt.GetName());
     
    16341634        const string fileNameOnly = partialName.substr(partialName.find_last_of('/')+1, partialName.size());
    16351635        if (!sub.fitsBufferAllocated)
    1636             AllocateFITSBuffers(sub, evt);
     1636            AllocateFITSBuffers(sub);
    16371637        //get the size of the file we're about to open
    16381638        if (fFilesStats.FileOpened(partialName))
     
    16621662//! @param sub the subscription of interest.
    16631663//
    1664 void DataLogger::AllocateFITSBuffers(SubscriptionType& sub, const EventImp& evt)
     1664void DataLogger::AllocateFITSBuffers(SubscriptionType& sub)
    16651665{
    16661666    //Init the time columns of the file
Note: See TracChangeset for help on using the changeset viewer.