| 149 | ChildHandler(const std::shared_ptr<EventLog>& log) : ParentHandler(log), value_(0) {} |
| 150 | |
| 151 | int32_t setValue(const int32_t value) override { |
| 152 | concurrency::Guard g(mutex_); |
| 153 | log_->append(EventLog::ET_CALL_SET_VALUE, 0, 0); |
| 154 | |
| 155 | int32_t oldValue = value_; |
| 156 | value_ = value; |
| 157 | return oldValue; |
| 158 | } |
| 159 | |
| 160 | int32_t getValue() override { |
| 161 | concurrency::Guard g(mutex_); |
no test coverage detected