52 const std::vector<DataPort>&
getInputPorts()
const {
return inputPorts_; }
53 std::vector<DataPort>& getInputPorts() {
return inputPorts_; }
58 std::vector<DataPort>& getOutputPorts() {
return outputPorts_; }
82 DataPort* getInputPort(
size_t portIndex);
87 DataPort* getOutputPort(
size_t portIndex);
92 DataPort::EValueType getInputPortDataType(
size_t portIndex);
98 DataPort::EValueType getOutputPortDataType(
size_t portIndex);
103 void* getInputPortSignal(
size_t portIndex);
109 void* getOutputPortSignal(
size_t portIndex);
115 double* getInputPortRealSignal(
size_t portIndex);
121 double* getOutputPortRealSignal(
size_t portIndex);
127 int getInputPortWidth(
size_t portIndex);
133 int getOutputPortWidth(
size_t portIndex);
149 static errc_t connect(
FuncBlock* src,
size_t srcPortIndex,
FuncBlock* dst,
size_t dstPortIndex);
152 std::vector<DataPort> inputPorts_;
153 std::vector<DataPort> outputPorts_;