RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Public Member Functions | Data Fields
RT::block_connection_t Struct Reference

#include <rt.hpp>

Collaboration diagram for RT::block_connection_t:
Collaboration graph

Public Member Functions

bool operator== (const block_connection_t &rhs) const
bool operator!= (const block_connection_t &rhs) const

Data Fields

IO::Blocksrc = nullptr
IO::flags_t src_port_type = IO::UNKNOWN
size_t src_port = 0
IO::Blockdest = nullptr
size_t dest_port = 0

Detailed Description

Information about the connections between blocks.

This is meant to represent connection information about blocks and channels. It also defines equality and inequality functions for determining whether a connection is the same as another, and convenient for existence tests.

srcIO::Block pointer representing the source of data
src_port_typeIO::flags_t for source. Either IO::INPUT, IO::OUTPUT or IO::UNKNOWN
src_portIndex of the source channel generating the output
destIO::Block pointer representing who to send the output to
dest_portIndex of the destination channel taking the output as input

Definition at line 185 of file rt.hpp.

Member Function Documentation

◆ operator!=()

bool RT::block_connection_t::operator!=(const block_connection_trhs)const

Definition at line 198 of file rt.hpp.

Here is the call graph for this function:

◆ operator==()

bool RT::block_connection_t::operator==(const block_connection_trhs)const

Definition at line 192 of file rt.hpp.

Field Documentation

◆ dest

IO::Block* RT::block_connection_t::dest = nullptr

Definition at line 190 of file rt.hpp.

◆ dest_port

size_t RT::block_connection_t::dest_port = 0

Definition at line 191 of file rt.hpp.

◆ src

IO::Block* RT::block_connection_t::src = nullptr

Definition at line 187 of file rt.hpp.

◆ src_port

size_t RT::block_connection_t::src_port = 0

Definition at line 189 of file rt.hpp.

◆ src_port_type

IO::flags_t RT::block_connection_t::src_port_type = IO::UNKNOWN

Definition at line 188 of file rt.hpp.

The documentation for this struct was generated from the following file: