RTXI 3.0.0 The Real-Time eXperiment Interface Reference Manual |
#include <io.hpp>
Public Member Functions | |
bool | operator== (const endpoint &rhs) const |
bool | operator!= (const endpoint &rhs) const |
Data Fields | |
IO::Block * | block = nullptr |
size_t | port = 0 |
IO::flags_t | direction = IO::UNKNOWN |
Structure used to pass information to plugins about a connection.
This structure holds details that identifies a connection end. it is guaranteed to be unique and has comparison functions implemented to allow for ease of equality checks in higher level algorithms
block | Pointer to the block object |
port | The index of the channel this object represents |
direction | An IO::flags_t value stating the direction. possible values are: IO::INPUT, IO::OUTPUT, IO::UNKNOWN (default) |
| inline |
| inline |
IO::flags_t IO::endpoint::direction = IO::UNKNOWN |