OnixS C++ FIX Engine 4.13.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 35 of file Thread.h.

Constructor & Destructor Documentation

◆ ThreadAffinity()

ThreadAffinity ( const std::string & str)
explicit

Constructs the thread affinity from the string presentation.

The symbol ',' is used as the CPU index delimiter.

◆ ~ThreadAffinity()

Destructs the instance.

Member Function Documentation

◆ cpuIndexes() [1/2]

CpuIndexes & cpuIndexes ( )

The collection of CPU indices.

◆ cpuIndexes() [2/2]

const CpuIndexes & cpuIndexes ( ) const

The read-only access to the index collection.

◆ toString()

std::string toString ( )

Serializes the thread affinity to the string presentation.