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: ActiveDispatcher, ActiveRunnable, ActiveRunnableBase, AsyncChannel, Activity, RunnableAdapter, Poco::Thread::FunctorRunnable, ThreadTarget, DirectoryWatcher, Timer, Task, Poco::Net::HTTPServer, Poco::OSP::Mail::MailDeliveryServiceImpl, Poco::Net::SocketReactor, Poco::Net::TCPServerConnection, Poco::Net::HTTPServerConnection, Poco::Net::TCPServer, Poco::RemotingNG::TCP::ServerConnection, Poco::Net::TCPServerDispatcher, Poco::OSP::Shell::ShellConnection, Poco::RemotingNG::TCP::ServerTransport, Poco::RemotingNG::TCP::Connection, Poco::RemotingNG::TCP::TimerTask, Poco::RemotingNG::TCP::Timer, Poco::Util::Timer, Poco::Util::TimerTaskAdapter, Poco::RemotingNG::TCP::Listener::EventSubscription, Poco::Util::TimerTask

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.