CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ThreadsCounterReactor Class Referenceabstract

#include <ThreadsCounter.h>

Public Member Functions

 ThreadsCounterReactor ()
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual void increase (unsigned, const unsigned *, unsigned)
 
virtual void decrease (unsigned, const unsigned *, unsigned)
 
virtual void startThread (unsigned, unsigned)
 
virtual void stopThread (unsigned, unsigned)
 

Protected Member Functions

virtual ~ThreadsCounterReactor ()
 

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 ( )
inlineprotectedvirtual

Definition at line 156 of file ThreadsCounter.h.

Member Function Documentation

◆ addRef()

virtual void ThreadsCounterReactor::addRef ( )
pure virtual

Declares the method incrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.

◆ 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 141 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 134 of file ThreadsCounter.h.

◆ release()

virtual void ThreadsCounterReactor::release ( )
pure virtual

Declares the method decrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.

◆ 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 148 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 154 of file ThreadsCounter.h.


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