Public Member Functions | |
XPort (XCharInterface *interface) | |
virtual void | open (const XCharInterface *pInterface)=0 throw (XInterface::XCommError &) |
virtual void | send (const char *str)=0 throw (XInterface::XCommError &) |
virtual void | write (const char *sendbuf, int size)=0 throw (XInterface::XCommError &) |
virtual void | receive ()=0 throw (XInterface::XCommError &) |
virtual void | receive (unsigned int length)=0 throw (XInterface::XCommError &) |
std::vector< char > & | buffer () |
const XString & | portString () const |
const XString & | eos () const |
void | setEOS (const char *str) |
Private Attributes | |
XString | m_portString |
XString | m_eos |
Definition at line 157 of file charinterface.h.
|
inline |
Thread-Local-Storage Buffer.
Definition at line 168 of file charinterface.h.
References XCustomCharInterface::buffer_receive().