OnixS C++ B3 BOE Binary Order Entry  1.2.0
API Documentation
ThreadAffinity Class Reference

#include <OnixS/B3/BOE/threading/Thread.h>

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 ( const std::string &  str)
explicit

Constructs thread affinity from the string presentation.

Symbol ',' is used as the CPU index delimiter.

Destructs the instance.

Member Function Documentation

const CpuIndexes& cpuIndexes ( ) const

Read-only access to index collection.

CpuIndexes& cpuIndexes ( )

Collection of CPU indices.

std::string toString ( )

Serializes thread affinity to the string presentation.


The documentation for this class was generated from the following file: