MotionLib  1.0.0
SamBuCa motion library
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
grbl::GrblTester Class Reference
Collaboration diagram for grbl::GrblTester:
Collaboration graph
[legend]

Public Member Functions

 GrblTester (std::unique_ptr< GrblDeviceBase > grblDevice)
 
grbl::ErrorCode send (const std::string &cmd)
 
void write (const std::string &data)
 
bool wait (const std::chrono::milliseconds &timeout)
 
void wake ()
 
bool expect (const std::string &regex, std::chrono::milliseconds timeout=defaultExpectTimeout)
 
bool expect (const ccut::Regex &regex, std::chrono::milliseconds timeout=defaultExpectTimeout)
 
bool expect (const ccut::Regex &regex, std::vector< std::string > &matches, std::chrono::milliseconds timeout=defaultExpectTimeout)
 

Static Public Attributes

static const std::chrono::milliseconds defaultExpectTimeout {500}
 

Protected Member Functions

void sendCmd (const std::string &command)
 

Protected Attributes

std::unique_ptr< GrblDeviceBasem_grblDevice
 

Detailed Description

Definition at line 40 of file GrblTester.hpp.


The documentation for this class was generated from the following files: