Roomba App  1.0
FrameThread Class Reference

Thread wrapper class for communicating with the serial device on a separate thread. More...

#include <frameThread.hh>

Inheritance diagram for FrameThread:
Collaboration diagram for FrameThread:

Signals

void info (const QString &info)
 Signal emmitted to add informations to logs. More...
 
void error (const QString &error)
 Signal emmitted to add errors on the status bar. More...
 
void setSerialStatus (const QString &message)
 Signal emmitted to change connection status with the serial device on the status bar. More...
 

Public Member Functions

 FrameThread (Communication *communication=nullptr, QObject *parent=nullptr)
 Construct a new FrameThread object. More...
 
void run () override
 Run main thread function. More...
 

Private Attributes

Communication_communication = nullptr
 Communication class handle. More...
 

Detailed Description

Definition at line 26 of file frameThread.hh.

Constructor & Destructor Documentation

◆ FrameThread()

FrameThread::FrameThread ( Communication communication = nullptr,
QObject *  parent = nullptr 
)
Parameters
[in]communicationCommunication class handle.
[in,out]parentPointer to the parent object.

Definition at line 21 of file frameThread.cpp.

Member Function Documentation

◆ error

void FrameThread::error ( const QString &  error)
signal
Parameters
[out]errorError message string.
Here is the caller graph for this function:

◆ info

void FrameThread::info ( const QString &  info)
signal
Parameters
[out]infoInfo message string.
Here is the caller graph for this function:

◆ run()

void FrameThread::run ( )
override

Definition at line 26 of file frameThread.cpp.

Here is the call graph for this function:

◆ setSerialStatus

void FrameThread::setSerialStatus ( const QString &  message)
signal
Parameters
[out]messageSerial status message.
Here is the caller graph for this function:

Member Data Documentation

◆ _communication

Communication* FrameThread::_communication = nullptr
private

Definition at line 29 of file frameThread.hh.


The documentation for this class was generated from the following files: