- Commented file
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@411 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
da5fc9d195
commit
24edbf1c43
|
@ -35,14 +35,31 @@ namespace sgpem {
|
||||||
class StandardIO;
|
class StandardIO;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Concrete subclass of \ref IOManager implemented using
|
||||||
|
standard input and standard output.
|
||||||
*/
|
*/
|
||||||
class StandardIO : public IOManager
|
class StandardIO : public IOManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
/**
|
||||||
|
Prints the parameter to standard output.
|
||||||
|
\param buffer The string to print.
|
||||||
|
\return The number of printed characters.
|
||||||
|
*/
|
||||||
uint write_buffer(const Glib::ustring& buffer);
|
uint write_buffer(const Glib::ustring& buffer);
|
||||||
|
|
||||||
|
/**
|
||||||
|
Reads from standard input a command.
|
||||||
|
Whitespaces are trimmed at the beginning and at the end.
|
||||||
|
\return The command string, trimmed of whitespaces.
|
||||||
|
*/
|
||||||
Glib::ustring read_command();
|
Glib::ustring read_command();
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns wheter this device can simultaneously read and write.
|
||||||
|
\return true if the device can read and write simultaneously, false otherwise.
|
||||||
|
*/
|
||||||
bool is_full_duplex();
|
bool is_full_duplex();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue