TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
basda::quantumcomposers::SerialLine Class Reference

This object allows sending line based commands to another communication end point. More...

#include <SerialLine.h>

Inheritance diagram for basda::quantumcomposers::SerialLine:
Inheritance graph
Collaboration diagram for basda::quantumcomposers::SerialLine:
Collaboration graph

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::ChatLinechatLine_
 
std::string endOfLine_
 

Detailed Description

This object allows sending line based commands to another communication end point.

Constructor & Destructor Documentation

◆ SerialLine() [1/2]

basda::quantumcomposers::SerialLine::SerialLine ( )

◆ ~SerialLine() [1/2]

basda::quantumcomposers::SerialLine::~SerialLine ( )
virtual

◆ SerialLine() [2/2]

basda::quantumcomposers::SerialLine::SerialLine ( )

◆ ~SerialLine() [2/2]

virtual basda::quantumcomposers::SerialLine::~SerialLine ( )
virtual

Member Function Documentation

◆ init() [1/2]

void basda::quantumcomposers::SerialLine::init ( )

◆ init() [2/2]

void basda::quantumcomposers::SerialLine::init ( )

◆ read() [1/2]

std::string basda::quantumcomposers::SerialLine::read ( void  )
virtual

◆ read() [2/2]

virtual std::string basda::quantumcomposers::SerialLine::read ( )
virtual

◆ setDestinationHostname() [1/2]

void basda::quantumcomposers::SerialLine::setDestinationHostname ( const std::string &  hostname)

◆ setDestinationHostname() [2/2]

void basda::quantumcomposers::SerialLine::setDestinationHostname ( const std::string &  hostname)

◆ setDestinationPortNr() [1/2]

void basda::quantumcomposers::SerialLine::setDestinationPortNr ( const unsigned  tcpPortNr)

◆ setDestinationPortNr() [2/2]

void basda::quantumcomposers::SerialLine::setDestinationPortNr ( const unsigned  tcpPortNr)

◆ write() [1/2]

virtual void basda::quantumcomposers::SerialLine::write ( const std::string &  line)
virtual

◆ write() [2/2]

void basda::quantumcomposers::SerialLine::write ( const std::string &  line)
virtual

Member Data Documentation

◆ chatLine_

boost::shared_ptr< Nice::ChatLine > basda::quantumcomposers::SerialLine::chatLine_
private

◆ endOfLine_

std::string basda::quantumcomposers::SerialLine::endOfLine_
private

◆ hostname_

std::string basda::quantumcomposers::SerialLine::hostname_
private

◆ initialized_

bool basda::quantumcomposers::SerialLine::initialized_
private

◆ portNr_

unsigned basda::quantumcomposers::SerialLine::portNr_
private

The documentation for this class was generated from the following files: