Update of /cvsroot/pclasses/pclasses2/include/pclasses/System
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3075/include/pclasses/System
Modified Files:
SerialDevice.h
Log Message:
added input control
Index: SerialDevice.h
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/SerialDevice.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- SerialDevice.h 14 Feb 2005 20:58:05 -0000 1.2
+++ SerialDevice.h 14 Feb 2005 22:53:14 -0000 1.3
@@ -78,9 +78,21 @@
FlowControlSoft
};
- enum InputMode {
+ enum InputFlags {
IgnoreBreak,
- IgnoreParityError
+ BreakInt,
+ IgnoreParityError,
+ ParityMark,
+ EnableParityCheck,
+ StripBit8,
+ NlToCr,
+ IgnoreCr,
+ CrToNl,
+ MapUpperToLower,
+ EnableXON,
+ EnableXOFF,
+ EnableAny,
+ SignalFullQueque
};
enum OutputMode {
@@ -121,7 +133,19 @@
void setCharSize(CharSize csize) throw(IO::IOError);
- CharSize charSize() throw(IO::IOError);
+ CharSize charSize() throw(IO::IOError);
+
+ void setParity(Parity p) throw(IO::IOError);
+
+ Parity parity() throw(IO::IOError);
+
+ void setFlowControl(FlowControl fcontrol) throw(IO::IOError);
+
+ FlowControl flowControl() throw(IO::IOError);
+
+ InputFlags inputFlags() throw(IO::IOError);
+
+ void setInputFlags(InputFlags mode) throw(IO::IOError);
void put(const UInt8& byte) throw(IO::IOError);
|