Woman, Life, Freedom


DoIP Library
Diagnostics over Internet Protocol (DoIP) C++ library
entity_status_request.h
1#ifndef ENTITY_STATUS_REQUEST_H
2#define ENTITY_STATUS_REQUEST_H
3
4#include "./message.h"
5
6namespace DoipLib
7{
10 {
11 private:
12 static const PayloadType cPayloadType{
13 PayloadType::DoipEntityStatusRequest};
14
15 protected:
16 void GetPayload(std::vector<uint8_t> &payload) const override;
17
18 virtual bool TrySetPayload(
19 const std::vector<uint8_t> &payload,
20 uint32_t payloadLength) override;
21
22 public:
23 EntityStatusRequest() noexcept;
24
27 explicit EntityStatusRequest(uint8_t protocolVersion) noexcept;
28 };
29}
30
31#endif
Diagnostic entity status request.
Definition: entity_status_request.h:10
virtual bool TrySetPayload(const std::vector< uint8_t > &payload, uint32_t payloadLength) override
Try to set message payload.
void GetPayload(std::vector< uint8_t > &payload) const override
Get message payload.
DoIP generic message.
Definition: message.h:12