Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
upload.h
1#ifndef UPLOAD_H
2#define UPLOAD_H
3
4#include "./routing/request_transfer.h"
5
6namespace ara
7{
8 namespace diag
9 {
13 {
14 private:
15 static const uint8_t cSid{0x35};
16 static const routing::TransferDirection cTransferDirection{
18
19 public:
24 explicit UploadService(
25 const core::InstanceSpecifier &specifier,
26 ReentrancyType reentrancy,
27 routing::TransferData &transferData);
28
36 std::future<void> RequestUpload(
37 uint8_t dataFormatIdentifier,
38 uint8_t addressAndLengthFormatIdentifier,
39 std::vector<uint8_t> memoryAddressAndSize,
40 MetaInfo &metaInfo,
41 CancellationHandler &&cancellationHandler);
42 };
43 }
44}
45
46#endif
AUTOSAR shortname-path wrapper.
Definition: instance_specifier.h:14
A wrapper class around a conversation cancellation handler callback.
Definition: cancellation_handler.h:12
Diagnostic metainfo in different context.
Definition: meta_info.h:24
A class to request diagnostic data transfer from the server to a client.
Definition: upload.h:13
UploadService(const core::InstanceSpecifier &specifier, ReentrancyType reentrancy, routing::TransferData &transferData)
Constructor.
Definition: upload.cpp:10
std::future< void > RequestUpload(uint8_t dataFormatIdentifier, uint8_t addressAndLengthFormatIdentifier, std::vector< uint8_t > memoryAddressAndSize, MetaInfo &metaInfo, CancellationHandler &&cancellationHandler)
Request diagnostic data upload.
Definition: upload.cpp:17
Request data transfer in a certian direction (download/upload)
Definition: request_transfer.h:15
A class to transfer data between diagnostic clients and the server.
Definition: transfer_data.h:23
TransferDirection
Transfer data direction between diagnostic clients and the server.
Definition: transfer_data.h:15
@ kUpload
Transfer data from server to client.
ReentrancyType
Reentrancy type of an instance.
Definition: reentrancy.h:12