OnixS C++ CME MDP Premium Market Data Handler 5.11.1
Users' manual and API documentation
Loading...
Searching...
No Matches
ThreadAffinity Class Reference

#include <OnixS/CME/MDH/FeedEngineThreadPool.h>

Public Member Functions

 ThreadAffinity ()
 ThreadAffinity (const ThreadAffinity &other)
 ~ThreadAffinity ()
 operator bool () const
const CpuIndices & cpus () const
CpuIndices & cpus ()

Detailed Description

Definition at line 81 of file FeedEngineThreadPool.h.

Constructor & Destructor Documentation

◆ ThreadAffinity() [1/2]

ThreadAffinity ( )
inline

Initializes the empty set.

Definition at line 85 of file FeedEngineThreadPool.h.

◆ ThreadAffinity() [2/2]

ThreadAffinity ( const ThreadAffinity & other)
inline

Initializes as a copy of the other set.

Definition at line 88 of file FeedEngineThreadPool.h.

◆ ~ThreadAffinity()

~ThreadAffinity ( )
inline

Utilizes internal resources.

Definition at line 94 of file FeedEngineThreadPool.h.

Member Function Documentation

◆ cpus() [1/2]

CpuIndices & cpus ( )
inline

Collection of the CPU indices.

Definition at line 109 of file FeedEngineThreadPool.h.

◆ cpus() [2/2]

const CpuIndices & cpus ( ) const
inline

Read-only access to the indices.

Definition at line 103 of file FeedEngineThreadPool.h.

◆ operator bool()

operator bool ( ) const
inline

Indicates whether affinity is defined.

Definition at line 97 of file FeedEngineThreadPool.h.