1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/include/villas/formats/json_edgeflex.hpp

29 lines
665 B
C++
Raw Normal View History

/** JSON serializtion for edgeFlex project.
*
* @author Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2022-03-15 09:28:57 -04:00
* @copyright 2014-2022, Institute for Automation of Complex Power Systems, EONERC
2022-07-04 18:20:03 +02:00
* @license Apache 2.0
*********************************************************************************/
#pragma once
#include <villas/formats/json.hpp>
namespace villas {
namespace node {
class JsonEdgeflexFormat : public JsonFormat {
protected:
2021-10-04 11:07:23 +02:00
virtual
int packSample(json_t **j, const struct Sample *smp);
2021-10-04 11:07:23 +02:00
virtual
int unpackSample(json_t *json_smp, struct Sample *smp);
public:
using JsonFormat::JsonFormat;
};
} /* namespace node */
} /* namespace villas */