Changeset 14238 for trunk/FACT++/src
- Timestamp:
- 06/26/12 18:51:40 (12 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Fits.cc
r14233 r14238 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, const void* dataPointer,MessageImp* out)62 void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, MessageImp* out) 63 63 { 64 64 fDataFormats = dataFormat; 65 //FIXME I removed the static assignment of the data pointer because it changes from event to event now. Remove the arg of this function66 // fDataPointer = dataPointer;67 65 68 66 if ((desc.size() == 0) && (dataFormat.size() == 0)) -
trunk/FACT++/src/Fits.h
r14233 r14238 2 2 #define FACT_Fits 3 3 4 //#include <CCfits/CCfits>5 //#include <vector>6 7 4 #include "Description.h" 8 //#include "MessageImp.h"9 //#include "Time.h"10 5 #include "FitsFile.h" 11 6 … … 38 33 vector<string> fDataFormats; 39 34 40 ///the pointer to the contiguous memory location where the data is stored (i.e. the dim data pointer)41 // void* fDataPointer;42 35 ///the copy buffer. Required to put the standard and data variable in contguous memory 43 36 vector<char> fCopyBuffer; … … 79 72 80 73 ///Adds columns specific to the service being logged. 81 void InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, const void* dataPointer,MessageImp* out);74 void InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, MessageImp* out); 82 75 83 76 ///Opens a FITS file -
trunk/FACT++/src/datalogger.cc
r14235 r14238 1653 1653 str << "Initializing data columns for service " << sub.server << "/" << sub.service; 1654 1654 Info(str); 1655 sub.nightlyFile.InitDataColumns(Description::SplitDescription(evt.GetDescription()), dataFormatsLocal, evt.GetData(),this);1655 sub.nightlyFile.InitDataColumns(Description::SplitDescription(evt.GetDescription()), dataFormatsLocal, this); 1656 1656 1657 1657 sub.fitsBufferAllocated = true;
Note:
See TracChangeset
for help on using the changeset viewer.