Blame view

src/ExternLib/StatisticProcesses/CountBoolStatisticProcess.cc 1.07 KB
3b301911   Hacene SI HADJ MOHAND   ok for countTrue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34


/* 
 * File:   CountBoolStatisticProcess.cc
 * Author: hacene
 * 
 * Created on January 20, 2020, 10:57 AM
 */
#include "CountBoolStatistic.hh" 
#include "CountBoolStatisticProcess.hh"

namespace AMDA {
    namespace Statistic {
        namespace CountBool {

            CountBoolStatisticProcess::CountBoolStatisticProcess(AMDA::Parameters::Parameter &parameter, const int& index) :
            AMDA::Parameters::StatisticProcess(parameter, false, index) {
            }

            CountBoolStatisticProcess::~CountBoolStatisticProcess(void) {
            }

            void CountBoolStatisticProcess::createOperation(void) {
                AMDA::Parameters::ParamData *paramInput = _parameter.getParamData(this).get();
                CreateCountBoolStatistic lCreateCountStatistic(*this, _timeIntervalList, *paramInput, COUNT_BOOL_FUNC_TYPE::FT_COUNT_TRUE);
                _operation = lCreateCountStatistic.getStatisticOperation();
            }

            std::string CountBoolStatisticProcess::getUCD(void) {
                return "stat.countTrue";
            }
        }
    }
}