18 #ifndef INCLUDED_UHD_UTILS_DIRTY_TRACKED_HPP 19 #define INCLUDED_UHD_UTILS_DIRTY_TRACKED_HPP 34 template<
typename data_t>
63 inline const data_t&
get()
const {
96 if(!(_data == value)) {
111 if (!(_data == source._data)) {
113 _data = source._data;
121 inline operator const data_t&()
const {
void mark_clean()
Definition: dirty_tracked.hpp:78
dirty_tracked & operator=(const data_t &value)
Definition: dirty_tracked.hpp:94
bool is_dirty() const
Definition: dirty_tracked.hpp:71
Definition: convert.hpp:28
Definition: dirty_tracked.hpp:35
dirty_tracked(const data_t &value)
Definition: dirty_tracked.hpp:48
void force_dirty()
Definition: dirty_tracked.hpp:85
dirty_tracked & operator=(const dirty_tracked &source)
Definition: dirty_tracked.hpp:110
dirty_tracked()
Definition: dirty_tracked.hpp:40
dirty_tracked(const dirty_tracked &source)
Definition: dirty_tracked.hpp:56