| 2280 | } |
| 2281 | |
| 2282 | class ExecutionProgress { |
| 2283 | friend class AsyncBareProgressQueueWorker; |
| 2284 | public: |
| 2285 | void Send(const T* data, size_t count) const { |
| 2286 | that_->SendProgress_(data, count); |
| 2287 | } |
| 2288 | |
| 2289 | private: |
| 2290 | explicit ExecutionProgress(AsyncBareProgressQueueWorker *that) |
| 2291 | : that_(that) {} |
| 2292 | NAN_DISALLOW_ASSIGN_COPY_MOVE(ExecutionProgress) |
| 2293 | AsyncBareProgressQueueWorker* const that_; |
| 2294 | }; |
| 2295 | |
| 2296 | virtual void Execute(const ExecutionProgress& progress) = 0; |
| 2297 | virtual void HandleProgressCallback(const T *data, size_t size) = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected