Searched defs:CtrlValue (Results 1 – 1 of 1) sorted by relevance
628 struct CtrlValue { struct630 CtrlValue() : value_(), dirty_(false) {} in CtrlValue() function631 CtrlValue(const T& value) : value_(value), dirty_(false) {} in CtrlValue() argument633 void store(const T& value) { in store()639 void store(T&& value) { in store()645 const T &get() { return value_; }; in get()646 bool is_dirty() { return dirty_; }; in is_dirty()647 void clear_dirty() { dirty_ = false; }; in clear_dirty()648 void set_dirty() { dirty_ = true; }; in set_dirty()649 void reset(T value) { value_ = value; dirty_ = false; } in reset()[all …]