Krotos Modules 3
Loading...
Searching...
No Matches
krotos::WatchValue< T > Class Template Reference

#include <OscillatorUtils.h>

Public Member Functions

 WatchValue ()
 
 ~WatchValue ()
 
void setValue (T val)
 
getValue ()
 
bool hasChanged ()
 

Private Attributes

bool m_hasChanged {false}
 
m_value {0}
 

Constructor & Destructor Documentation

◆ WatchValue()

template<class T >
krotos::WatchValue< T >::WatchValue ( )
inline

◆ ~WatchValue()

template<class T >
krotos::WatchValue< T >::~WatchValue ( )
inline

Member Function Documentation

◆ getValue()

template<class T >
T krotos::WatchValue< T >::getValue ( )
inline

◆ hasChanged()

template<class T >
bool krotos::WatchValue< T >::hasChanged ( )
inline

◆ setValue()

template<class T >
void krotos::WatchValue< T >::setValue ( T val)
inline

Member Data Documentation

◆ m_hasChanged

template<class T >
bool krotos::WatchValue< T >::m_hasChanged {false}
private

◆ m_value

template<class T >
T krotos::WatchValue< T >::m_value {0}
private

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