2016-06-15 23:48:41 +02:00
|
|
|
#ifndef DEVICETMREPORTINGWRAPPER_H_
|
|
|
|
#define DEVICETMREPORTINGWRAPPER_H_
|
|
|
|
|
|
|
|
#include <framework/action/HasActionsIF.h>
|
|
|
|
#include <framework/objectmanager/SystemObjectIF.h>
|
|
|
|
#include <framework/serialize/SerializeIF.h>
|
|
|
|
|
|
|
|
class DeviceTmReportingWrapper: public SerializeIF {
|
|
|
|
public:
|
|
|
|
DeviceTmReportingWrapper(object_id_t objectId, ActionId_t actionId,
|
|
|
|
SerializeIF *data);
|
|
|
|
virtual ~DeviceTmReportingWrapper();
|
|
|
|
|
2020-04-05 17:58:39 +02:00
|
|
|
virtual ReturnValue_t serialize(uint8_t** buffer, size_t* size,
|
|
|
|
const size_t max_size, bool bigEndian) const;
|
2016-06-15 23:48:41 +02:00
|
|
|
|
|
|
|
virtual uint32_t getSerializedSize() const;
|
|
|
|
|
|
|
|
virtual ReturnValue_t deSerialize(const uint8_t** buffer, int32_t* size,
|
|
|
|
bool bigEndian);
|
|
|
|
private:
|
|
|
|
object_id_t objectId;
|
|
|
|
ActionId_t actionId;
|
|
|
|
SerializeIF *data;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* DEVICETMREPORTINGWRAPPER_H_ */
|