2016-06-15 23:48:41 +02:00
|
|
|
#ifndef DEVICETMREPORTINGWRAPPER_H_
|
|
|
|
#define DEVICETMREPORTINGWRAPPER_H_
|
|
|
|
|
2020-08-13 20:53:35 +02:00
|
|
|
#include "../action/HasActionsIF.h"
|
|
|
|
#include "../objectmanager/SystemObjectIF.h"
|
|
|
|
#include "../serialize/SerializeIF.h"
|
2016-06-15 23:48:41 +02:00
|
|
|
|
|
|
|
class DeviceTmReportingWrapper: public SerializeIF {
|
|
|
|
public:
|
|
|
|
DeviceTmReportingWrapper(object_id_t objectId, ActionId_t actionId,
|
|
|
|
SerializeIF *data);
|
|
|
|
virtual ~DeviceTmReportingWrapper();
|
|
|
|
|
2020-04-21 22:28:43 +02:00
|
|
|
virtual ReturnValue_t serialize(uint8_t** buffer, size_t* size,
|
|
|
|
size_t maxSize, Endianness streamEndianness) const override;
|
2016-06-15 23:48:41 +02:00
|
|
|
|
2020-04-21 22:28:43 +02:00
|
|
|
virtual size_t getSerializedSize() const override;
|
2016-06-15 23:48:41 +02:00
|
|
|
|
2020-04-21 22:28:43 +02:00
|
|
|
virtual ReturnValue_t deSerialize(const uint8_t** buffer, size_t* size,
|
|
|
|
Endianness streamEndianness) override;
|
2016-06-15 23:48:41 +02:00
|
|
|
private:
|
|
|
|
object_id_t objectId;
|
|
|
|
ActionId_t actionId;
|
|
|
|
SerializeIF *data;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* DEVICETMREPORTINGWRAPPER_H_ */
|