get data from Kernel driver
1st version of the json file with the header
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Markus Lehr.
|
||||
*
|
||||
*
|
||||
* SPDX-License-Identifier: Owend property of Markus Lehr
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef RTS_INCLUDE_ISENSORDESC_H_
|
||||
#define RTS_INCLUDE_ISENSORDESC_H_
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
#include <json.hpp>
|
||||
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
|
||||
|
||||
class ISensorDesc
|
||||
{
|
||||
|
||||
virtual int GetDescription() = 0;
|
||||
|
||||
virtual bool Add2Json(json& j) = 0;
|
||||
};
|
||||
|
||||
#endif /* RTS_INCLUDE_ISENSORDESC_H_ */
|
||||
Reference in New Issue
Block a user