72 lines
1.4 KiB
C++
72 lines
1.4 KiB
C++
#pragma once
|
|
#include "SimCore/SimCore.hpp"
|
|
#include <SimCore/Messages/SimTrack.hpp>
|
|
#include <kubecontrol/KubePod.hpp>
|
|
#include <Entities/Tracklist/Tracklist.hpp>
|
|
#include <loguru.hpp>
|
|
#include <memory>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace Entities
|
|
{
|
|
|
|
class SensorControl
|
|
{
|
|
public:
|
|
SensorControl(std::string ID, std::string Name, std::string IP, SimCore::SensorKinds sensorKind);
|
|
|
|
|
|
|
|
/**
|
|
* @brief Get the Name of the Sensor
|
|
*
|
|
* @return std::string
|
|
*/
|
|
std::string getName();
|
|
|
|
/**
|
|
* @brief Get the UUID of the Sensor
|
|
*
|
|
* @return std::string
|
|
*/
|
|
std::string getID();
|
|
|
|
/**
|
|
* @brief Get the Sensor Kind
|
|
*
|
|
* @return SimCore::SensorKinds
|
|
*/
|
|
SimCore::SensorKinds getSensorKind();
|
|
|
|
/**
|
|
* @brief Get the Sensor Status
|
|
*
|
|
* @return SimCore::Status
|
|
*/
|
|
SimCore::Status getSensorStatus();
|
|
|
|
/**
|
|
* @brief updates the sensor status
|
|
*
|
|
* @param SimCore::Status
|
|
*/
|
|
void updateStatus(SimCore::Status status);
|
|
|
|
|
|
std::unique_ptr<TrackList::TrackList> TrackStore;
|
|
|
|
|
|
private:
|
|
|
|
const std::string ID_;
|
|
std::string Name_;
|
|
std::string IP_;
|
|
SimCore::SensorKinds SensorKind_;
|
|
SimCore::Status SensorSatus_;
|
|
|
|
|
|
|
|
};
|
|
|
|
} |