|
rogue
|
Packetizer v2 core wiring object. More...
#include <CoreV2.h>
Public Member Functions | |
| CoreV2 (bool enIbCrc, bool enObCrc, bool enSsi) | |
| Constructs a packetizer v2 core. | |
| ~CoreV2 () | |
| Destroys the packetizer v2 core. | |
| std::shared_ptr< rogue::protocols::packetizer::Transport > | transport () |
| Returns the transport-facing endpoint. | |
| std::shared_ptr< rogue::protocols::packetizer::Application > | application (uint8_t dest) |
| Returns an application endpoint by destination ID. | |
| uint32_t | getDropCount () |
| Returns total dropped-frame count reported by the controller. | |
| void | setTimeout (uint32_t timeout) |
| Sets transmit timeout for internal controller operations. | |
Static Public Member Functions | |
| static std::shared_ptr< rogue::protocols::packetizer::CoreV2 > | create (bool enIbCrc, bool enObCrc, bool enSsi) |
| Creates a packetizer v2 core. | |
| static void | setup_python () |
| Registers Python bindings for this class. | |
Packetizer v2 core wiring object.
Owns and connects transport, v2 controller, and per-destination application endpoints for the packetizer v2 stack.
| rogue::protocols::packetizer::CoreV2::CoreV2 | ( | bool | enIbCrc, |
| bool | enObCrc, | ||
| bool | enSsi | ||
| ) |
Constructs a packetizer v2 core.
Creator.
This constructor is a low-level C++ allocation path. Prefer create() when shared ownership or Python exposure is required.
| enIbCrc | Enable inbound CRC checking. |
| enObCrc | Enable outbound CRC generation. |
| enSsi | Enable SSI framing behavior. |
Definition at line 54 of file CoreV2.cpp.
| rogue::protocols::packetizer::CoreV2::~CoreV2 | ( | ) |
| rogue::protocols::packetizer::ApplicationPtr rogue::protocols::packetizer::CoreV2::application | ( | uint8_t | dest | ) |
Returns an application endpoint by destination ID.
Application module.
| dest | Destination channel ID. |
Definition at line 77 of file CoreV2.cpp.
|
static |
Creates a packetizer v2 core.
Class creation.
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.
| enIbCrc | Enable inbound CRC checking. |
| enObCrc | Enable outbound CRC generation. |
| enSsi | Enable SSI framing behavior. |
Description:
This file is part of the rogue software platform. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of the rogue software platform, including this file, may be copied, modified, propagated, or distributed except according to the terms
Definition at line 38 of file CoreV2.cpp.
| uint32_t rogue::protocols::packetizer::CoreV2::getDropCount | ( | ) |
Returns total dropped-frame count reported by the controller.
Get drop count.
Definition at line 86 of file CoreV2.cpp.
| void rogue::protocols::packetizer::CoreV2::setTimeout | ( | uint32_t | timeout | ) |
Sets transmit timeout for internal controller operations.
| timeout | Timeout in microseconds. |
Definition at line 90 of file CoreV2.cpp.
|
static |
Registers Python bindings for this class.
Definition at line 43 of file CoreV2.cpp.
| rogue::protocols::packetizer::TransportPtr rogue::protocols::packetizer::CoreV2::transport | ( | ) |
Returns the transport-facing endpoint.
Get transport interface.
Definition at line 72 of file CoreV2.cpp.