fastcat 0.13.15
C++ EtherCAT Device Command & Control Library
Loading...
Searching...
No Matches
el3314.h
Go to the documentation of this file.
1#ifndef FASTCAT_EL3314_H_
2#define FASTCAT_EL3314_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_el3314_pub.h"
11
12namespace fastcat
13{
14class El3314 : public JsdDeviceBase
15{
16 public:
17 El3314();
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_el3314_element_t& element);
25 std::string element_string_;
26 jsd_el3314_element_t element_{JSD_EL3314_ELEMENT_TYPE_K};
27
28 private:
29 jsd_slave_config_t jsd_slave_config_{0};
30};
31
32} // namespace fastcat
33
34#endif
Definition el3314.h:15
bool ElementFromString(std::string element_string, jsd_el3314_element_t &element)
Definition el3314.cc:75
std::string element_string_
Definition el3314.h:25
bool ConfigFromYaml(const YAML::Node &node) override
Definition el3314.cc:21
El3314()
Definition el3314.cc:13
bool Read() override
Definition el3314.cc:56
jsd_el3314_element_t element_
Definition el3314.h:26
bool ConfigFromYamlCommon(const YAML::Node &node)
Definition el3314.cc:28
Definition jsd_device_base.h:16
Definition device_base.h:18