TwiceAsNice
2019-02-18
|
This object allows sending line based commands to another communication end point. More...
#include <SerialLine.h>
Public Member Functions | |
SerialLine () | |
virtual void | write (const std::string &line) |
virtual std::string | read () |
virtual | ~SerialLine () |
void | setDestinationHostname (const std::string &hostname) |
void | setDestinationPortNr (const unsigned tcpPortNr) |
void | init () |
SerialLine () | |
virtual void | write (const std::string &line) |
virtual std::string | read () |
virtual | ~SerialLine () |
void | setDestinationHostname (const std::string &hostname) |
void | setDestinationPortNr (const unsigned tcpPortNr) |
void | init () |
Private Attributes | |
bool | initialized_ |
std::string | hostname_ |
unsigned | portNr_ |
boost::shared_ptr< Nice::ChatLine > | chatLine_ |
std::string | endOfLine_ |
This object allows sending line based commands to another communication end point.
basda::quantumcomposers::SerialLine::SerialLine | ( | ) |
|
virtual |
basda::quantumcomposers::SerialLine::SerialLine | ( | ) |
|
virtual |
void basda::quantumcomposers::SerialLine::init | ( | ) |
void basda::quantumcomposers::SerialLine::init | ( | ) |
|
virtual |
Reimplemented in basda::quantumcomposers::SerialLineMock, and basda::quantumcomposers::SerialLineMock.
|
virtual |
Reimplemented in basda::quantumcomposers::SerialLineMock, and basda::quantumcomposers::SerialLineMock.
void basda::quantumcomposers::SerialLine::setDestinationHostname | ( | const std::string & | hostname | ) |
void basda::quantumcomposers::SerialLine::setDestinationHostname | ( | const std::string & | hostname | ) |
void basda::quantumcomposers::SerialLine::setDestinationPortNr | ( | const unsigned | tcpPortNr | ) |
void basda::quantumcomposers::SerialLine::setDestinationPortNr | ( | const unsigned | tcpPortNr | ) |
|
virtual |
Reimplemented in basda::quantumcomposers::SerialLineMock, and basda::quantumcomposers::SerialLineMock.
|
virtual |
Reimplemented in basda::quantumcomposers::SerialLineMock, and basda::quantumcomposers::SerialLineMock.
|
private |
|
private |
|
private |
|
private |
|
private |