##// END OF EJS Templates
Sync
Sync

File last commit:

r2:0537883b23fe default
r2:0537883b23fe default
Show More
uprobeprotocol.cpp
31 lines | 502 B | text/x-c | CppLexer
/ src / uprobeprotocol.cpp
#include "uprobeprotocol.h"
UProbeProtocol::UProbeProtocol(QObject *parent) :
QThread(parent),UComPort()
{
moveToThread((QThread*)this);
}
UProbeProtocol::~UProbeProtocol()
{
this->requestInterruption();
while(isRunning());
}
void UProbeProtocol::run()
{
while(!this->isInterruptionRequested())
{
}
}
void UProbeProtocol::setPortName(const QString &name)
{
UComPort::setPortName(name);
}
void UProbeProtocol::setSpeed(int speed)
{
UComPort::setSpeed(speed);
}