Searched refs:BaseVariable (Results 1 – 6 of 6) sorted by relevance
56 class BaseVariable {64 virtual void ValueChanged(BaseVariable* variable) = 0;67 virtual ~BaseVariable() { in ~BaseVariable()95 virtual void AddObserver(BaseVariable::ObserverInterface* observer) { in AddObserver()102 virtual void RemoveObserver(BaseVariable::ObserverInterface* observer) { in RemoveObserver()108 BaseVariable(const std::string& name, VariableMode mode) in BaseVariable() function109 : BaseVariable(name, mode, in BaseVariable()114 BaseVariable(const std::string& name, base::TimeDelta poll_interval) in BaseVariable() function115 : BaseVariable(name, kVariableModePoll, poll_interval) {} in BaseVariable()132 base::Bind(&BaseVariable::OnValueChangedNotification, in NotifyValueChanged()[all …]
88 class BaseVariableObserver : public BaseVariable::ObserverInterface {90 void ValueChanged(BaseVariable* variable) { in ValueChanged()95 vector<BaseVariable*> calls_;137 class BaseVariableObserverRemover : public BaseVariable::ObserverInterface {141 void ValueChanged(BaseVariable* variable) override { in ValueChanged()148 void OnCallRemoveObserver(BaseVariable::ObserverInterface* observer) { in OnCallRemoveObserver()155 vector<BaseVariable::ObserverInterface*> remove_observers_;
66 private BaseVariable::ObserverInterface {134 void ValueChanged(BaseVariable* var) override;153 typedef std::map<BaseVariable*, BoxedValue> ValueCacheMap;
49 static_cast<BaseVariable*>(var), BoxedValue(result)); in GetValue()
186 class CallCounterObserver : public BaseVariable::ObserverInterface {188 void ValueChanged(BaseVariable* variable) { in ValueChanged()
110 void EvaluationContext::ValueChanged(BaseVariable* var) { in ValueChanged()