Class PngStreamerFactory
Defined in File png_streamers.hpp
Inheritance Relationships
Base Type
public web_video_server::streamers::ImageTransportStreamerFactoryBase(Class ImageTransportStreamerFactoryBase)
Class Documentation
-
class PngStreamerFactory : public web_video_server::streamers::ImageTransportStreamerFactoryBase
Public Functions
-
inline virtual std::string get_type()
Returns the type of streamer created by this factory.
This should match the “type” query parameter used to select the streamer.
-
virtual std::shared_ptr<StreamerInterface> create_streamer(const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, rclcpp::Node::WeakPtr node)
Creates a new Streamer instance.
- Parameters:
request – The HTTP request that initiated the streamer.
connection – The HTTP connection to use for streaming.
node – The ROS2 node to use for subscribing to topics.
- Returns:
A shared pointer to the created Streamer instance.
-
inline virtual std::string get_type()