# opentl::output::SerialPort Class Reference

List of all members.

## Public Member Functions
unsigned int | bytesReadUpdate ()
unsigned int | bytesWrittenUpdate ()
void | close ()
void | flush ()
bool | isOpen () const
bool | open (const char *port, unsigned int speed=115000, unsigned int readTimeout=200)
bool | open (LPCTSTR port, unsigned int speed=115000, unsigned int readTimeout=200)
int | read (unsigned char *buffer, unsigned int length)
| SerialPort ()
bool | setReadTimeout (unsigned int timeout)
bool | setSpeed (unsigned int speed)
int | write (const unsigned char *buffer, unsigned int length)
virtual | ~SerialPort ()

## Constructor & Destructor Documentation

opentl::output::SerialPort::SerialPort | ( |  | ) |

virtual opentl::output::SerialPort::~SerialPort | ( |  | ) | `[virtual]`

## Member Function Documentation

unsigned int opentl::output::SerialPort::bytesReadUpdate | ( |  | ) |

unsigned int opentl::output::SerialPort::bytesWrittenUpdate | ( |  | ) |

void opentl::output::SerialPort::close | ( |  | ) |

void opentl::output::SerialPort::flush | ( |  | ) |

bool opentl::output::SerialPort::isOpen | ( |  | ) | const

bool opentl::output::SerialPort::open | ( | const char * | port,
|  | unsigned int | speed = `115000`,
|  | unsigned int | readTimeout = `200` |
| ) |  |  |

bool opentl::output::SerialPort::open | ( | LPCTSTR | port,
|  | unsigned int | speed = `115000`,
|  | unsigned int | readTimeout = `200` |
| ) |  |  |

int opentl::output::SerialPort::read | ( | unsigned char * | buffer,
|  | unsigned int | length |
| ) |  |  |

bool opentl::output::SerialPort::setReadTimeout | ( | unsigned int | timeout | ) |

bool opentl::output::SerialPort::setSpeed | ( | unsigned int | speed | ) |

int opentl::output::SerialPort::write | ( | const unsigned char * | buffer,
|  | unsigned int | length |
| ) |  |  |