/* * ParamDataIndexInfo.hh * * Created on: Dec 11, 2012 * Author: f.casimir */ #ifndef PARAMDATAINDEXINFO_HH_ #define PARAMDATAINDEXINFO_HH_ #include namespace AMDA { namespace Parameters { struct ParamDataIndexInfo { unsigned int _startIndex; unsigned int _nbDataToProcess; bool _timeIntToProcessChanged; /** * @brief Define on which index a time interval ended. */ std::list _endTimeIntIndexList; ParamDataIndexInfo() : _startIndex(0), _nbDataToProcess(0), _timeIntToProcessChanged(false), _endTimeIntIndexList() {} ParamDataIndexInfo(const ParamDataIndexInfo &pParamDataIndexInfo) : _startIndex(pParamDataIndexInfo._startIndex), _nbDataToProcess(pParamDataIndexInfo._nbDataToProcess), _timeIntToProcessChanged(pParamDataIndexInfo._timeIntToProcessChanged), _endTimeIntIndexList(pParamDataIndexInfo._endTimeIntIndexList){} ParamDataIndexInfo(unsigned int startIndex, unsigned int nbDataToProcess, bool timeIntToProcessChanged = false, std::list endTimeIndexList = std::list()) : _startIndex(startIndex), _nbDataToProcess(nbDataToProcess), _timeIntToProcessChanged(timeIntToProcessChanged), _endTimeIntIndexList(endTimeIndexList) {} }; } /* namespace Parameters */ } /* namespace AMDA */ #endif /* PARAMDATAINDEXINFO_HH_ */