Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
1c962d8cfThis file is pinned to the selected release. Download the original to open it in your design tool.
/*****************************************************************************
CvIn.h
Copyright (c) 2020 Raphael DINGE
*Tab=3***********************************************************************/
#pragma once
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
#include "erb/FloatRange.h"
#include <cstdint>
namespace erb
{
template <FloatRange Range>
class CvIn
{
/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
public:
static constexpr float ValueMin = FloatRangeTrait <Range>::Min;
static constexpr float ValueMax = FloatRangeTrait <Range>::Max;
inline CvIn (const float & data);
virtual ~CvIn () = default;
inline operator float () const;
/*\\\ INTERNAL \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
const float & impl_data;
inline void impl_preprocess () {}
inline void impl_postprocess () {}
/*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
protected:
/*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
private:
/*\\\ FORBIDDEN MEMBER FUNCTIONS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
private:
CvIn () = delete;
CvIn (const CvIn & rhs) = delete;
CvIn (CvIn && rhs) = delete;
CvIn & operator = (const CvIn & rhs) = delete;
CvIn & operator = (CvIn && rhs) = delete;
bool operator == (const CvIn & rhs) const = delete;
bool operator != (const CvIn & rhs) const = delete;
}; // class CvIn
} // namespace erb
#include "erb/CvIn.hpp"
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/