Changeset 14238 for trunk/FACT++/src


Ignore:
Timestamp:
06/26/12 18:51:40 (12 years ago)
Author:
tbretz
Message:
Removed the obsolete data pointer argument from InitDataColumns
Location:
trunk/FACT++/src
Files:
3 edited

Legend:

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

    r14233 r14238  
    6060//! @param out Message object to use for propagating messages
    6161//     
    62 void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, const void* dataPointer, MessageImp* out)
     62void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, MessageImp* out)
    6363{
    6464    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 function
    66 //    fDataPointer = dataPointer;
    6765
    6866    if ((desc.size() == 0) && (dataFormat.size() == 0))
  • trunk/FACT++/src/Fits.h

    r14233 r14238  
    22#define FACT_Fits
    33
    4 //#include <CCfits/CCfits>
    5 //#include <vector>
    6 
    74#include "Description.h"
    8 //#include "MessageImp.h"
    9 //#include "Time.h"
    105#include "FitsFile.h"
    116
     
    3833    vector<string> fDataFormats;
    3934
    40     ///the pointer to the contiguous memory location where the data is stored (i.e. the dim data pointer)
    41 //    void* fDataPointer;
    4235    ///the copy buffer. Required to put the standard and data variable in contguous memory
    4336    vector<char> fCopyBuffer;
     
    7972
    8073    ///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);
    8275
    8376    ///Opens a FITS file
  • trunk/FACT++/src/datalogger.cc

    r14235 r14238  
    16531653    str << "Initializing data columns for service " << sub.server << "/" << sub.service;
    16541654    Info(str);
    1655     sub.nightlyFile.InitDataColumns(Description::SplitDescription(evt.GetDescription()), dataFormatsLocal, evt.GetData(), this);
     1655    sub.nightlyFile.InitDataColumns(Description::SplitDescription(evt.GetDescription()), dataFormatsLocal, this);
    16561656
    16571657    sub.fitsBufferAllocated = true;
Note: See TracChangeset for help on using the changeset viewer.