C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

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 ( )

Constructs an atomic object

Atomic ( dataType  value)

Constructs an atomic object from a value

Parameters
[in]valueThe value to be assigned to the atomic object
~Atomic ( )

Destructor

Member Function Documentation

dataType dec ( )

Returns a decrement of atomic object

Returns
An decrement of atomic object
dataType get ( ) const

Returns the value of the atomic object

Returns
The value of the atomic object
dataType inc ( )

Returns an increment of atomic object

Returns
An increment of atomic object
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.