|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <BlockLogicalOperator.hpp>
类 ast::BlockLogicalOperator 继承关系图:Public 成员函数 | |
| BlockLogicalOperator (ELogicalOperatorType type=ELogicalOperatorType::eAnd) | |
| errc_t | run (const SimTime &simTime) override |
| void | setOperatorType (ELogicalOperatorType type) |
| ELogicalOperatorType | getOperatorType () const |
Public 成员函数 继承自 ast::FuncBlock | |
| const std::vector< DataPort > & | getInputPorts () const |
| std::vector< DataPort > & | getInputPorts () |
| const std::vector< DataPort > & | getOutputPorts () const |
| std::vector< DataPort > & | getOutputPorts () |
| size_t | getNumInputPorts () const |
| size_t | getNumOutputPorts () const |
| DataPort * | getInputPort (StringView portName) |
| DataPort * | getOutputPort (StringView portName) |
| DataPort * | getInputPort (size_t portIndex) |
| DataPort * | getOutputPort (size_t portIndex) |
| DataPort::EValueType | getInputPortDataType (size_t portIndex) |
| DataPort::EValueType | getOutputPortDataType (size_t portIndex) |
| void * | getInputPortSignal (size_t portIndex) |
| void * | getOutputPortSignal (size_t portIndex) |
| double * | getInputPortRealSignal (size_t portIndex) |
| double * | getOutputPortRealSignal (size_t portIndex) |
| int | getInputPortWidth (size_t portIndex) |
| int | getOutputPortWidth (size_t portIndex) |
Protected 属性 | |
| ELogicalOperatorType | operatorType_ {ELogicalOperatorType::eAnd} |
| int * | input1_ {nullptr} |
| int * | input2_ {nullptr} |
| int * | output_ {&outputBuffer_} |
| int | outputBuffer_ {0} |
Protected 属性 继承自 ast::FuncBlock | |
| std::vector< DataPort > | inputPorts_ |
| std::vector< DataPort > | outputPorts_ |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 ast::FuncBlock | |
| static errc_t | connect (FuncBlock *src, StringView srcPortName, FuncBlock *dst, StringView dstPortName) |
| static errc_t | connect (FuncBlock *src, size_t srcPortIndex, FuncBlock *dst, size_t dstPortIndex) |
逻辑运算符块
| ELogicalOperatorType ast::BlockLogicalOperator::getOperatorType | ( | ) | const |
获取逻辑运算符类型
|
overridevirtual |
| void ast::BlockLogicalOperator::setOperatorType | ( | ELogicalOperatorType | type | ) |
设置逻辑运算符类型
| type | 逻辑运算符类型 |