Updated
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@879 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -3,19 +3,26 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ABlock.hpp>
|
||||
#include <Block.hpp>
|
||||
|
||||
template <typename T>
|
||||
class TestBlock : public ABlock<T>
|
||||
using DTIN = double;
|
||||
using DTOUT = double;
|
||||
|
||||
class TestBlock : public Block
|
||||
{
|
||||
public:
|
||||
TestBlock();
|
||||
~TestBlock();
|
||||
TestBlock(size_t bufSize)
|
||||
: Block(1, 1, DType::Double, DType::Double)
|
||||
, m_buf_in(bufSize)
|
||||
{
|
||||
|
||||
void process(Buffer<T> &in, Buffer<T> &out);
|
||||
}
|
||||
virtual ~TestBlock() = default;
|
||||
|
||||
void process(IBuffer &in, IBuffer &out) override;
|
||||
|
||||
private:
|
||||
|
||||
Buffer<DTIN> m_buf_in;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user