17 #include "QtCore/QVector"
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
virtual FifoInterface * createFifo(const QString &fileName) const =0
Creates new FIFO, passes ownership to a caller.
HardwareAbstractionInterface()=default
virtual SystemConsoleInterface & systemConsole()=0
Returns system console wrapper, able to execute system command and launch processes.
virtual MspI2cInterface & mspI2c()=0
Returns MSP I2C bus implementation.
Output device file abstraction.
Definition: outputDeviceFileInterface.h:23
virtual ~HardwareAbstractionInterface()=default
virtual EventFileInterface * createEventFile(const QString &fileName, QThread &thread) const =0
Creates new event file, passes ownership to a caller.
virtual OutputDeviceFileInterface * createOutputDeviceFile(const QString &fileName) const =0
Creates new output device file, passes ownership to a caller.
virtual InputDeviceFileInterface * createInputDeviceFile(const QString &fileName) const =0
Creates new input device file, passes ownership to a caller.
virtual MspUsbInterface & mspUsb()=0
Returns MSP USB bus implementation.
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
virtual QVector< uint8_t > captureV4l2StillImage(const QString &port, const QString &pathToPic) const =0
Returns QVector with info about picture pixels.
Represents console of an OS.
Definition: systemConsoleInterface.h:22