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< T[N][M]> Struct Template Reference

Template specialisation for C-style matrix. More...

Public Types

using BufferType = T[N][M]
 
using ElementType = std::remove_cv_t<T>
 
using DataPointType = RtcMatrix<ElementType>
 
using TempBufferType = void
 

Static Public Member Functions

static RtcVectorUInt64 GetShape (const BufferType &buffer)
 
static gsl::span< ElementTypeMakeSpan (BufferType &buffer)
 
static gsl::span< const ElementTypeMakeSpan (const BufferType &buffer)
 
static bool ResizeBuffer (BufferType &buffer, const RtcVectorUInt64 &shape)
 

Static Public Attributes

static const bool USES_TEMP_BUFFER = false
 

Detailed Description

template<typename T, std::size_t N, std::size_t M>
struct rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>

Template specialisation for C-style matrix.

Member Typedef Documentation

◆ BufferType

template<typename T , std::size_t N, std::size_t M>
using rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::BufferType = T[N][M]

◆ DataPointType

template<typename T , std::size_t N, std::size_t M>
using rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::DataPointType = RtcMatrix<ElementType>

◆ ElementType

template<typename T , std::size_t N, std::size_t M>
using rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::ElementType = std::remove_cv_t<T>

◆ TempBufferType

template<typename T , std::size_t N, std::size_t M>
using rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::TempBufferType = void

Member Function Documentation

◆ GetShape()

template<typename T , std::size_t N, std::size_t M>
static RtcVectorUInt64 rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::GetShape ( const BufferType & buffer)
inlinestatic

◆ MakeSpan() [1/2]

template<typename T , std::size_t N, std::size_t M>
static gsl::span< ElementType > rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::MakeSpan ( BufferType & buffer)
inlinestatic

◆ MakeSpan() [2/2]

template<typename T , std::size_t N, std::size_t M>
static gsl::span< const ElementType > rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::MakeSpan ( const BufferType & buffer)
inlinestatic

◆ ResizeBuffer()

template<typename T , std::size_t N, std::size_t M>
static bool rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::ResizeBuffer ( BufferType & buffer,
const RtcVectorUInt64 & shape )
inlinestatic

Member Data Documentation

◆ USES_TEMP_BUFFER

template<typename T , std::size_t N, std::size_t M>
const bool rtctk::componentFramework::detail::UserTypeHandler< T[N][M]>::USES_TEMP_BUFFER = false
static

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