blob: 219260c98674781b94ae569064634ab534a88312 [file] [log] [blame]
Artem Senicheve8837d52020-06-07 11:59:04 +03001// SPDX-License-Identifier: Apache-2.0
2// Copyright (C) 2020 YADRO
3
4#pragma once
5
Artem Senicheve8837d52020-06-07 11:59:04 +03006/**
7 * @class Service
Nan Zhou042b5ba2021-06-18 09:32:45 -07008 * @brief The log service interface
Artem Senicheve8837d52020-06-07 11:59:04 +03009 */
10class Service
11{
12 public:
Nan Zhou042b5ba2021-06-18 09:32:45 -070013 virtual ~Service() = default;
Artem Senicheve8837d52020-06-07 11:59:04 +030014
15 /**
16 * @brief Run the service.
Artem Senicheve8837d52020-06-07 11:59:04 +030017 */
Nan Zhou042b5ba2021-06-18 09:32:45 -070018 virtual void run() = 0;
Artem Senicheve8837d52020-06-07 11:59:04 +030019};