Control Surface  1.1.1
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
Frequency Class Reference

Type-safe class for frequency values. More...

#include <AH/Types/Frequency.hpp>

Collaboration diagram for Frequency:

Public Member Functions

constexpr Frequency (unsigned long hertz)
 
constexpr operator unsigned long () const
 

Private Attributes

unsigned long hertz
 

Detailed Description

Type-safe class for frequency values.

Definition at line 11 of file Frequency.hpp.

Constructor & Destructor Documentation

◆ Frequency()

constexpr Frequency ( unsigned long  hertz)
inlineexplicitconstexpr

Definition at line 13 of file Frequency.hpp.

Member Function Documentation

◆ operator unsigned long()

constexpr operator unsigned long ( ) const
inlineconstexpr

Definition at line 14 of file Frequency.hpp.

Member Data Documentation

◆ hertz

unsigned long hertz
private

Definition at line 17 of file Frequency.hpp.


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