Poco

class Runnable

Library: Foundation
Package: Threading
Header: Poco/Runnable.h

Description

The Runnable interface with the run() method must be implemented by classes that provide an entry point for a thread.

Inheritance

Known Derived Classes: Poco::Util::TimerTask, Poco::Util::TimerFunc, Poco::Util::Timer, Timer, Poco::Net::SocketReactor, Poco::Net::TCPServer, Poco::Net::UDPClient, Poco::Net::TCPServerDispatcher, Poco::Util::TimerTaskAdapter, Poco::Net::HTTPServer, Poco::Net::TCPServerConnection, Poco::Net::sizeof, RunnableAdapter, Poco::Thread::FunctorRunnable, Poco::Net::sizeof, ActiveDispatcher, DirectoryWatcher, ThreadTarget, Activity, AsyncChannel, Task, Poco::Net::HTTPServerConnection, ActiveRunnableBase, ActiveRunnable

Member Summary

Member Functions: run

Constructors

Runnable

Runnable();

Destructor

~Runnable virtual

virtual ~Runnable();

Member Functions

run virtual

virtual void run() = 0;

Do whatever the thread needs to do. Must be overridden by subclasses.