Public Member Functions | |
| void | closePort () | 
| bool | isOpen () | 
| int | openPort (std::string devicestring, int baudrate) | 
| int | readData (std::string &value, size_t nBytes) | 
| int | sendData (std::string value) | 
| SerialCom () | |
| ~SerialCom () | |
Private Member Functions | |
| speed_t | getBaudFromInt (int baud) | 
Private Attributes | |
| int | _fd | 
| bool | m_simulation | 
| struct termios | port_settings | 
Definition at line 83 of file cob_light.cpp.
| SerialCom::SerialCom | ( | ) |  [inline] | 
        
Definition at line 87 of file cob_light.cpp.
| SerialCom::~SerialCom | ( | ) |  [inline] | 
        
Definition at line 92 of file cob_light.cpp.
| void SerialCom::closePort | ( | ) |  [inline] | 
        
Definition at line 156 of file cob_light.cpp.
| speed_t SerialCom::getBaudFromInt | ( | int | baud | ) |  [inline, private] | 
        
Definition at line 169 of file cob_light.cpp.
| bool SerialCom::isOpen | ( | ) |  [inline] | 
        
Definition at line 150 of file cob_light.cpp.
| int SerialCom::openPort | ( | std::string | devicestring, | 
| int | baudrate | ||
| ) |  [inline] | 
        
Definition at line 98 of file cob_light.cpp.
| int SerialCom::readData | ( | std::string & | value, | 
| size_t | nBytes | ||
| ) |  [inline] | 
        
Definition at line 140 of file cob_light.cpp.
| int SerialCom::sendData | ( | std::string | value | ) |  [inline] | 
        
Definition at line 125 of file cob_light.cpp.
int SerialCom::_fd [private] | 
        
Definition at line 164 of file cob_light.cpp.
bool SerialCom::m_simulation [private] | 
        
Definition at line 167 of file cob_light.cpp.
struct termios SerialCom::port_settings [private] | 
        
Definition at line 166 of file cob_light.cpp.