Ignore:
Timestamp:
06/26/12 12:37:25 (12 years ago)
Author:
lyard
Message:
replaced DimServiceInfoListImp with EventImps. Warning, currently the logger only subscribes to services that exist when it is launched
File:
1 edited

Legend:

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

    r13205 r14233  
    6060//! @param out Message object to use for propagating messages
    6161//     
    62 void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, void* dataPointer, MessageImp* out)
     62void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, const void* dataPointer, MessageImp* out)
    6363{
    6464    fDataFormats = dataFormat;
    65     fDataPointer = dataPointer;
     65//FIXME I removed the static assignment of the data pointer because it changes from event to event now. Remove the arg of this function
     66//    fDataPointer = dataPointer;
    6667
    6768    if ((desc.size() == 0) && (dataFormat.size() == 0))
     
    314315//! @param conv the converter corresponding to the service being logged
    315316//
    316 bool Fits::Write(const Converter &conv)
     317bool Fits::Write(const Converter &conv, const void* data)
    317318{
    318319    //first copy the standard variables to the copy buffer
     
    328329    {
    329330        //now take care of the DIM data. The Converter is here for that purpose
    330         conv.ToFits(fCopyBuffer.data()+shift, fDataPointer, fCopyBuffer.size()-shift);
     331        conv.ToFits(fCopyBuffer.data()+shift, data, fCopyBuffer.size()-shift);
    331332    }
    332333    catch (const runtime_error &e)
Note: See TracChangeset for help on using the changeset viewer.