CoreV2

TODO

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

typedef std::shared_ptr<rogue::protocols::packetizer::CoreV2> rogue::protocols::packetizer::CoreV2Ptr

The class description is shown below:

class CoreV2

Packetizer v2 core wiring object.

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

Public Functions

CoreV2(bool enIbCrc, bool enObCrc, bool enSsi)

Constructs a packetizer v2 core.

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

Parameters:
  • enIbCrc – Enable inbound CRC checking.

  • enObCrc – Enable outbound CRC generation.

  • enSsi – Enable SSI framing behavior.

~CoreV2()

Destroys the packetizer v2 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::CoreV2> create(bool enIbCrc, bool enObCrc, bool enSsi)

Creates a packetizer v2 core.

Parameter semantics are identical to the constructor; see CoreV2() for construction-path 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:
  • enIbCrc – Enable inbound CRC checking.

  • enObCrc – Enable outbound CRC generation.

  • enSsi – Enable SSI framing behavior.

Returns:

Shared pointer to the created packetizer v2 core.

static void setup_python()

Registers Python bindings for this class.