Files
vrpmdv-yocto-recipes/recipes-vrpmdv/recipes-base/vrpmdv-rtservice/files/include/VibSensorDesc.h
Markus Lehr 68a4f6bcbe get data from Kernel driver
1st version of the json file with the header
2024-06-24 20:34:18 +02:00

36 lines
600 B
C++

/*
* Copyright (c) 2024 Markus Lehr.
*
*
* SPDX-License-Identifier: Owend property of Markus Lehr
*
*/
#ifndef RTS_INCLUDE_VIBSENSORDESC_H_
#define RTS_INCLUDE_VIBSENSORDESC_H_
#include <ISensorDesc.h>
#include <IChannelDesc.h>
#include <string>
#include <list>
#include <json.hpp>
using json = nlohmann::json;
class VibSensorDesc: public ISensorDesc
{
private:
std::list<std::shared_ptr<IChannelDesc>> mDescriptions;
public:
VibSensorDesc();
virtual int GetDescription() override;
virtual bool Add2Json(json& j) override;
};
#endif /* RTS_INCLUDE_VIBSENSORDESC_H_ */