algorithm.h 603 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
// 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::IAlgorithm
{
public:
    Algorithm();
    virtual ~Algorithm();

    virtual bool setup(const json& parameters);

    virtual bool process(const beat::backend::cxx::InputList& inputs,
                         const beat::backend::cxx::OutputList& outputs);
};


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

#endif