OnixS C++ CBOE CFE Binary Order Entry (BOE) Handler 1.12.0
API documentation
Loading...
Searching...
No Matches
ThreadAffinity Class Reference

Public Member Functions

 ThreadAffinity (const std::string &str)
 ~ThreadAffinity ()
const CpuIndexescpuIndexes () const
CpuIndexescpuIndexes ()
std::string toString ()

Detailed Description

Definition at line 37 of file Thread.h.

Constructor & Destructor Documentation

◆ ThreadAffinity()

ThreadAffinity ( const std::string & str)
explicit

Constructs thread affinity from the string presentation. Symbol ',' is used as the CPU index delimiter.

◆ ~ThreadAffinity()

Destructs the instance.

Member Function Documentation

◆ cpuIndexes() [1/2]

CpuIndexes & cpuIndexes ( )

Collection of CPU indices.

◆ cpuIndexes() [2/2]

const CpuIndexes & cpuIndexes ( ) const

Read-only access to index collection.

◆ toString()

std::string toString ( )

Serializes thread affinity to the string presentation.