fastcat 0.13.15
C++ EtherCAT Device Command & Control Library
Loading...
Searching...
No Matches
el2798.h
Go to the documentation of this file.
1#ifndef FASTCAT_EL2798_H_
2#define FASTCAT_EL2798_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_el2798_pub.h"
11
12namespace fastcat
13{
14class El2798 : public JsdDeviceBase
15{
16 public:
17 El2798();
18 bool ConfigFromYaml(const YAML::Node& node) override;
19 bool Read() override;
20 FaultType Process() override;
21 bool Write(DeviceCmd& cmd) override;
22
23 protected:
24 bool ConfigFromYamlCommon(const YAML::Node& node);
25
26 private:
27 jsd_slave_config_t jsd_slave_config_ = {0};
28};
29
30} // namespace fastcat
31
32#endif
Definition el2798.h:15
bool Write(DeviceCmd &cmd) override
Definition el2798.cc:65
FaultType Process() override
Definition el2798.cc:59
El2798()
Definition el2798.cc:13
bool ConfigFromYaml(const YAML::Node &node) override
Definition el2798.cc:21
bool Read() override
Definition el2798.cc:42
bool ConfigFromYamlCommon(const YAML::Node &node)
Definition el2798.cc:28
Definition jsd_device_base.h:16
Definition device_base.h:18