Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::Thread::FunctorRunnable< Functor > Class Template Reference

Creates and returns a unique id for a thread. More...

#include <Thread.h>

+ Inheritance diagram for Poco::Thread::FunctorRunnable< Functor >:
+ Collaboration diagram for Poco::Thread::FunctorRunnable< Functor >:

Public Member Functions

 FunctorRunnable (const Functor &functor)
 
 FunctorRunnable (Functor &&functor)
 
 ~FunctorRunnable ()
 
void run ()
 
- Public Member Functions inherited from Poco::Runnable
 Runnable ()
 
virtual ~Runnable ()
 

Private Attributes

Functor _functor
 

Detailed Description

template<class Functor>
class Poco::Thread::FunctorRunnable< Functor >

Creates and returns a unique id for a thread.

Definition at line 244 of file Thread.h.

Constructor & Destructor Documentation

◆ FunctorRunnable() [1/2]

template<class Functor >
Poco::Thread::FunctorRunnable< Functor >::FunctorRunnable ( const Functor & functor)
inline

Definition at line 247 of file Thread.h.

◆ FunctorRunnable() [2/2]

template<class Functor >
Poco::Thread::FunctorRunnable< Functor >::FunctorRunnable ( Functor && functor)
inline

Definition at line 252 of file Thread.h.

◆ ~FunctorRunnable()

template<class Functor >
Poco::Thread::FunctorRunnable< Functor >::~FunctorRunnable ( )
inline

Definition at line 257 of file Thread.h.

Member Function Documentation

◆ run()

template<class Functor >
void Poco::Thread::FunctorRunnable< Functor >::run ( )
inlinevirtual

Implements Poco::Runnable.

Definition at line 261 of file Thread.h.

Member Data Documentation

◆ _functor

template<class Functor >
Functor Poco::Thread::FunctorRunnable< Functor >::_functor
private

Definition at line 267 of file Thread.h.


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