19 #include <QtCore/QScopedPointer> 42 QScopedPointer<MspI2cInterface> mMspI2cBus;
43 QScopedPointer<MspUsbInterface> mMspUsbBus;
44 QScopedPointer<SystemConsoleInterface> mSystemConsole;
QVector< uint8_t > captureV4l2StillImage(const QString &port, const QString &pathToPic) const override
Returns QVector with info about picture pixels.
Definition: stubHardwareAbstraction.cpp:77
InputDeviceFileInterface * createInputDeviceFile(const QString &fileName) const override
Creates new input device file, passes ownership to a caller.
Definition: stubHardwareAbstraction.cpp:67
Communicates with MSP processor over I2C bus.
Definition: mspI2cInterface.h:22
Event file abstraction. Can be opened or closed, when opened can emit signal containing event data...
Definition: eventFileInterface.h:27
static const int port
Definition: trikCommunicatorTest.cpp:24
Communicates with MSP processor over USB bus.
Definition: mspUsbInterface.h:22
Hardware abstraction for use without real robot.
Definition: stubHardwareAbstraction.h:25
MspUsbInterface & mspUsb() override
Returns MSP USB bus implementation.
Definition: stubHardwareAbstraction.cpp:46
FifoInterface * createFifo(const QString &fileName) const override
Creates new FIFO, passes ownership to a caller.
Definition: stubHardwareAbstraction.cpp:62
OutputDeviceFileInterface * createOutputDeviceFile(const QString &fileName) const override
Creates new output device file, passes ownership to a caller.
Definition: stubHardwareAbstraction.cpp:72
StubHardwareAbstraction()
Definition: stubHardwareAbstraction.cpp:30
Output device file abstraction.
Definition: outputDeviceFileInterface.h:23
EventFileInterface * createEventFile(const QString &fileName, QThread &thread) const override
Creates new event file, passes ownership to a caller.
Definition: stubHardwareAbstraction.cpp:56
SystemConsoleInterface & systemConsole() override
Returns system console wrapper, able to execute system command and launch processes.
Definition: stubHardwareAbstraction.cpp:51
MspI2cInterface & mspI2c() override
Returns MSP I2C bus implementation.
Definition: stubHardwareAbstraction.cpp:41
Definition: brickFactory.h:21
Abstraction of Linux FIFO used to receive events. To write to FIFO, use OutputDeviceFileInterface.
Definition: fifoInterface.h:23
Hardware abstraction, provides devices that are used to communicate with robot hardware or emulate it...
Definition: hardwareAbstractionInterface.h:29
~StubHardwareAbstraction() override
Definition: stubHardwareAbstraction.cpp:37
Represents console of an OS.
Definition: systemConsoleInterface.h:22