Lines Matching refs:BaseVariable
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() function
109 : BaseVariable(name, mode, in BaseVariable()
114 BaseVariable(const std::string& name, base::TimeDelta poll_interval) in BaseVariable() function
115 : BaseVariable(name, kVariableModePoll, poll_interval) {} in BaseVariable()
132 base::Bind(&BaseVariable::OnValueChangedNotification, in NotifyValueChanged()
143 BaseVariable(const std::string& name, VariableMode mode, in BaseVariable() function
154 std::list<BaseVariable::ObserverInterface*> observer_list_copy( in OnValueChangedNotification()
179 std::list<BaseVariable::ObserverInterface*> observer_list_;
181 DISALLOW_COPY_AND_ASSIGN(BaseVariable);
188 class Variable : public BaseVariable {
202 : BaseVariable(name, mode) {} in Variable()
205 : BaseVariable(name, poll_interval) {} in Variable()