17#ifndef __ROGUE_PROTOCOLS_PACKETIZER_TRANSPORT_H__
18#define __ROGUE_PROTOCOLS_PACKETIZER_TRANSPORT_H__
54 std::shared_ptr<rogue::protocols::packetizer::Controller> cntl_;
58 std::thread* thread_ =
nullptr;
59 std::atomic<bool> threadEn_{
false};
77 static std::shared_ptr<rogue::protocols::packetizer::Transport>
create();
103 void setController(std::shared_ptr<rogue::protocols::packetizer::Controller> cntl);
109 void acceptFrame(std::shared_ptr<rogue::interfaces::stream::Frame> frame);
113typedef std::shared_ptr<rogue::protocols::packetizer::Transport>
TransportPtr;
Stream slave endpoint and default frame pool.
Packetizer transport endpoint.
~Transport()
Destroys the packetizer transport endpoint.
static std::shared_ptr< rogue::protocols::packetizer::Transport > create()
Creates a packetizer transport endpoint.
void setController(std::shared_ptr< rogue::protocols::packetizer::Controller > cntl)
Attaches the packetizer controller.
static void setup_python()
Registers Python bindings for this class.
void acceptFrame(std::shared_ptr< rogue::interfaces::stream::Frame > frame)
Accepts a frame from the upstream stream interface.
Transport()
Constructs a packetizer transport endpoint.
std::shared_ptr< rogue::protocols::packetizer::Transport > TransportPtr