VisionCpp  0.0.1
Public Types | Static Public Attributes | List of all members
visioncpp::internal::MemoryProperties< ElementTp > Struct Template Reference

This file is used to detect the ChannelType ElementCategory {basic or struct}, and the channel size of a row input data. More...

#include <mem_prop.hpp>

Collaboration diagram for visioncpp::internal::MemoryProperties< ElementTp >:

Public Types

using ChannelType = typename ElementTp::data_type
 

Static Public Attributes

static constexpr size_t ElementCategory = element_category::Struct
 
static constexpr size_t ChannelSize = ElementTp::elements
 

Detailed Description

template<typename ElementTp>
struct visioncpp::internal::MemoryProperties< ElementTp >

This file is used to detect the ChannelType ElementCategory {basic or struct}, and the channel size of a row input data.

this is used to detect the Properties of a memory such as element category, channel type, and channel size for different types of input raw data

Definition at line 32 of file mem_prop.hpp.

Member Typedef Documentation

◆ ChannelType

template<typename ElementTp >
using visioncpp::internal::MemoryProperties< ElementTp >::ChannelType = typename ElementTp::data_type

Definition at line 34 of file mem_prop.hpp.

Member Data Documentation

◆ ChannelSize

template<typename ElementTp >
constexpr size_t visioncpp::internal::MemoryProperties< ElementTp >::ChannelSize = ElementTp::elements
staticconstexpr

Definition at line 35 of file mem_prop.hpp.

◆ ElementCategory

template<typename ElementTp >
constexpr size_t visioncpp::internal::MemoryProperties< ElementTp >::ElementCategory = element_category::Struct
staticconstexpr

Definition at line 33 of file mem_prop.hpp.


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