Serial port enumerator class. More...
#include <dashel.h>
Static Public Member Functions | |
static std::map< int, std::pair< std::string, std::string > > | getPorts () |
Retrieve list of all serial ports available on system. | |
static std::map< int, std::pair< std::string, std::string > > | getPorts () |
Retrieve list of all serial ports available on system. |
Serial port enumerator class.
This class is just a package for one static method.
Definition at line 179 of file dashel.h.
static std::map<int, std::pair<std::string, std::string> > Dashel::SerialPortEnumerator::getPorts | ( | ) | [static] |
Retrieve list of all serial ports available on system.
This function queries the Operating System for all available serial ports.
std::map< int, std::pair< std::string, std::string > > Dashel::SerialPortEnumerator::getPorts | ( | ) | [static] |
Retrieve list of all serial ports available on system.
This function queries the Operating System for all available serial ports.
Definition at line 118 of file dashel-posix.cpp.