CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
ThreadsCounterReactor Class Reference

#include <ThreadsCounter.h>

Public Member Functions

 ThreadsCounterReactor ()
 
virtual ~ThreadsCounterReactor ()
 
virtual void increase (unsigned, const unsigned *, unsigned)
 
virtual void decrease (unsigned, const unsigned *, unsigned)
 
virtual void startThread (unsigned, unsigned)
 
virtual void stopThread (unsigned, unsigned)
 

Detailed Description

Corresponding C++ library: Root

<group Other_Classes>

Definition at line 107 of file ThreadsCounter.h.

Constructor & Destructor Documentation

◆ ThreadsCounterReactor()

ThreadsCounterReactor::ThreadsCounterReactor ( )
inline

Definition at line 110 of file ThreadsCounter.h.

◆ ~ThreadsCounterReactor()

virtual ThreadsCounterReactor::~ThreadsCounterReactor ( )
inlinevirtual

Definition at line 111 of file ThreadsCounter.h.

Member Function Documentation

◆ decrease()

virtual void ThreadsCounterReactor::decrease ( unsigned  ,
const unsigned *  ,
unsigned   
)
inlinevirtual

Called from initial thread to decrease execution threads count.

Parameters
nThreads[in] Count of threads in aThreads array.
aThreads[in] Thread ID's array.
nThreadAttributes[in] Set of attributes for running threads.

Definition at line 126 of file ThreadsCounter.h.

◆ increase()

virtual void ThreadsCounterReactor::increase ( unsigned  ,
const unsigned *  ,
unsigned   
)
inlinevirtual

Called from initial thread to increase execution threads count.

Parameters
nThreads[in] Count of threads in aThreads array.
aThreads[in] Thread ID's array.
nThreadAttributes[in] Set of attributes for running threads.

Definition at line 119 of file ThreadsCounter.h.

◆ startThread()

virtual void ThreadsCounterReactor::startThread ( unsigned  ,
unsigned   
)
inlinevirtual

Called from running thread immediately before any operations processing.

Parameters
nThreadId[in] Running Thread ID.
nThreadAttributes[in] Set of attributes for running thread.

Definition at line 133 of file ThreadsCounter.h.

◆ stopThread()

virtual void ThreadsCounterReactor::stopThread ( unsigned  ,
unsigned   
)
inlinevirtual

Called from running thread immediately after thread operations processed.

Parameters
nThreadId[in] Running Thread ID.
nThreadAttributes[in] Set of attributes for running thread.

Definition at line 139 of file ThreadsCounter.h.


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