#include <OnixS/B3/MarketData/UMDF/Defines.h>
Public Member Functions | |
ThreadAffinity () | |
ThreadAffinity (const ThreadAffinity &) | |
~ThreadAffinity () | |
bool | empty () const |
void | copyTo (CpuIndexes &) const |
bool | insert (CpuIndex index) |
bool | erase (CpuIndex index) |
void | clear () |
ThreadAffinity & | operator= (const ThreadAffinity &) |
std::string | toString () const |
ThreadAffinity | ( | ) |
Initializes empty set.
ThreadAffinity | ( | const ThreadAffinity & | ) |
Initializes as copy of other set.
~ThreadAffinity | ( | ) |
Utilizes all the resources.
void clear | ( | ) |
Makes set empty.
void copyTo | ( | CpuIndexes & | ) | const |
Copies set into another set.
bool empty | ( | ) | const |
Indicates whether is empty.
bool erase | ( | CpuIndex | index | ) |
Removes CPU index from the set.
bool insert | ( | CpuIndex | index | ) |
Adds CPU index into set.
ThreadAffinity& operator= | ( | const ThreadAffinity & | ) |
Re-initializes instance as copy of other set.
std::string toString | ( | ) | const |
Returns the string representation.