|
. 1.0.0
|
The TEDisplayBase is base class for all customer display classes. Подробнее...
#include <tedisplaybase.h>
Открытые типы | |
| enum | CommandSet { CS_DEFAULT =0 , CS_EPSON , CS_DSP800 , CS_AEDEX , CS_FIRICH } |
| Открытые типы унаследованные от 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 void | setPortBaudRate (int) |
| virtual void | setScrollSpeed (int)=0 |
| virtual int | setCommandSet (int) |
| virtual void | initDisplay () |
| virtual void | setPortNumberAndInit (int pn) |
| virtual void | setDisplayMode (const QString &mode) |
| virtual void | showText (const QString &text, const QString &category="default", const QString &mode="scroll/left") |
| virtual void | processEvent (int Code) |
| Открытые слоты унаследованные от TEBase | |
| virtual int | startDriver () |
| virtual int | stopDriver () |
| virtual int | setCaptureMode (int iMode) |
| virtual int | captureMode () |
Открытые члены | |
| TEDisplayBase (int pn) | |
| virtual QString | commandSetName (int) |
| virtual bool | isCommandSetSupported (int) |
| virtual QString | modelInfo () |
| virtual int | scrollSpeed ()=0 |
| virtual int | portBaudRate () |
| int | getCommandSet () const |
| Открытые члены унаследованные от 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 |
| virtual void | setErrorText (const QString &err) |
| 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 () |
Защищенные члены | |
| void | setSlowPortMode (int delayus) |
| Q_ULONG | writeBlockSlow (const char *data, Q_ULONG len) |
| void | addToBuffer (const char *data, Q_ULONG len) |
| virtual void | initPort ()=0 |
| Защищенные члены унаследованные от TEBase | |
| void | abstract () |
| void | startPoll (int PollInterval=500, bool defaultProc=true) |
| void | startPoll (bool defaultProc=true) |
| void | stopPoll () |
| void | startIOTransaction () |
| void | stopIOTransaction () |
| virtual int | poll () |
| 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 *) |
Защищенные данные | |
| Q_ULONG | m_baudRate |
| int | m_slowMode |
| QMutex * | m_pBufferMutex |
| QWaitCondition * | m_pDataReady |
| QThread * | m_pWriter |
| QByteArray * | m_pBuffer |
| int | m_eCommandSet |
| Защищенные данные унаследованные от TEBase | |
| ExecEngine | m_ee |
| int | m_iCaptureMode |
| bool | m_bDriverStarted |
Дополнительные унаследованные члены | |
| Сигналы унаследованные от TEBase | |
| void | deviceEvent (int Code) |
| Свойства унаследованные от TEBase | |
| QString | ActivationKey |
| int | PortNumber |
| int | PortBaudRate |
The TEDisplayBase is base class for all customer display classes.