Fake serial interface, to connect a Mockup device.
More...
#include <SerialTest.h>
Fake serial interface, to connect a Mockup device.
- See also
- Mockup
SerialTest::SerialTest |
( |
| ) |
|
|
inline |
void SerialTest::close |
( |
| ) |
|
|
overridevirtual |
void SerialTest::flush |
( |
| ) |
const |
|
overridevirtual |
void SerialTest::open |
( |
const QString & |
port, |
|
|
const QString & |
type |
|
) |
| |
|
overridevirtual |
Instanciate a Mockup implementation.
Override
Re-implement all basic methods.
- Parameters
-
[in] | port | Used to select which implemtation to use. |
[in] | type | The name of the emulator to use on the other side. |
Reimplemented from Serial.
void SerialTest::purge |
( |
| ) |
|
|
overridevirtual |
unsigned int SerialTest::readBlock |
( |
unsigned char * |
ptr, |
|
|
unsigned int |
size |
|
) |
| const |
|
overridevirtual |
unsigned char SerialTest::readByte |
( |
| ) |
const |
|
overridevirtual |
void SerialTest::writeBlock |
( |
const unsigned char * |
ptr, |
|
|
unsigned int |
size |
|
) |
| const |
|
overridevirtual |
void SerialTest::writeByte |
( |
unsigned char |
byte | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: