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, ActiveRunnableBase, ActiveRunnable, DirectoryWatcher, AsyncChannel, Activity, Task, ThreadTarget, Timer, Poco::Thread::FunctorRunnable, RunnableAdapter, Poco::Net::HTTPServer, Poco::Net::HTTPServerConnection, Poco::Net::TCPServer, Poco::Util::TimerTaskAdapter, Poco::Net::TCPServerDispatcher, Poco::Net::SocketReactor, Poco::Net::TCPServerConnection, Poco::Util::Timer, Poco::Util::TimerTask
Member Summary
Member Functions: run
Constructors
Runnable
Runnable();
Destructor
~Runnable
virtual ~Runnable();
Member Functions
run
virtual void run() = 0;
Do whatever the thread needs to do. Must be overridden by subclasses.