EPAM B2BITS C++ MOEX/Spectra MarketData handler  1.24.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
Spectra::SpectraThreadManager Class Reference

Represents RTS Spectra thread manager. More...

#include <B2BITS_SpectraThreadManager.h>

Inheritance diagram for Spectra::SpectraThreadManager:
Inheritance graph
[legend]

Public Types

enum  ThreadType { MDThread, IncrementalThread, TCPReplayThread }
 

Public Member Functions

virtual void onStartThread (ThreadType threadType, size_t threadIndex)
 
virtual void onStopThread (ThreadType threadType, size_t threadIndex)
 
 SpectraThreadManager ()
 
virtual ~SpectraThreadManager ()
 

Detailed Description

Represents RTS Spectra thread manager.

Member Enumeration Documentation

Enumerator
MDThread 
IncrementalThread 
TCPReplayThread 

Constructor & Destructor Documentation

Spectra::SpectraThreadManager::SpectraThreadManager ( )
inline
virtual Spectra::SpectraThreadManager::~SpectraThreadManager ( )
inlinevirtual

Member Function Documentation

virtual void Spectra::SpectraThreadManager::onStartThread ( ThreadType  threadType,
size_t  threadIndex 
)
inlinevirtual

Called on initislization of each processing thread into it's context

Parameters
threadTypetype of processing thread
threadIndexindex of processing thread
virtual void Spectra::SpectraThreadManager::onStopThread ( ThreadType  threadType,
size_t  threadIndex 
)
inlinevirtual
Parameters
threadTypetype of processing thread
threadIndexindex of processing thread