emlabcpp
modern opinionated embedded C++ library
emlabcpp::protocol::sequencer_read_request Struct Reference

#include <sequencer.h>

+ Inheritance diagram for emlabcpp::protocol::sequencer_read_request:
+ Collaboration diagram for emlabcpp::protocol::sequencer_read_request:

Public Member Functions

constexpr quantity () noexcept
 
template<typename Value >
constexpr quantity (Value val) noexcept
 Default constructor used to create a physical quantity from value. More...
 
- Public Member Functions inherited from emlabcpp::quantity< sequencer_read_request, std::size_t >
constexpr quantity () noexcept
 
constexpr quantity (Value val) noexcept
 Default constructor used to create a physical quantity from value. More...
 
constexpr std::size_t operator* () const noexcept
 Const reference to the internal value. More...
 
constexpr sequencer_read_request & operator+= (quantity const other) noexcept
 Add other quantity of same Derived and value_type. More...
 
constexpr sequencer_read_request & operator-= (quantity const other) noexcept
 Subtract other quantity of same Derived and value_type. More...
 
constexpr sequencer_read_request & operator/= (arithmetic auto const val) noexcept
 Divides quantity by it's value type. More...
 
constexpr sequencer_read_request & operator*= (arithmetic auto const val) noexcept
 Multiplies quantity by it's value type. More...
 
constexpr operator U () const noexcept
 Provides explicit conversion of internal value to type U. More...
 

Additional Inherited Members

- Public Types inherited from emlabcpp::quantity< sequencer_read_request, std::size_t >
using value_type = std::size_t
 
- Static Public Member Functions inherited from emlabcpp::quantity< sequencer_read_request, std::size_t >
static std::string get_unit ()
 

Member Function Documentation

◆ quantity() [1/2]

constexpr emlabcpp::quantity< Derived, ValueType >::quantity
inlineconstexprnoexcept

◆ quantity() [2/2]

template<typename Value >
constexpr emlabcpp::quantity< Derived, ValueType >::quantity ( typename Value  )
inlineexplicitconstexprnoexcept

Default constructor used to create a physical quantity from value.


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