This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
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 <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 8 of file Frequency.hpp.

Constructor & Destructor Documentation

◆ Frequency()

constexpr Frequency::Frequency ( unsigned long  hertz)
inlineexplicitconstexpr

Definition at line 10 of file Frequency.hpp.

Member Function Documentation

◆ operator unsigned long()

constexpr Frequency::operator unsigned long ( ) const
inlineconstexpr

Definition at line 11 of file Frequency.hpp.

Member Data Documentation

◆ hertz

unsigned long Frequency::hertz
private

Definition at line 14 of file Frequency.hpp.


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