MIRA
Public Member Functions | Protected Member Functions | Friends | List of all members
IRunnable Class Referenceabstract

Base for all runnable classes that can be signaled when they need to run again. More...

#include <fw/Runnable.h>

Inheritance diagram for IRunnable:
Inheritance graph
[legend]

Public Member Functions

virtual ~IRunnable ()
 

Protected Member Functions

virtual void run (DispatcherThread *dispatcher)=0
 Called from dispatcher thread this runnable is attached to, whenever the runnable should be executed. More...
 

Friends

class DispatcherThread
 

Detailed Description

Base for all runnable classes that can be signaled when they need to run again.

Constructor & Destructor Documentation

◆ ~IRunnable()

virtual ~IRunnable ( )
inlinevirtual

Member Function Documentation

◆ run()

virtual void run ( DispatcherThread dispatcher)
protectedpure virtual

Called from dispatcher thread this runnable is attached to, whenever the runnable should be executed.

Implemented in DispatcherThread::Timer, FunctionRunnable< F >, ChannelSubscriber< T, ChannelRead >, ServiceInterfaceHandler, and RPCHandler::InvokerRunnable.

Friends And Related Function Documentation

◆ DispatcherThread

friend class DispatcherThread
friend

The documentation for this class was generated from the following file: