server_factory.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 
6 #include <websocketpp/common/connection_hdl.hpp>
7 
8 #include "common.hpp"
9 #include "server_interface.hpp"
10 
11 namespace foxglove {
12 
14 public:
15  template <typename ConnectionHandle>
16  static std::unique_ptr<ServerInterface<ConnectionHandle>> createServer(
17  const std::string& name, const std::function<void(WebSocketLogLevel, char const*)>& logHandler,
18  const ServerOptions& options);
19 };
20 
21 } // namespace foxglove
foxglove
Definition: base64.hpp:8
common.hpp
foxglove::ServerFactory
Definition: server_factory.hpp:13
foxglove::ServerFactory::createServer
static std::unique_ptr< ServerInterface< ConnectionHandle > > createServer(const std::string &name, const std::function< void(WebSocketLogLevel, char const *)> &logHandler, const ServerOptions &options)
foxglove::ServerOptions
Definition: server_interface.hpp:45
foxglove::WebSocketLogLevel
WebSocketLogLevel
Definition: common.hpp:43
server_interface.hpp


foxglove_bridge
Author(s): Foxglove
autogenerated on Tue May 20 2025 02:34:26