Public Member Functions | Private Attributes | List of all members
XPort Class Referenceabstract
Inheritance diagram for XPort:
Inheritance graph
[legend]

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 XStringportString () const
 
const XStringeos () const
 
void setEOS (const char *str)
 

Private Attributes

XString m_portString
 
XString m_eos
 

Detailed Description

Definition at line 157 of file charinterface.h.

Member Function Documentation

std::vector<char>& XPort::buffer ( )
inline

Thread-Local-Storage Buffer.

See Also
XThreadLocal

Definition at line 168 of file charinterface.h.

References XCustomCharInterface::buffer_receive().


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

Generated for KAME4 by  doxygen 1.8.3