/* * 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; bool _noMoreTimeInt; /** * @brief Define on which index a time interval ended. */ std::list _endTimeIntIndexList; ParamDataIndexInfo() : _startIndex(0), _nbDataToProcess(0), _timeIntToProcessChanged(false), _noMoreTimeInt(false), _endTimeIntIndexList() {} ParamDataIndexInfo(const ParamDataIndexInfo &pParamDataIndexInfo) : _startIndex(pParamDataIndexInfo._startIndex), _nbDataToProcess(pParamDataIndexInfo._nbDataToProcess), _timeIntToProcessChanged(pParamDataIndexInfo._timeIntToProcessChanged), _noMoreTimeInt(pParamDataIndexInfo._noMoreTimeInt), _endTimeIntIndexList(pParamDataIndexInfo._endTimeIntIndexList){} ParamDataIndexInfo(unsigned int startIndex, unsigned int nbDataToProcess, bool timeIntToProcessChanged = false, bool noMoreTimeInt = false, std::list endTimeIndexList = std::list()) : _startIndex(startIndex), _nbDataToProcess(nbDataToProcess), _timeIntToProcessChanged(timeIntToProcessChanged), _noMoreTimeInt(noMoreTimeInt), _endTimeIntIndexList(endTimeIndexList) {} }; } /* namespace Parameters */ } /* namespace AMDA */ #endif /* PARAMDATAINDEXINFO_HH_ */