45 return std::to_string(
major) +
"." + std::to_string(
minor) +
"." + std::to_string(
subminor);
149 uint32_t majorVersion{};
150 uint32_t minorVersion{};
151 uint32_t subminorVersion{};
165 return Version_t{majorVersion, minorVersion, subminorVersion};
170 size_t maxConcurrentThreads = 0;
174 &maxConcurrentThreads);
177 return maxConcurrentThreads;
195 return multiThreadingEnabled != 0;
213 return simdEnabled != 0;
static Version_t Version()
Queries the library version.
Definition peak_ipl_library.hpp:147
Library(const Library &)=delete
static bool MultiThreadingEnabled()
Get if multithreading is enabled in the library.
Definition peak_ipl_library.hpp:187
Library & operator=(Library &&)=delete
static size_t MaxConcurrentThreads()
Queries the maximum number of concurrent threads used by the library.
Definition peak_ipl_library.hpp:168
Library & operator=(const Library &)=delete
static bool SIMDEnabled()
Get if SIMD is enabled in the library.
Definition peak_ipl_library.hpp:205
Library(Library &&)=delete
static void SetMaxConcurrentThreads(size_t concurrentThreads)
Sets the maximum number of concurrent threads used by the library.
Definition peak_ipl_library.hpp:180
static void SetSIMDEnabled(bool enabled)
Disables/Enables SIMD in the library.
Definition peak_ipl_library.hpp:216
static void SetMultiThreadingEnabled(bool enabled)
Disables/Enables multithreading in the library.
Definition peak_ipl_library.hpp:198
The "peak::ipl" namespace contains the whole image processing library.
void ExecuteAndMapReturnCodes(const CallableType &callableObject)
Definition peak_ipl_exception.hpp:271
#define PEAK_IPL_NO_DISCARD
Definition peak_ipl_attribute_defines.h:25
PEAK_IPL_C_API PEAK_IPL_Library_SetSIMDEnabled(PEAK_IPL_BOOL8 enabled)
Disables/Enables SIMD in the library.
PEAK_IPL_C_API PEAK_IPL_Library_GetVersionSubminor(uint32_t *libraryVersionSubminor)
Queries the library subminor version.
PEAK_IPL_C_API PEAK_IPL_Library_SetMultiThreadingEnabled(PEAK_IPL_BOOL8 enabled)
Disables/Enables multithreading in the library.
PEAK_IPL_C_API PEAK_IPL_Library_SetMaxConcurrentThreads(size_t concurrentThreads)
Sets the maximum number of concurrent threads used by the library.
PEAK_IPL_C_API PEAK_IPL_Library_GetMultiThreadingEnabled(PEAK_IPL_BOOL8 *enabled)
Disables/Enables multithreading in the library.
PEAK_IPL_C_API PEAK_IPL_Library_GetMaxConcurrentThreads(size_t *concurrentThreads)
Queries the maximum number of concurrent threads used by the library.
PEAK_IPL_C_API PEAK_IPL_Library_GetVersionMinor(uint32_t *libraryVersionMinor)
Queries the library minor version.
int8_t PEAK_IPL_BOOL8
Definition peak_ipl_backend.h:26
PEAK_IPL_C_API PEAK_IPL_Library_GetSIMDEnabled(PEAK_IPL_BOOL8 *enabled)
Disables/Enables SIMD in the library.
PEAK_IPL_C_API PEAK_IPL_Library_GetVersionMajor(uint32_t *libraryVersionMajor)
Queries the library major version.
#define PEAK_IPL_C_ABI_PREFIX
Definition peak_ipl_dll_defines.h:16
Definition peak_ipl_library.hpp:34
std::uint32_t subminor
Minor.
Definition peak_ipl_library.hpp:37
std::string ToString() const
Subminor.
Definition peak_ipl_library.hpp:43
std::uint32_t major
Definition peak_ipl_library.hpp:35
std::uint32_t minor
Major.
Definition peak_ipl_library.hpp:36