- use TestBlock
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@877 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
#include "ABlock.hpp"
|
|
||||||
|
|
||||||
void ABlock::process()
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
#ifndef __RADIO_ABLOCK_H__
|
#ifndef __RADIO_ABLOCK_H__
|
||||||
#define __RADIO_ABLOCK_H__
|
#define __RADIO_ABLOCK_H__
|
||||||
|
|
||||||
|
#include "Buffer.hpp"
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
class ABlock
|
class ABlock
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void process();
|
virtual void process(Buffer<T> &buffer_in, Buffer<T> &buffer_out) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __RADIO_ABLOCK_H__
|
#endif // __RADIO_ABLOCK_H__
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#include <armadillo>
|
#include <armadillo>
|
||||||
|
|
||||||
#include <Buffer.hpp>
|
#include <Buffer.hpp>
|
||||||
|
#include "TestBlock.hpp"
|
||||||
|
|
||||||
#ifndef LENGTH
|
#ifndef LENGTH
|
||||||
#define LENGTH(a) (sizeof(a)/sizeof(a[0]))
|
#define LENGTH(a) (sizeof(a)/sizeof(a[0]))
|
||||||
|
|||||||
Reference in New Issue
Block a user