| 59 | } |
| 60 | |
| 61 | SerialStream::~SerialStream() |
| 62 | { |
| 63 | // Close the serial stream if it is open. |
| 64 | if (this->IsOpen()) |
| 65 | { |
| 66 | this->FlushIOBuffers() ; |
| 67 | this->Close() ; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | void |
| 72 | SerialStream::Open(const std::string& fileName, |
nothing calls this directly
no test coverage detected