C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
Atomic< dataType > Class Template Reference

Class that represents an atomic object. More...

Class Declaration

template<typename dataType = int>
class daal::services::interface1::Atomic< dataType >

Template Parameters
dataTypeData type of the atomic object

Constructor & Destructor Documentation

◆ Atomic() [1/2]

Atomic ( )

Constructs an atomic object

◆ Atomic() [2/2]

Atomic ( dataType  value)

Constructs an atomic object from a value

Parameters
[in]valueThe value to be assigned to the atomic object

◆ ~Atomic()

~Atomic ( )

Destructor

Member Function Documentation

◆ dec()

dataType dec ( )

Returns a decrement of atomic object

Returns
An decrement of atomic object

◆ get()

dataType get ( ) const

Returns the value of the atomic object

Returns
The value of the atomic object

◆ inc()

dataType inc ( )

Returns an increment of atomic object

Returns
An increment of atomic object

◆ set()

void set ( dataType  value)

Assigns the value to atomic object

Parameters
[in]valueThe value to be assigned

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

For more complete information about compiler optimizations, see our Optimization Notice.