observer_list_unittest.cc | 26 class Adder : public Foo { 28 explicit Adder(int scaler) : total(0), scaler_(scaler) {} 32 virtual ~Adder() { } 69 adder(1) { 74 observer_list->AddObserver(&adder); 80 Adder adder; member in class:__anon3678::AddInObserve 178 Adder a(1), b(-1), c(1), d(-1); 203 Adder a(1); 204 Adder b(-1) 359 const Adder& adder() const { return adder_; } function in class:__anon3678::AddInClearObserve [all...] |