git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@879 b431acfa-c32f-4a4a-93f1-934dc6c82436
28 lines
419 B
C++
28 lines
419 B
C++
#ifndef TESTBLOCK_HPP
|
|
#define TESTBLOCK_HPP
|
|
|
|
#pragma once
|
|
|
|
#include <Block.hpp>
|
|
|
|
using DTIN = double;
|
|
using DTOUT = double;
|
|
|
|
class TestBlock : public Block
|
|
{
|
|
public:
|
|
TestBlock(size_t bufSize)
|
|
: Block(1, 1, DType::Double, DType::Double)
|
|
, m_buf_in(bufSize)
|
|
{
|
|
|
|
}
|
|
virtual ~TestBlock() = default;
|
|
|
|
void process(IBuffer &in, IBuffer &out) override;
|
|
|
|
private:
|
|
Buffer<DTIN> m_buf_in;
|
|
};
|
|
|
|
#endif |