Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
icontrol_task_completer.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 Roc Streaming authors
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8 
9 //! @file roc_ctl/icontrol_task_completer.h
10 //! @brief Control task completion handler.
11 
12 #ifndef ROC_CTL_ICONTROL_TASK_COMPLETER_H_
13 #define ROC_CTL_ICONTROL_TASK_COMPLETER_H_
14 
15 #include "roc_ctl/control_task.h"
16 
17 namespace roc {
18 namespace ctl {
19 
20 //! Control task completion handler.
22 public:
23  virtual ~IControlTaskCompleter();
24 
25  //! Invoked when control task is completed.
26  //! Should not block.
27  virtual void control_task_completed(ControlTask&) = 0;
28 };
29 
30 } // namespace ctl
31 } // namespace roc
32 
33 #endif // ROC_CTL_ICONTROL_TASK_COMPLETER_H_
Base class for control tasks.
Definition: control_task.h:53
Control task completion handler.
virtual void control_task_completed(ControlTask &)=0
Invoked when control task is completed. Should not block.
Control task.
Root namespace.