Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
pcg_detail::specific_stream< itype > Class Template Reference
Inheritance diagram for pcg_detail::specific_stream< itype >:

Public Types

typedef itype state_type
typedef itype stream_state

Public Member Functions

constexpr itype increment () const
itype stream ()
void set_stream (itype specific_seq)

Static Public Member Functions

static constexpr size_t streams_pow2 ()

Static Public Attributes

static constexpr bool can_specify_stream = true

Protected Member Functions

 specific_stream (itype specific_seq)

Protected Attributes

itype inc_ = default_increment<itype>::increment()

Static Protected Attributes

static constexpr bool is_mcg = false

Constructor & Destructor Documentation

◆ specific_stream()

template<typename itype>
pcg_detail::specific_stream< itype >::specific_stream ( itype specific_seq)
inlineprotected
95743 : inc_(itype(specific_seq << 1) | itype(1U))
95744 {
95745 // Nothing (else) to do.
95746 }
Definition duckdb.cpp:95708

Member Function Documentation

◆ increment()

template<typename itype>
itype pcg_detail::specific_stream< itype >::increment ( ) const
inlineconstexpr
95718 {
95719 return inc_;
95720 }

◆ stream()

template<typename itype>
itype pcg_detail::specific_stream< itype >::stream ( )
inline
95723 {
95724 return inc_ >> 1;
95725 }

◆ set_stream()

template<typename itype>
void pcg_detail::specific_stream< itype >::set_stream ( itype specific_seq)
inline
95728 {
95729 inc_ = (specific_seq << 1) | 1;
95730 }

◆ streams_pow2()

template<typename itype>
constexpr size_t pcg_detail::specific_stream< itype >::streams_pow2 ( )
inlinestaticconstexpr
95735 {
95736 return (sizeof(itype)*8) - 1u;
95737 }

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