- removed type stuff

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@885 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-05-29 08:44:22 +00:00
parent fb89ad3864
commit 49dbb70de7
4 changed files with 4 additions and 18 deletions
+1 -15
View File
@@ -16,11 +16,9 @@ class Block
Double
};
Block(size_t num_in, size_t num_out, DType dtype_in, DType dtype_out)
Block(size_t num_in, size_t num_out)
: m_num_in(num_in)
, m_num_out(num_out)
, m_dtype_in(dtype_in)
, m_dtype_out(dtype_out)
, m_buf_out(nullptr)
{
@@ -39,16 +37,6 @@ class Block
return m_num_out;
}
DType dtype_in()
{
return m_dtype_in;
}
DType dtype_out()
{
return m_dtype_out;
}
void addBuffer(IBuffer *out)
{
m_buf_out = out;
@@ -62,8 +50,6 @@ class Block
private:
size_t m_num_in;
size_t m_num_out;
DType m_dtype_in;
DType m_dtype_out;
protected:
IBuffer* m_buf_out;
+1 -1
View File
@@ -10,7 +10,7 @@ class NullSink : public Block
{
public:
NullSink<T>(size_t bufSize)
: Block(1, 0, DType::Double, DType::None)
: Block(1, 0)
, m_buf_in(bufSize)
{
+1 -1
View File
@@ -10,7 +10,7 @@ class NullSource : public Block
{
public:
NullSource(size_t bufSize)
: Block(0, 1, DType::None, DType::Double)
: Block(0, 1)
{
}
+1 -1
View File
@@ -12,7 +12,7 @@ class TestBlock : public Block
{
public:
TestBlock(size_t bufSize)
: Block(1, 1, DType::Double, DType::Double)
: Block(1, 1)
, m_buf_in(bufSize)
{