17#ifndef __ROGUE_PROTOCOLS_PACKETIZER_CORE_V2_H__
18#define __ROGUE_PROTOCOLS_PACKETIZER_CORE_V2_H__
43 std::shared_ptr<rogue::protocols::packetizer::Transport> tran_;
46 std::shared_ptr<rogue::protocols::packetizer::Application> app_[256];
49 std::shared_ptr<rogue::protocols::packetizer::ControllerV2> cntl_;
67 static std::shared_ptr<rogue::protocols::packetizer::CoreV2>
create(
bool enIbCrc,
bool enObCrc,
bool enSsi);
83 CoreV2(
bool enIbCrc,
bool enObCrc,
bool enSsi);
92 std::shared_ptr<rogue::protocols::packetizer::Transport>
transport();
99 std::shared_ptr<rogue::protocols::packetizer::Application>
application(uint8_t dest);
115typedef std::shared_ptr<rogue::protocols::packetizer::CoreV2>
CoreV2Ptr;
Packetizer v2 core wiring object.
std::shared_ptr< rogue::protocols::packetizer::Application > application(uint8_t dest)
Returns an application endpoint by destination ID.
void setTimeout(uint32_t timeout)
Sets transmit timeout for internal controller operations.
~CoreV2()
Destroys the packetizer v2 core.
std::shared_ptr< rogue::protocols::packetizer::Transport > transport()
Returns the transport-facing endpoint.
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.
uint32_t getDropCount()
Returns total dropped-frame count reported by the controller.
std::shared_ptr< rogue::protocols::packetizer::CoreV2 > CoreV2Ptr