algorithm.h 705 Bytes
Newer Older
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
// NOTE: This file implements the algorithm declared in the file
// 'user/cxx_integers_echo/1.json'

#ifndef _BEAT_GENERATED_ALGORITHM_H_
#define _BEAT_GENERATED_ALGORITHM_H_

#include <beat.backend.cxx/algorithm.h>


class Algorithm: public beat::backend::cxx::IAlgorithmAutonomous
{
public:
    Algorithm();
    virtual ~Algorithm();

    bool setup(const json& parameters) override;

    bool prepare(const beat::backend::cxx::DataLoaderList& data_load_list) override;
    bool process(const beat::backend::cxx::DataLoaderList& data_load_list,
                 const beat::backend::cxx::OutputList& outputs) override;
};


extern "C" {
    beat::backend::cxx::IAlgorithm* create_algorithm();
}

#endif