Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
generic_uds_service.h
1#ifndef GENERIC_UDS_SERVICE_H
2#define GENERIC_UDS_SERVICE_H
3
4#include <stdint.h>
5#include "./routing/routable_uds_service.h"
6#include "./reentrancy.h"
7
8namespace ara
9{
10 namespace diag
11 {
15 {
16 private:
17 const ReentrancyType mReentrancy;
18
19 public:
25 const ara::core::InstanceSpecifier &specifier,
26 ReentrancyType reentrancyType,
27 std::uint8_t sid) : routing::RoutableUdsService(specifier, sid),
28 mReentrancy{reentrancyType}
29 {
30 }
31 };
32 }
33}
34
35#endif
AUTOSAR shortname-path wrapper.
Definition: instance_specifier.h:14
An abstract class to handle generic UDS messages.
Definition: generic_uds_service.h:15
GenericUDSService(const ara::core::InstanceSpecifier &specifier, ReentrancyType reentrancyType, std::uint8_t sid)
Constructor.
Definition: generic_uds_service.h:24
An UDS service to handle a diagnostic request by offering itself to a router.
Definition: routable_uds_service.h:28
RoutableUdsService(const ara::core::InstanceSpecifier &specifier, uint8_t sid) noexcept
Constructor.
Definition: routable_uds_service.cpp:13
ReentrancyType
Reentrancy type of an instance.
Definition: reentrancy.h:12