EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
HALFeatures.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_HALFEATURES_HAL_HPP_
2 #define ORG_EEROS_HALFEATURES_HAL_HPP_
3 
4 #include <map>
5 #include <string>
6 
7 namespace eeros{
8  namespace hal{
9  enum Direction {
10  In,
12  };
13 
14  enum Type {
17  };
18 
19  const std::map<std::string, Direction> directionOfChannel = {
20  { "DigIn", In },
21  { "DigOut", Out },
22  { "AnalogOut", Out },
23  { "AnalogIn", In },
24  { "Pwm", Out },
25  { "Watchdog", Out },
26  { "Fqd", In }
27  };
28 
29  const std::map<std::string, Type> typeOfChannel = {
30  { "DigIn", Logic },
31  { "DigOut", Logic },
32  { "AnalogOut", Real },
33  { "AnalogIn", Real },
34  { "Pwm", Real },
35  { "Watchdog", Logic },
36  { "Fqd", Real }
37  };
38  };
39 };
40 
41 #endif /* ORG_EEROS_HALFEATURES_HAL_HPP_ */
Definition: HALFeatures.hpp:16
const std::map< std::string, Direction > directionOfChannel
Definition: HALFeatures.hpp:19
Definition: HALFeatures.hpp:11
Definition: Config.hpp:14
Type
Definition: HALFeatures.hpp:14
Direction
Definition: HALFeatures.hpp:9
Definition: HALFeatures.hpp:15
const std::map< std::string, Type > typeOfChannel
Definition: HALFeatures.hpp:29
Definition: HALFeatures.hpp:10