Implement IComponent::terminate()

This commit is contained in:
Robbert van der Helm
2020-12-12 16:11:48 +01:00
parent d80ba10f06
commit 68084bc555
6 changed files with 37 additions and 5 deletions
+4 -2
View File
@@ -68,8 +68,10 @@ struct WantsPluginFactory {
* encodes the information we request or the operation we want to perform. A
* request of type `ControlRequest(T)` should send back a `T::Response`.
*/
using ControlRequest =
std::variant<YaComponent::Create, YaComponent::Destroy, WantsPluginFactory>;
using ControlRequest = std::variant<YaComponent::Create,
YaComponent::Destroy,
YaComponent::Terminate,
WantsPluginFactory>;
template <typename S>
void serialize(S& s, ControlRequest& payload) {