fastcat 0.13.15
C++ EtherCAT Device Command & Control Library
Loading...
Searching...
No Matches
el3202.h
Go to the documentation of this file.
1#ifndef FASTCAT_EL3202_H_
2#define FASTCAT_EL3202_H_
3
4// Include related header (for cc files)
5
6// Include c then c++ libraries
7
8// Include external then project includes
9#include "fastcat/jsd/jsd_device_base.h"
10#include "jsd/jsd_el3202_pub.h"
11
12namespace fastcat
13{
14class El3202 : public JsdDeviceBase
15{
16 public:
17 El3202();
18 bool ConfigFromYaml(const YAML::Node& node) override;
19 bool Read() override;
20
21 protected:
22 bool ConfigFromYamlCommon(const YAML::Node& node);
23 bool ElementFromString(std::string element_string,
24 jsd_el3202_element_t& element);
27 jsd_el3202_element_t element_ch1_{JSD_EL3202_ELEMENT_PT100};
28 jsd_el3202_element_t element_ch2_{JSD_EL3202_ELEMENT_PT100};
29
30 private:
31 jsd_slave_config_t jsd_slave_config_{0};
32};
33
34} // namespace fastcat
35
36#endif
Definition el3202.h:15
jsd_el3202_element_t element_ch2_
Definition el3202.h:28
std::string element_ch2_string_
Definition el3202.h:26
jsd_el3202_element_t element_ch1_
Definition el3202.h:27
bool Read() override
Definition el3202.cc:68
bool ConfigFromYamlCommon(const YAML::Node &node)
Definition el3202.cc:28
bool ConfigFromYaml(const YAML::Node &node) override
Definition el3202.cc:21
bool ElementFromString(std::string element_string, jsd_el3202_element_t &element)
Definition el3202.cc:83
El3202()
Definition el3202.cc:13
std::string element_ch1_string_
Definition el3202.h:25
Definition jsd_device_base.h:16
Definition device_base.h:18