MCPcopy Create free account
hub / github.com/crayzeewulf/libserial / ~SerialStream

Method ~SerialStream

src/SerialStream.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 3

IsOpenMethod · 0.95
FlushIOBuffersMethod · 0.95
CloseMethod · 0.95

Tested by

no test coverage detected