mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Implemented connection timeout in C++
This commit is contained in:
parent
4295d65115
commit
9ee6829ebc
5 changed files with 19 additions and 18 deletions
|
@ -24,6 +24,7 @@ class GCodeSender : private boost::noncopyable {
|
|||
void disconnect();
|
||||
bool error_status() const;
|
||||
bool is_connected() const;
|
||||
bool wait_connected(unsigned int timeout = 3) const;
|
||||
size_t queue_size() const;
|
||||
void pause_queue();
|
||||
void resume_queue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue