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: IoT::XBee::XBeeNodeImpl, ActiveDispatcher, ActiveRunnable, ActiveRunnableBase, Activity, Poco::Thread::FunctorRunnable, ThreadTarget, Poco::JS::Core::JSExecutor, RunnableAdapter, Task, Timer, Poco::Net::HTTPServer, Poco::Util::TimerTask, Poco::Util::TimerFunc, Poco::Util::TimerTaskAdapter, Poco::JS::Core::TimedJSExecutor, Poco::JS::Core::JSTimer, Poco::Net::HTTPServerConnection, Poco::Net::SocketReactor, Poco::Net::sizeof, Poco::OSP::Shell::ShellConnection, Poco::Net::TCPServer, Poco::Net::UDPClient, Poco::Net::TCPServerConnection, Poco::Net::sizeof, IoT::CANopen::CANBus, Poco::RemotingNG::TCP::TimerTask, Poco::RemotingNG::TCP::Timer, Poco::Util::Timer, Poco::Net::TCPServerDispatcher, Poco::OSP::JS::JSExecutor, Poco::OSP::JS::TimedJSExecutor, Poco::RemotingNG::TCP::Connection, Poco::RemotingNG::TCP::Listener::EventSubscription, Poco::RemotingNG::TCP::ServerTransport, Poco::RemotingNG::TCP::ServerConnection, IoT::CANopen::FrameScheduler, IoT::Modbus::ModbusMasterImpl, IoT::CANopen::NMT::HeartbeatTask, IoT::CANopen::NMT::AutoStartTask, DirectoryWatcher, AsyncChannel
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.