YARP
Yet Another Robot Platform
yarp::conf Namespace Reference

Namespaces

 dirs
 
 environment
 
 filesystem
 
 numeric
 
 string
 

Typedefs

typedef float float32_t
 
typedef double float64_t
 
typedef std::int32_t vocab32_t
 
typedef long double float128_t
 
typedef ::ssize_t ssize_t
 

Functions

template<class T >
constexpr const T & clamp (const T &v, const T &lo, const T &hi)
 
template<class T , class Compare >
constexpr const T & clamp (const T &v, const T &lo, const T &hi, Compare comp)
 

Typedef Documentation

◆ float128_t

typedef long double yarp::conf::float128_t

Definition at line 80 of file numeric.h.

◆ float32_t

typedef float yarp::conf::float32_t

Definition at line 76 of file numeric.h.

◆ float64_t

typedef double yarp::conf::float64_t

Definition at line 77 of file numeric.h.

◆ ssize_t

Definition at line 86 of file numeric.h.

◆ vocab32_t

typedef std::int32_t yarp::conf::vocab32_t

Definition at line 78 of file numeric.h.

Function Documentation

◆ clamp() [1/2]

template<class T >
constexpr const T& yarp::conf::clamp ( const T &  v,
const T &  lo,
const T &  hi 
)
constexpr

Definition at line 91 of file numeric.h.

◆ clamp() [2/2]

template<class T , class Compare >
constexpr const T& yarp::conf::clamp ( const T &  v,
const T &  lo,
const T &  hi,
Compare  comp 
)
constexpr

Definition at line 98 of file numeric.h.