B2BITS FIX Antenna HFT
1.0.16
|
ThreadsPool instance (singleton) used by the engine. More...
#include <B2BITS_FixEngineThreadsPool.h>
Static Public Member Functions | |
static void | destroy () |
Destroy singleton. More... | |
static void | init () |
Initialize singleton. More... | |
static ThreadsPool * | singleton () |
Returns the singleton instance of the class. More... | |
Additional Inherited Members | |
Public Types inherited from Utils::ThreadsPool | |
typedef ThreadsPoolListener | Listener |
Public Member Functions inherited from Utils::ThreadsPool | |
void | goThroughThreads () |
Goes through all active threads. More... | |
void | interruptAll () |
Interrupts all active threads. More... | |
void | joinAll () |
Joins all active threads. More... | |
void | newThread (Runnable *runnable, const ThreadAttrs &threadAttrs) |
Adds a new thread to the pool to execute runnable task. More... | |
void | notifyNewThreadAssigned (ThreadAttrs &threadAttrs) |
Calls ThreadsPoolListener::onNewThreadCreated(threadAttrs) for all listeners. More... | |
void | registerListener (Listener *listener) |
Registers a new thread pool listener. More... | |
ThreadsPool () | |
Constructor. More... | |
void | unregisterListener (Listener *listener) |
Registers the thread pool listener. More... | |
~ThreadsPool () | |
Destructor. More... | |
ThreadsPool instance (singleton) used by the engine.
|
static |
Destroy singleton.
Called by the engine as part of destroying process.
|
static |
Initialize singleton.
Called by the engine as part of initialization process.
|
static |
Returns the singleton instance of the class.