MCPcopy Create free account
hub / github.com/crayzeewulf/libserial / Implementation

Method Implementation

src/SerialStreamBuf.cpp:657–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

655 /** -------------------------- Implementation -------------------------- */
656
657 inline
658 SerialStreamBuf::Implementation::Implementation(const std::string& fileName,
659 const BaudRate& baudRate,
660 const CharacterSize& characterSize,
661 const FlowControl& flowControlType,
662 const Parity& parityType,
663 const StopBits& stopBits)
664 try : mSerialPort(fileName,
665 baudRate,
666 characterSize,
667 flowControlType,
668 parityType,
669 stopBits)
670 {
671 // empty
672 }
673 catch (const std::exception& err)
674 {
675 throw OpenFailed(err.what()) ;
676 }
677
678 inline
679 void

Callers

nothing calls this directly

Calls 1

OpenFailedClass · 0.85

Tested by

no test coverage detected