WebpagePrinterTool 2.0
Print a web page skip the browser's print preview
|
#include <WorkFlow.h>
Public 成员函数 | |
PrinterWorkFlow () | |
void | addWorkQueue (QJsonObject source, std::move_only_function< void(QJsonObject)> &&resp, std::optional< int > uid) |
void | startWork () |
Public 属性 | |
State | state = State::IsWaiting |
T | first_step |
PrinterDataPack | data_pack |
std::mutex | mutex |
Private 属性 | |
std::queue< std::tuple< QJsonObject, std::move_only_function< void(QJsonObject)>, std::optional< int > > > | print_page_list |
|
inlineexplicit |
|
inline |
|
inline |
PrinterDataPack PrinterWorkFlow< T >::data_pack |
T PrinterWorkFlow< T >::first_step |
std::mutex PrinterWorkFlow< T >::mutex |
|
private |
State PrinterWorkFlow< T >::state = State::IsWaiting |