15constexpr size_t hash(std::string_view input)
noexcept {
17 for (
size_t i = 0; i < input.size(); ++i) {
18 h = 31 * h +
static_cast<std::size_t
>(input[i]);
33 std::function<void(
const QString& msg,
const QString& ip,
const QString& from,
34 std::move_only_function<
void(QJsonObject)>)>
constexpr size_t hash(std::string_view input) noexcept
定义 MsgStation.h:15
std::function< void(const QString &msg, const QString &ip, const QString &from, std::move_only_function< void(QJsonObject)>)> message_handler
定义 MsgStation.h:35
MsgStation()
定义 MsgStation.cpp:12
std::unique_ptr< WebsocketClient > websocket_client
定义 MsgStation.h:32
std::unique_ptr< WebsocketServer > websocket_server
定义 MsgStation.h:31
void initMsgHandler()
定义 MsgStation.cpp:23
std::unique_ptr< HttpServer > http_server
定义 MsgStation.h:30
PrinterWorkFlow< GetConfig< PageRender< RenderPng< ToPrinter< LastProcess > > > > > printer_work_flow
定义 MsgStation.h:36