Core

TODO

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

typedef std::shared_ptr<rogue::protocols::packetizer::Core> rogue::protocols::packetizer::CorePtr

The class description is shown below:

class Core

Packetizer core wiring object.

Owns and connects transport, controller, and per-destination application endpoints for the packetizer v1 stack.

Public Functions

explicit Core(bool enSsi)

Constructs a packetizer core.

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

Parameters:

enSsi – Enable SSI framing behavior.

~Core()

Destroys the packetizer core.

std::shared_ptr<rogue::protocols::packetizer::Transport> transport()

Returns the transport-facing endpoint.

Returns:

Shared transport interface.

std::shared_ptr<rogue::protocols::packetizer::Application> application(uint8_t dest)

Returns an application endpoint by destination ID.

Parameters:

dest – Destination channel ID.

Returns:

Shared application endpoint.

uint32_t getDropCount()

Returns total dropped-frame count reported by the controller.

Returns:

Number of dropped frames.

void setTimeout(uint32_t timeout)

Sets transmit timeout for internal controller operations.

Parameters:

timeout – Timeout in microseconds.

Public Static Functions

static std::shared_ptr<rogue::protocols::packetizer::Core> create(bool enSsi)

Creates a packetizer core.

Parameter semantics are identical to the constructor; see Core() for core-construction details. 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.

Parameters:

enSsi – Enable SSI framing behavior.

Returns:

Shared pointer to the created packetizer core.

static void setup_python()

Registers Python bindings for this class.