16 virtual ~InitOnce() =
default;
17 InitOnce(
const InitOnce& other) =
delete;
18 InitOnce& operator=(
const InitOnce& other) =
delete;
19 InitOnce(InitOnce&& other) =
delete;
20 InitOnce& operator=(InitOnce&& other) =
delete;
28 virtual void Initialize()
const = 0;
29 void InitializeIfNecessary()
const;
32 mutable std::once_flag m_initializedFlag;
44inline void InitOnce::InitializeIfNecessary()
const
46 std::call_once(m_initializedFlag, [
this] { Initialize(); });
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:32
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_buffer.hpp:29