RTXI 3.0.0 The Real-Time eXperiment Interface Reference Manual |
Connection Oriented Classes. More...
Data Structures | |
struct | channel_t |
class | Block |
struct | endpoint |
Typedefs | |
typedef struct IO::channel_t | channel_t |
typedef struct IO::endpoint | endpoint |
Enumerations | |
enum | flags_t : size_t { OUTPUT = 0 , INPUT , UNKNOWN } |
Variables | |
constexpr size_t | INVALID_BLOCK_ID = std::numeric_limits<size_t>::max() |
Connection Oriented Classes.
Objects contained within this namespace are responsible for managing data sharing between various RTXI entities called blocks. This is different to the Fifo used for interprocess communication between rtxi and its realtime thread.
typedef struct IO::channel_t IO::channel_t |
Structure used to pass information to an IO::Block upon creation. It is a structure critical for describing the block's ports.
name | The name of the channel |
description | short description of the channel |
flags | whether the channel is IO::INPUT or IO::OUTPUT type |
typedef struct IO::endpoint IO::endpoint |
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) |
enum IO::flags_t : size_t |