Lines Matching refs:BaseVariable
56 class BaseVariable {
64 virtual void ValueChanged(BaseVariable* variable) = 0;
67 virtual ~BaseVariable() { in ~BaseVariable()
93 virtual void AddObserver(BaseVariable::ObserverInterface* observer) { in AddObserver()
100 virtual void RemoveObserver(BaseVariable::ObserverInterface* observer) { in RemoveObserver()
106 BaseVariable(const std::string& name, VariableMode mode) in BaseVariable() function
107 : BaseVariable( in BaseVariable()
112 BaseVariable(const std::string& name, base::TimeDelta poll_interval) in BaseVariable() function
113 : BaseVariable(name, kVariableModePoll, poll_interval) {} in BaseVariable()
132 base::Bind(&BaseVariable::OnValueChangedNotification, in NotifyValueChanged()
143 BaseVariable(const std::string& name, in BaseVariable() function
157 std::list<BaseVariable::ObserverInterface*> observer_list_copy( in OnValueChangedNotification()
182 std::list<BaseVariable::ObserverInterface*> observer_list_;
187 DISALLOW_COPY_AND_ASSIGN(BaseVariable);
194 class Variable : public BaseVariable {
208 : BaseVariable(name, mode) {} in Variable()
211 : BaseVariable(name, poll_interval) {} in Variable()