Transport

Transport is the lower RSSI stream endpoint. It exchanges RSSI frames between the controller and the underlying link transport.

Transport objects in C++ are referenced by the following shared pointer typedef:

typedef std::shared_ptr<rogue::protocols::rssi::Transport> rogue::protocols::rssi::TransportPtr

The class description is shown below:

class Transport : public rogue::interfaces::stream::Master, public rogue::interfaces::stream::Slave

RSSI transport endpoint.

Bridges stream traffic between the RSSI controller and the underlying link.

Inbound frames are forwarded synchronously to Controller::transportRx(). Outbound transport frames are produced via controller APIs and emitted by other RSSI components.

Public Functions

Transport()

Constructs a transport endpoint.

This constructor is a low-level C++ allocation path. Prefer create() when shared ownership or Python exposure is required.

~Transport()

Destroys the transport endpoint.

void setController(std::shared_ptr<rogue::protocols::rssi::Controller> cntl)

Attaches the RSSI controller.

Parameters:

cntlController instance that owns protocol state.

virtual void acceptFrame(std::shared_ptr<rogue::interfaces::stream::Frame> frame)

Accepts a frame from the upstream stream interface.

Parameters:

frame – Input frame to decode and forward to controller logic.

Public Static Functions

static std::shared_ptr<rogue::protocols::rssi::Transport> create()

Creates a new transport endpoint instance.

This static factory is the preferred construction path when the object is shared across Rogue graph connections or exposed to Python. It returns std::shared_ptr ownership compatible with Rogue pointer typedefs.

Returns:

Shared pointer to the created transport endpoint.

static void setup_python()

Registers Python bindings for this class.