30 lines
418 B
C++
30 lines
418 B
C++
/*
|
|
* 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_ */ |