client-cpp  0.10.0
kaa::AbstractExecutorContext Class Referenceabstract

#include <AbstractExecutorContext.hpp>

+ Inheritance diagram for kaa::AbstractExecutorContext:
+ Collaboration diagram for kaa::AbstractExecutorContext:

Public Member Functions

 AbstractExecutorContext ()
 
virtual void init ()
 
virtual void stop ()
 
void setAwaitTerminationTimeout (std::size_t awaitTerminationTimeout)
 
std::size_t getAwaitTerminationTimeout ()
 
- Public Member Functions inherited from kaa::IExecutorContext
virtual IThreadPoolgetLifeCycleExecutor ()=0
 
virtual IThreadPoolgetApiExecutor ()=0
 
virtual IThreadPoolgetCallbackExecutor ()=0
 
virtual ~IExecutorContext ()=default
 

Protected Member Functions

virtual void doInit ()=0
 
virtual void doStop ()=0
 
IThreadPoolPtr createExecutor (std::size_t threadCount)
 
void shutdownExecutor (IThreadPoolPtr threadPool)
 

Detailed Description

Definition at line 28 of file AbstractExecutorContext.hpp.

Constructor & Destructor Documentation

kaa::AbstractExecutorContext::AbstractExecutorContext ( )
inline

Definition at line 30 of file AbstractExecutorContext.hpp.

Member Function Documentation

IThreadPoolPtr kaa::AbstractExecutorContext::createExecutor ( std::size_t  threadCount)
inlineprotected

Definition at line 52 of file AbstractExecutorContext.hpp.

virtual void kaa::AbstractExecutorContext::doInit ( )
protectedpure virtual
virtual void kaa::AbstractExecutorContext::doStop ( )
protectedpure virtual
std::size_t kaa::AbstractExecutorContext::getAwaitTerminationTimeout ( )
inline

Definition at line 42 of file AbstractExecutorContext.hpp.

virtual void kaa::AbstractExecutorContext::init ( )
virtual

Initialize executors

Implements kaa::IExecutorContext.

void kaa::AbstractExecutorContext::setAwaitTerminationTimeout ( std::size_t  awaitTerminationTimeout)
inline

Definition at line 37 of file AbstractExecutorContext.hpp.

void kaa::AbstractExecutorContext::shutdownExecutor ( IThreadPoolPtr  threadPool)
inlineprotected

Definition at line 57 of file AbstractExecutorContext.hpp.

virtual void kaa::AbstractExecutorContext::stop ( )
virtual

Stops executors

Implements kaa::IExecutorContext.


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