Generic port interface.
More...
#include <smgl/Ports.hpp>
|
| enum class | State { Idle
, Waiting
, Queued
, Error
} |
| |
Generic port interface.
Definition at line 90 of file Ports.hpp.
◆ State
◆ Port() [1/2]
◆ Port() [2/2]
| smgl::Port::Port |
( |
State |
s | ) |
|
|
explicitprotected |
◆ ~Port()
| virtual smgl::Port::~Port |
( |
| ) |
|
|
protectedvirtualdefault |
◆ deserialize()
| virtual void smgl::Port::deserialize |
( |
const Metadata & |
m | ) |
|
|
pure virtual |
◆ notify()
| virtual void smgl::Port::notify |
( |
State |
s | ) |
|
|
pure virtual |
◆ serialize()
| virtual Metadata smgl::Port::serialize |
( |
| ) |
|
|
pure virtual |
◆ setParent()
| void smgl::Port::setParent |
( |
Node * |
p | ) |
|
Set the port's parent node
◆ setState()
| void smgl::Port::setState |
( |
State |
s | ) |
|
◆ state()
| State smgl::Port::state |
( |
| ) |
const |
Return the port's current state
◆ update()
| virtual bool smgl::Port::update |
( |
| ) |
|
|
pure virtual |
◆ parent_
| Node* smgl::Port::parent_ {nullptr} |
|
protected |
◆ state_
| State smgl::Port::state_ {State::Idle} |
|
protected |
The documentation for this class was generated from the following file: