OpenDaVINCI  4.15.3
odcore::wrapper::SerialPortFactory Class Reference

#include <SerialPortFactory.h>

Static Public Member Functions

static SerialPortcreateSerialPort (const string &port, const uint32_t &baudRate)
 

Member Function Documentation

SerialPort * odcore::wrapper::SerialPortFactory::createSerialPort ( const string &  port,
const uint32_t &  baudRate 
)
static

This method creates a serial port.

Parameters
portSerial port.
baudRateBaud rate.
Returns
A new serial port