mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
More work on print controller
This commit is contained in:
parent
c06ce3b58c
commit
2c0d216c1a
15 changed files with 626 additions and 63 deletions
|
@ -25,6 +25,8 @@ class GCodeSender : private boost::noncopyable {
|
|||
bool error_status() const;
|
||||
bool is_connected() const;
|
||||
size_t queue_size() const;
|
||||
void pause_queue();
|
||||
void resume_queue();
|
||||
|
||||
private:
|
||||
asio::io_service io;
|
||||
|
@ -39,6 +41,7 @@ class GCodeSender : private boost::noncopyable {
|
|||
mutable boost::mutex queue_mutex;
|
||||
std::queue<std::string> queue;
|
||||
bool can_send;
|
||||
bool queue_paused;
|
||||
size_t sent;
|
||||
|
||||
void set_baud_rate(unsigned int baud_rate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue