Poco

class Runnable

File Information

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

Securely control IoT edge devices from anywhere   Connect a Device