OpenDaVINCI  4.15.3
odcore::wrapper::Runnable Class Referenceabstract

#include <Runnable.h>

Inheritance diagram for odcore::wrapper::Runnable:
Inheritance graph

Public Member Functions

virtual ~Runnable ()
 
virtual bool isRunning ()=0
 
virtual void run ()=0
 

Detailed Description

This class provides a threadable interface. Any class that wants to be able to start a new thread must implement this interface.

Thread

Constructor & Destructor Documentation

odcore::wrapper::Runnable::~Runnable ( )
virtual

Member Function Documentation

virtual bool odcore::wrapper::Runnable::isRunning ( )
pure virtual

This method returns true, iff this runnable is in its internal state for running.

Returns
true iff this runnable is in its internal state for running.

Implemented in odcore::base::RealtimeService, odcore::base::Service, odcore::wrapper::SerialPort, odcore::wrapper::WIN32Impl::WIN32TCPAcceptor, odcore::wrapper::POSIX::POSIXTCPAcceptor, odcore::wrapper::POSIX::POSIXTCPConnection, and odcore::wrapper::WIN32Impl::WIN32TCPConnection.