2020-10-12 18:12:26 +02:00
|
|
|
#ifndef FSFW_DEVICEHANDLERS_DEVICETMREPORTINGWRAPPER_H_
|
|
|
|
#define FSFW_DEVICEHANDLERS_DEVICETMREPORTINGWRAPPER_H_
|
2020-08-28 18:33:29 +02:00
|
|
|
|
|
|
|
#include "../action/HasActionsIF.h"
|
|
|
|
#include "../objectmanager/SystemObjectIF.h"
|
|
|
|
#include "../serialize/SerializeIF.h"
|
|
|
|
|
|
|
|
class DeviceTmReportingWrapper: public SerializeIF {
|
|
|
|
public:
|
|
|
|
DeviceTmReportingWrapper(object_id_t objectId, ActionId_t actionId,
|
|
|
|
SerializeIF *data);
|
|
|
|
virtual ~DeviceTmReportingWrapper();
|
|
|
|
|
|
|
|
virtual ReturnValue_t serialize(uint8_t** buffer, size_t* size,
|
|
|
|
size_t maxSize, Endianness streamEndianness) const override;
|
|
|
|
|
|
|
|
virtual size_t getSerializedSize() const override;
|
|
|
|
|
|
|
|
virtual ReturnValue_t deSerialize(const uint8_t** buffer, size_t* size,
|
|
|
|
Endianness streamEndianness) override;
|
|
|
|
private:
|
|
|
|
object_id_t objectId;
|
|
|
|
ActionId_t actionId;
|
|
|
|
SerializeIF *data;
|
|
|
|
};
|
|
|
|
|
2020-10-12 18:12:26 +02:00
|
|
|
#endif /* FSFW_DEVICEHANDLERS_DEVICETMREPORTINGWRAPPER_H_ */
|