Changeset 14233 for trunk/FACT++/src/Fits.cc
- Timestamp:
- 06/26/12 12:37:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Fits.cc
r13205 r14233 60 60 //! @param out Message object to use for propagating messages 61 61 // 62 void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, void* dataPointer, MessageImp* out)62 void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, const void* dataPointer, MessageImp* out) 63 63 { 64 64 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; 66 67 67 68 if ((desc.size() == 0) && (dataFormat.size() == 0)) … … 314 315 //! @param conv the converter corresponding to the service being logged 315 316 // 316 bool Fits::Write(const Converter &conv )317 bool Fits::Write(const Converter &conv, const void* data) 317 318 { 318 319 //first copy the standard variables to the copy buffer … … 328 329 { 329 330 //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); 331 332 } 332 333 catch (const runtime_error &e)
Note:
See TracChangeset
for help on using the changeset viewer.