catch boost exceptions in Serial.h
This commit is contained in:
parent
c694bd30d3
commit
de253b6e81
2 changed files with 50 additions and 16 deletions
|
@ -71,6 +71,8 @@ namespace create {
|
|||
// Start and stop reading data from Create
|
||||
bool startReading();
|
||||
void stopReading();
|
||||
bool openPort(const std::string& portName, const int& baud);
|
||||
bool closePort();
|
||||
|
||||
protected:
|
||||
std::shared_ptr<Data> data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue