ADD: added prototype of sensormanager
This commit is contained in:
72
include/Entities/SensorControl.hpp
Normal file
72
include/Entities/SensorControl.hpp
Normal file
@@ -0,0 +1,72 @@
|
||||
#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_;
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user