RTC Toolkit 5.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
patternValidation.hpp File Reference

Validation functions for checking correctness of data against expected test patterns. More...

#include <rtctk/componentFramework/typeTraits.hpp>
#include <iterator>

Go to the source code of this file.

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 

Functions

template<typename InputIter , typename T , typename U >
constexpr bool rtctk::componentFramework::ValidRamp (InputIter begin, InputIter end, T offset, U slope)
 Checks to see if the buffer contains a ramp of values.
 
template<typename InputIter , typename T >
constexpr bool rtctk::componentFramework::ValidAlternatingRamp (InputIter begin, InputIter end, std::uint32_t sample_id, T offset)
 Checks to see if the buffer contains an alternating ramp of values.
 

Detailed Description

Validation functions for checking correctness of data against expected test patterns.