7#ifndef YARP_OS_PERIODICTHREAD_H
8#define YARP_OS_PERIODICTHREAD_H
93 bool isRunning()
const;
98 bool isSuspended()
const;
105 bool setPeriod(
double period);
111 double getPeriod()
const;
132 double getEstimatedPeriod()
const;
139 void getEstimatedPeriod(
double&
av,
double&
std)
const;
144 unsigned int getIterations()
const;
150 double getEstimatedUsed()
const;
157 void getEstimatedUsed(
double&
av,
double&
std)
const;
172 int setPriority(
int priority,
int policy = -1);
178 int getPriority()
const;
184 int getPolicy()
const;
198 virtual bool threadInit();
206 virtual void threadRelease();
225 virtual void beforeStart();
232 virtual void afterStart(
bool success);
234#ifndef DOXYGEN_SHOULD_SKIP_THIS
A mini-server for performing network communication in the background.
An abstraction for a periodic thread.
virtual void run()=0
Loop function.
An interface to the operating system, including Port based communication.