#include <block.h>
Inherited by DiscreteTimeSystems::Integrator, and DiscreteTimeSystems::SinSource.
Inheritance diagram for DiscreteTimeSystems::Block:

Public Member Functions | |
| Block () | |
| virtual | ~Block () |
| InputPort * | getInputPort (int n) |
| OutputPort * | getOutputPort (int n) |
| virtual bool | isStatefulBlock ()=0 |
| virtual void | updateState ()=0 |
| virtual void | updateOutput ()=0 |
Protected Attributes | |
| std::vector< InputPort * > | _in_ports |
| std::vector< OutputPort * > | _out_ports |
Definition at line 11 of file block.h.
| DiscreteTimeSystems::Block::Block | ( | ) |
| InputPort * DiscreteTimeSystems::Block::getInputPort | ( | int | n | ) |
| OutputPort * DiscreteTimeSystems::Block::getOutputPort | ( | int | n | ) |
| virtual bool DiscreteTimeSystems::Block::isStatefulBlock | ( | ) | [pure virtual] |
Returns true if this is a stateful block
Implemented in DiscreteTimeSystems::Integrator, and DiscreteTimeSystems::SinSource.
| virtual void DiscreteTimeSystems::Block::updateState | ( | ) | [pure virtual] |
Updates the block state, but does not update the output
Implemented in DiscreteTimeSystems::Integrator, and DiscreteTimeSystems::SinSource.
| virtual void DiscreteTimeSystems::Block::updateOutput | ( | ) | [pure virtual] |
Only updates the output
Implemented in DiscreteTimeSystems::Integrator, and DiscreteTimeSystems::SinSource.
1.5.1