RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > > Struct Template Reference

Public Types

using BufferType = MatrixBuffer<bool, A>
 
using ElementType = std::remove_cv_t<typename BufferType::value_type>
 
using DataPointType = RtcMatrixBool
 
using TempBufferType = boost::container::vector<bool>
 

Static Public Member Functions

static RtcVectorUInt64 GetShape (const BufferType &buffer)
 
static gsl::span< ElementTypeMakeSpan (BufferType &buffer)=delete
 Span not constructable from a MatrixBuffer<bool> type.
 
static gsl::span< const ElementTypeMakeSpan (const BufferType &buffer)=delete
 Span not constructable from a MatrixBuffer<bool> type.
 
static bool ResizeBuffer (BufferType &buffer, const RtcVectorUInt64 &shape)
 
static void CopyToTempBuffer (const BufferType &buffer, std::shared_ptr< TempBufferType > &temp_buffer, size_t offset, size_t count)
 
static void CopyFromTempBuffer (BufferType &buffer, const std::shared_ptr< TempBufferType > &temp_buffer, size_t offset, size_t count)
 

Static Public Attributes

static const bool USES_TEMP_BUFFER = true
 

Member Typedef Documentation

◆ BufferType

◆ DataPointType

◆ ElementType

template<typename A >
using rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > >::ElementType = std::remove_cv_t<typename BufferType::value_type>

◆ TempBufferType

template<typename A >
using rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > >::TempBufferType = boost::container::vector<bool>

Member Function Documentation

◆ CopyFromTempBuffer()

template<typename A >
static void rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > >::CopyFromTempBuffer ( BufferType & buffer,
const std::shared_ptr< TempBufferType > & temp_buffer,
size_t offset,
size_t count )
inlinestatic

◆ CopyToTempBuffer()

template<typename A >
static void rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > >::CopyToTempBuffer ( const BufferType & buffer,
std::shared_ptr< TempBufferType > & temp_buffer,
size_t offset,
size_t count )
inlinestatic

◆ GetShape()

◆ MakeSpan() [1/2]

template<typename A >
static gsl::span< ElementType > rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > >::MakeSpan ( BufferType & buffer)
staticdelete

Span not constructable from a MatrixBuffer<bool> type.

◆ MakeSpan() [2/2]

template<typename A >
static gsl::span< const ElementType > rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > >::MakeSpan ( const BufferType & buffer)
staticdelete

Span not constructable from a MatrixBuffer<bool> type.

◆ ResizeBuffer()

template<typename A >
static bool rtctk::componentFramework::detail::UserTypeHandler< MatrixBuffer< bool, A > >::ResizeBuffer ( BufferType & buffer,
const RtcVectorUInt64 & shape )
inlinestatic

Member Data Documentation

◆ USES_TEMP_BUFFER


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