14 lines
280 B
C++
14 lines
280 B
C++
#include "grabber.h"
|
|
#include <iostream>
|
|
|
|
void Grabber::run() {
|
|
int count = 0;
|
|
while (!stop_request) {
|
|
std::cerr << "running: " << count << std::endl;
|
|
count += 1;
|
|
msleep(500);
|
|
}
|
|
std::cerr << "terminated: " << count << std::endl;
|
|
//emit terminated();
|
|
}
|