17#ifndef __ROGUE_PROTOCOLS_PACKETIZER_CONTROLLER_V2_H__
18#define __ROGUE_PROTOCOLS_PACKETIZER_CONTROLLER_V2_H__
69 static std::shared_ptr<rogue::protocols::packetizer::ControllerV2>
create(
73 std::shared_ptr<rogue::protocols::packetizer::Transport> tran,
74 std::shared_ptr<rogue::protocols::packetizer::Application>* app);
92 std::shared_ptr<rogue::protocols::packetizer::Transport> tran,
93 std::shared_ptr<rogue::protocols::packetizer::Application>* app);
102 void transportRx(std::shared_ptr<rogue::interfaces::stream::Frame> frame);
109 void applicationRx(std::shared_ptr<rogue::interfaces::stream::Frame> frame, uint8_t
id);
Typed shared-from-this helper for Rogue classes.
Packetizer controller implementation for protocol v2.
void transportRx(std::shared_ptr< rogue::interfaces::stream::Frame > frame)
Processes a frame received at the transport interface.
~ControllerV2()
Destroys the controller instance.
static std::shared_ptr< rogue::protocols::packetizer::ControllerV2 > create(bool enIbCrc, bool enObCrc, bool enSsi, std::shared_ptr< rogue::protocols::packetizer::Transport > tran, std::shared_ptr< rogue::protocols::packetizer::Application > *app)
Creates a packetizer v2 controller.
void applicationRx(std::shared_ptr< rogue::interfaces::stream::Frame > frame, uint8_t id)
Processes a frame received from one application endpoint.
Packetizer base controller.
std::shared_ptr< rogue::protocols::packetizer::ControllerV2 > ControllerV2Ptr