A traits object that exposes information about TBlock
.
More...
#include <BlockTraits.hpp>
Public Types | |
using | type = TBlock |
Current class. | |
using | Base = typename type::Base |
Base Block class. | |
Static Public Attributes | |
static constexpr const BlockType | blockType = BlockType::UnknownBlock |
Block type. | |
static constexpr const bool | directFeedthrough = false |
Whether or not the block has direct feedthrough. | |
static const constexpr int | kIns = type::Base::kIns |
Number of input slots. | |
static const constexpr int | kOuts = type::Base::kOuts |
Number of output slots. | |
static const constexpr int | kPars = type::Base::kPars |
Number of parameters. | |
static const ::std::array<::std::string, kIns > | inTypes |
Input types (as strings). | |
static const ::std::array<::std::string, kOuts > | outTypes |
Output types (as strings). | |
static const ::std::array<::std::string, kPars > | parTypes |
Parameter types (as strings). | |
static const ::std::array<::std::string, 1 > | templateTypes |
Template parameter types (as strings). | |
A traits object that exposes information about TBlock
.
All Blocks will have a partial specialization of this class that exposes the following:
TBlock | Block type. |