ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
smaractConfig.hpp
Go to the documentation of this file.
1
7
8#ifndef FCF_DEVMGR_DEVICE_SMARACT_CONFIG_HPP
9#define FCF_DEVMGR_DEVICE_SMARACT_CONFIG_HPP
10
11#include <string>
12#include <unordered_map>
13
14#include <yaml-cpp/yaml.h>
15
16#include <ifw/core/utils/bat/logger.hpp>
21
22
24
25 constexpr auto LOGGER_NAME = "smaract";
26 // Constants for internal mapping
27
28
29 // WS configuration keywords
30 // These configuration only matters for WS level
31 constexpr auto CI_SCALE_FACTOR = "scale_factor";
32 constexpr auto CI_UNIT = "unit";
33
34
36
37 public:
38 // Inherit constructors from Base
40
44 virtual ~SmaractConfig() = default;
45
46 std::string GetUnit() const;
47 };
48 }
49
50
51
52#endif //FCF_DEVMGR_DEVICE_SMARACT_CONFIG_H
Motor Base Configuration class.
Definition motorBaseConfig.hpp:139
MotorBaseConfig(const std::string filename, const std::string name)
MotorConfig constructor.
Definition motorBaseConfig.cpp:22
Definition smaractConfig.hpp:35
std::string GetUnit() const
Definition smaractConfig.cpp:21
virtual ~SmaractConfig()=default
DeviceConfig destructor.
Motor class source file.
Definition smaract.hpp:18
constexpr auto LOGGER_NAME
Definition smaractConfig.hpp:25
constexpr auto CI_UNIT
Definition smaractConfig.hpp:32
constexpr auto CI_SCALE_FACTOR
Definition smaractConfig.hpp:31