Motorcortex Core  version: 2.7.6
ecat_soe.h
1 /*
2  * Developer : Alexey Zakharov (alexey.zakharov@vectioneer.com)
3  * All rights reserved. Copyright (c) 2015 - 2020 VECTIONEER.
4  */
5 
6 #ifndef MOTORCORTEX_CORE_ECAT_SOE_H
7 #define MOTORCORTEX_CORE_ECAT_SOE_H
8 
9 #include "ecat_sdobase.h"
10 
11 namespace mcx::ecat {
12 
13 class Soe : public SdoBase {
14 public:
15  Soe() = default;
16 
17  virtual ~Soe() = default;
18 
19  void* create(const EcatSdoConfig& sdo_config, ec_slave_config_t* slave_config) override {
20  return nullptr;
21  }
22 
23  SdoState request(EcatDirection dir) override {
24  return SdoState::SDO_IDLE;
25  }
26 };
27 
28 } // namespace mcx::ecat
29 
30 #endif //MOTORCORTEX_CORE_ECAT_SOE_H
mcx::ecat::SdoBase
Definition: ecat_sdobase.h:19
mcx::ecat::Soe
Definition: ecat_soe.h:13
mcx::ecat::EcatSdoConfig
Definition: ecat_xmltypes.h:197