25 virtual ~InitOnce() =
default;
26 InitOnce(
const InitOnce& other) =
delete;
27 InitOnce& operator=(
const InitOnce& other) =
delete;
28 InitOnce(InitOnce&& other) =
delete;
29 InitOnce& operator=(InitOnce&& other) =
delete;
37 virtual void Initialize()
const = 0;
38 void InitializeIfNecessary()
const;
41 mutable std::once_flag m_initializedFlag;
53inline void InitOnce::InitializeIfNecessary()
const
55 std::call_once(m_initializedFlag, [
this] { Initialize(); });
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:34
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:33