IDS peak IPL  v1.10.0
peak::ipl::Library Class Referencefinal

Library related functions. More...

#include <peak_ipl/library/peak_ipl_library.hpp>

Public Member Functions

 Library ()=delete
 
 ~Library ()=delete
 
 Library (const Library &)=delete
 
 Library (Library &&)=delete
 
Library & operator= (const Library &)=delete
 
Library & operator= (Library &&)=delete
 

Static Public Member Functions

static void SetMaxConcurrentThreads (size_t concurrentThreads)
 Sets the maximum number of concurrent threads used by the library. More...
 
static void SetMultiThreadingEnabled (bool enabled)
 Disables/Enables multithreading in the library. More...
 
static void SetSIMDEnabled (bool enabled)
 Disables/Enables SIMD in the library. More...
 

Public Attributes

 PEAK_IPL_MAYBE_UNUSED = static Version_t Version()
 

Detailed Description

Library related functions.

Constructor & Destructor Documentation

◆ Library() [1/3]

peak::ipl::Library::Library ( )
delete

◆ ~Library()

peak::ipl::Library::~Library ( )
delete

◆ Library() [2/3]

peak::ipl::Library::Library ( const Library &  )
delete

◆ Library() [3/3]

peak::ipl::Library::Library ( Library &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

Library& peak::ipl::Library::operator= ( const Library &  )
delete

◆ operator=() [2/2]

Library& peak::ipl::Library::operator= ( Library &&  )
delete

◆ SetMaxConcurrentThreads()

void peak::ipl::Library::SetMaxConcurrentThreads ( size_t  concurrentThreads)
inlinestatic

Sets the maximum number of concurrent threads used by the library.

Set the number of threads to 0, to let the library decide the amount. Select any other number to set the amount manually.

Parameters
[in]concurrentThreadsThe number of concurrent threads used by the library.
Exceptions
ExceptionAn internal error has occurred.
Since
1.9.2

◆ SetMultiThreadingEnabled()

void peak::ipl::Library::SetMultiThreadingEnabled ( bool  enabled)
inlinestatic

Disables/Enables multithreading in the library.

Parameters
[in]enabledset to true to enable multithreading, false to disable it
Exceptions
ExceptionAn internal error has occurred.
Since
1.9.2

◆ SetSIMDEnabled()

void peak::ipl::Library::SetSIMDEnabled ( bool  enabled)
inlinestatic

Disables/Enables SIMD in the library.

Parameters
[in]enabledset to true to use the SIMD optimized functions, false to disable them
Note
This is normally true
Exceptions
ExceptionAn internal error has occurred.
Since
1.9.2

Member Data Documentation

◆ PEAK_IPL_MAYBE_UNUSED

peak::ipl::Library::PEAK_IPL_MAYBE_UNUSED = static Version_t Version()

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