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

Method Implementation

src/SerialPort.cpp:792–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790 /** -------------------------- Implementation -------------------------- */
791
792 inline
793 SerialPort::Implementation::Implementation(const std::string& fileName,
794 const BaudRate& baudRate,
795 const CharacterSize& characterSize,
796 const FlowControl& flowControlType,
797 const Parity& parityType,
798 const StopBits& stopBits)
799 {
800 this->Open(fileName, std::ios_base::in | std::ios_base::out) ;
801 this->SetBaudRate(baudRate) ;
802 this->SetCharacterSize(characterSize) ;
803 this->SetFlowControl(flowControlType) ;
804 this->SetParity(parityType) ;
805 this->SetStopBits(stopBits) ;
806 }
807
808 inline
809 SerialPort::Implementation::~Implementation()

Callers

nothing calls this directly

Calls 6

OpenMethod · 0.45
SetBaudRateMethod · 0.45
SetCharacterSizeMethod · 0.45
SetFlowControlMethod · 0.45
SetParityMethod · 0.45
SetStopBitsMethod · 0.45

Tested by

no test coverage detected