12#ifndef RTCTK_COMPONENTFRAMEWORK_RECORDINGTYPETRAITS_HPP
13#define RTCTK_COMPONENTFRAMEWORK_RECORDINGTYPETRAITS_HPP
30template <
typename T,
size_t Size>
32 typedef gsl::span<T, static_cast<decltype(gsl::dynamic_extent)>(Size)>
TYPE;
35template <
typename T,
size_t Size>
37 typedef gsl::span<const T, static_cast<decltype(gsl::dynamic_extent)>(Size)>
TYPE;
40template <
typename T,
typename Allocator>
41struct AsSpan<std::vector<T, Allocator>> {
45template <
typename T,
typename Allocator>
59 conjunction<IsSpanType<T>, IsDynamicSpanType<T>, IsVectorType<T>, IsMatrixBufferType<T>> {
A buffer class representing 2D matrix data.
Definition matrixBuffer.hpp:28
Declaration of the MatrixBuffer template class used in APIs.
Definition commandReplier.cpp:22
typename AsSpan< T >::TYPE AsSpanT
Definition recordingTypeTraits.hpp:51
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
gsl::span< T > TYPE
Definition recordingTypeTraits.hpp:47
gsl::span< const T, static_cast< decltype(gsl::dynamic_extent)>(Size)> TYPE
Definition recordingTypeTraits.hpp:37
gsl::span< T, static_cast< decltype(gsl::dynamic_extent)>(Size)> TYPE
Definition recordingTypeTraits.hpp:32
gsl::span< T > TYPE
Definition recordingTypeTraits.hpp:42
Gets the span type for converting type T to a span.
Definition recordingTypeTraits.hpp:28
Type trait to check if a type can be converted to a Span using AsSpan/ToSpan.
Definition recordingTypeTraits.hpp:59
Provides useful mechanisms to test various type traits.