- refactored Processor::Block

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@1009 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-17 06:23:37 +00:00
parent cc9b078f4c
commit ae0e7a7915
+6 -10
View File
@@ -5,21 +5,17 @@
#include "Buffer.hpp"
namespace Processor
{
class Block
{
public:
enum DType
{
None,
Float,
Double
};
Block(size_t num_in, size_t num_out)
: m_num_in(num_in)
, m_num_out(num_out)
, m_buf_out(nullptr)
, m_isBypass(false)
{
}
@@ -47,14 +43,14 @@ class Block
return nullptr;
}
private:
protected:
size_t m_num_in;
size_t m_num_out;
protected:
IBuffer* m_buf_out;
bool m_isBypass;
};
} // Processor
#endif // __RADIO_BLOCK_H__