forked from 107-systems/107-Arduino-Cyphal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ServiceServerBase.hpp
48 lines (35 loc) · 1.64 KB
/
ServiceServerBase.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
* This software is distributed under the terms of the MIT License.
* Copyright (c) 2020-2023 LXRobotics.
* Author: Alexander Entinger <alexander.entinger@lxrobotics.com>
* Contributors: https://github.com/107-systems/107-Arduino-Cyphal/graphs/contributors.
*/
#ifndef INC_107_ARDUINO_CYPHAL_SERVICE_SERVER_BASE_HPP
#define INC_107_ARDUINO_CYPHAL_SERVICE_SERVER_BASE_HPP
/**************************************************************************************
* INCLUDE
**************************************************************************************/
#include <memory>
#include "SubscriptionBase.h"
/**************************************************************************************
* NAMESPACE
**************************************************************************************/
namespace impl
{
/**************************************************************************************
* CLASS DECLARATION
**************************************************************************************/
class ServiceServerBase : public SubscriptionBase
{
public:
ServiceServerBase() : SubscriptionBase{CanardTransferKindRequest} { }
};
/**************************************************************************************
* NAMESPACE
**************************************************************************************/
} /* impl */
/**************************************************************************************
* TYPEDEF
**************************************************************************************/
using ServiceServer = std::shared_ptr<impl::ServiceServerBase>;
#endif /* INC_107_ARDUINO_CYPHAL_SERVICE_SERVER_BASE_HPP */