Motorcortex Core  version: 2.7.6
ecat_sdofactory.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_SDOFACTORY_H
7 #define MOTORCORTEX_CORE_ECAT_SDOFACTORY_H
8 
9 #include "ecat_sdobase.h"
10 #include <ecrt.h>
11 
12 namespace mcx::ecat {
13 
14 struct EcatSdoConfig;
15 
16 class SdoFactory {
17 public:
18  static SdoBase* create(const EcatSdoConfig& sdo_config, ec_slave_config_t* slave_config);
19 
20  static void destroy(SdoBase* ptr);
21 };
22 
23 } // namespace mcx::ecat
24 
25 #endif // MOTORCORTEX_CORE_ECAT_SDOFACTORY_H
mcx::ecat::SdoBase
Definition: ecat_sdobase.h:19
mcx::ecat::SdoFactory
Definition: ecat_sdofactory.h:16
mcx::ecat::EcatSdoConfig
Definition: ecat_xmltypes.h:197