42template <
class OutType>
43OutType
BufferTo(
const std::shared_ptr<peak::core::Buffer>& buffer)
47 static_assert(
sizeof(OutType) == 0,
48 "BufferTo<>() not implemented for this type. Implement a specialization for your own type or include one from "
49 "the 'converters' folder.");
75template <
class OutType>
76OutType
BufferPartTo(
const std::shared_ptr<peak::core::BufferPart>& bufferPart)
80 static_assert(
sizeof(OutType) == 0,
81 "BufferPartTo<>() not implemented for this type. Implement a specialization for your own type or include one from "
82 "the 'converters' folder.");
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:33
peak::ipl::Image BufferPartTo(const std::shared_ptr< peak::core::BufferPart > &part)
Converts a core::BufferPart into a peak::ipl::Image.
Definition peak_bufferpart_converter_ipl.hpp:42
OutType BufferTo(const std::shared_ptr< peak::core::Buffer > &buffer)
Converts a core::Buffer into a different type.
Definition peak_buffer_converter.hpp:43