|
. 1.0.0
|
The TEReaderBase is base class for all reader classes. Подробнее...
Открытые типы | |
| enum | ReaderType { RT_BARCODE , RT_CARD } |
| Открытые типы унаследованные от TE | |
| enum | CaptureMode { CM_Exclusive =0 , CM_NonExclusive =1 } |
| Define connection capture mode for setCaptureMode(). | |
| enum | EquipmentConnectionType { ECT_NOCONNECTION =0x0 , ECT_SERIAL =0x1 , ECT_KEYBOARD =0x2 , ECT_TCP =0x3 , ECT_TESERVER =0x4 } |
| enum | CashRegisterOperations { CRO_SELL = 0x0 , CRO_BUY = 0x1 , CRO_SELLRET = 0x2 , CRO_BUYRET = 0x3 , CRO_SELLSTORNO = 0x4 , CRO_BUYSTORNO = 0x5 , CRO_CASHIN = 0x6 , CRO_CASHOUT = 0x7 , CRO_DISCOUNT = 0x8 , CRO_DISCOUNTPERCENT = 0x9 , CRO_OPMASK = 0xF } |
Открытые слоты | |
| virtual QString | text (int iTrackNumber=0) const |
| int | next () |
| void | setBuffering (int iBufEnabled) |
| int | buffering () const |
| void | setDropStopByte (bool bDSB) |
| bool | dropStopByte () const |
| void | setUseStopByte (bool bUSB) |
| bool | useStopByte () const |
| void | setMaxLength (int iML) |
| int | maxLength () const |
| void | setDropBegCnt (int iDBC) |
| int | dropBegCnt () const |
| void | setDropEndCnt (int iDEC) |
| int | dropEndCnt () const |
| int | clearBuffer () |
| void | setStopByte (int) |
| int | stopByte () const |
| void | setMaxDelay (int) |
| int | maxDelay () const |
| void | setStartSequence (const QString &seq) |
| QString | startSequence () const |
| void | setStopSequence (const QString &seq) |
| QString | stopSequence () const |
| QString | errorText () const |
| virtual int | startDriver () |
| virtual int | stopDriver () |
| virtual bool | setParameter (const QString &, const QString &) |
| set Scanner parameter for configurable scanners | |
| int | queueSize () const |
| virtual int | readerType () const =0 |
| Открытые слоты унаследованные от TEBase | |
| virtual int | startDriver () |
| virtual int | stopDriver () |
| virtual int | setCaptureMode (int iMode) |
| virtual int | captureMode () |
Защищенные члены | |
| int | pushText (const QString &) |
| virtual int | openPort ()=0 |
| virtual int | closePort ()=0 |
| virtual int | readBarcode ()=0 |
| virtual void | emitSignal () |
| virtual void | reportError (const QString &) |
| void | setErrorText (const QString &err) |
| virtual void | handleData (const QString &data) |
| handle next data string getted from reader. | |
| Защищенные члены унаследованные от TEBase | |
| void | abstract () |
| void | startPoll (int PollInterval=500, bool defaultProc=true) |
| void | startPoll (bool defaultProc=true) |
| void | stopPoll () |
| void | startIOTransaction () |
| void | stopIOTransaction () |
| TSerialPort * | port () |
| virtual int | putch (int b) |
| virtual int | getch () |
| virtual Q_ULONG | writeBlock (const char *data, Q_ULONG len) |
| virtual Q_ULONG | readBlock (char *data, Q_ULONG maxlen=1) |
| virtual Q_ULONG | readCount () |
| void | clearPPP () |
| void | timerEvent (QTimerEvent *) |
Дополнительные унаследованные члены | |
| Сигналы унаследованные от TEBase | |
| void | deviceEvent (int Code) |
| Открытые члены унаследованные от TEBase | |
| TEBase (int pn) | |
| The TEBase is base class for all trade equipment classes. | |
| virtual void | setActivationKey (const QString &key) |
| virtual QString | activationKey () const |
| int | connectionType () |
| virtual int | setConnectionType (int ct) |
| virtual int | setPortNumber (int pn) |
| int | portNumber () const |
| void | setPollInterval (int pint) |
| int | pollInterval () |
| virtual int | isOpen () |
| int | timeout () |
| void | setTimeout (int timeout) |
| bool | isTimeout () |
| int | debugLevel () |
| void | setDebugLevel (int level) |
| virtual QCString | utf8ToDevice (const QString &text) |
| virtual QString | deviceToUtf8 (const QCString &text) |
| virtual int | isActivationKeyValid () |
| int | errorCode () const |
| void | setErrorCode (const int &code) |
| virtual QString | errorText () const |
| QString | productSuffix () const |
| void | setProductSuffix (const QString &sProductSuffix) |
| void | setPortBaudRate (int) |
| int | portBaudRate () const |
| void | setPortFlowControl (FlowType) |
| FlowType | portFlowControl () const |
| void | setPortParity (ParityType) |
| ParityType | portParity () const |
| void | setPortDataBits (DataBitsType) |
| DataBitsType | portDataBits () const |
| void | setPortStopBits (StopBitsType) |
| StopBitsType | portStopBits () const |
| virtual QValueList< int > | supportedBaudRates () |
| virtual QValueList< int > | supportedConnectionTypes () |
| virtual int | open () |
| virtual int | close () |
| virtual void | processEvent (int Code) |
| virtual QStringList | execCommand (const QString &cmd) |
| virtual bool | isDriverRunning () |
| Защищенные данные унаследованные от TEBase | |
| ExecEngine | m_ee |
| int | m_iCaptureMode |
| bool | m_bDriverStarted |
| Свойства унаследованные от TEBase | |
| QString | ActivationKey |
| int | PortNumber |
| int | PortBaudRate |
The TEReaderBase is base class for all reader classes.
|
protectedvirtual |
Переопределяет метод предка TEBase.
|
virtualslot |
set Scanner parameter for configurable scanners
set Scanner parameter for configurable scanners.
|
slot |
sets start sequence, replacing \r with (char)10
|
slot |
sets stop sequence, replacing \r with (char)10