Public Member Functions | Private Attributes | List of all members
Catch::Generators::RandomFloatingGenerator< Float > Class Template Referencefinal

#include <catch.hpp>

Inheritance diagram for Catch::Generators::RandomFloatingGenerator< Float >:
Inheritance graph
[legend]

Public Member Functions

Float const & get () const override
 
bool next () override
 
 RandomFloatingGenerator (Float a, Float b)
 
- Public Member Functions inherited from Catch::Generators::IGenerator< Float >
virtual ~IGenerator ()=default
 
- Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase
 GeneratorUntypedBase ()=default
 
virtual ~GeneratorUntypedBase ()
 

Private Attributes

Float m_current_number
 
std::uniform_real_distribution< Float > m_dist
 
std::minstd_rand m_rand
 

Additional Inherited Members

- Public Types inherited from Catch::Generators::IGenerator< Float >
using type = Float
 

Detailed Description

template<typename Float>
class Catch::Generators::RandomFloatingGenerator< Float >

Definition at line 4043 of file catch.hpp.

Constructor & Destructor Documentation

◆ RandomFloatingGenerator()

template<typename Float >
Catch::Generators::RandomFloatingGenerator< Float >::RandomFloatingGenerator ( Float  a,
Float  b 
)
inline

Definition at line 4050 of file catch.hpp.

Member Function Documentation

◆ get()

template<typename Float >
Float const& Catch::Generators::RandomFloatingGenerator< Float >::get ( ) const
inlineoverridevirtual

Implements Catch::Generators::IGenerator< Float >.

Definition at line 4056 of file catch.hpp.

◆ next()

template<typename Float >
bool Catch::Generators::RandomFloatingGenerator< Float >::next ( )
inlineoverridevirtual

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4059 of file catch.hpp.

Member Data Documentation

◆ m_current_number

template<typename Float >
Float Catch::Generators::RandomFloatingGenerator< Float >::m_current_number
private

Definition at line 4047 of file catch.hpp.

◆ m_dist

template<typename Float >
std::uniform_real_distribution<Float> Catch::Generators::RandomFloatingGenerator< Float >::m_dist
private

Definition at line 4046 of file catch.hpp.

◆ m_rand

template<typename Float >
std::minstd_rand Catch::Generators::RandomFloatingGenerator< Float >::m_rand
private

Definition at line 4045 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03