ros2_canopen  master
C++ ROS CANopen Library
node_canopen_master_interface.hpp
Go to the documentation of this file.
1 #ifndef NODE_CANOPEN_MASTER_INTERFACE_HPP_
2 #define NODE_CANOPEN_MASTER_INTERFACE_HPP_
3 
4 #include <lely/coapp/master.hpp>
5 #include <lely/ev/exec.hpp>
7 
8 namespace ros2_canopen
9 {
10 namespace node_interfaces
11 {
20 {
21 public:
26  virtual void init() = 0;
27 
35  virtual void configure() = 0;
36 
44  virtual void activate() = 0;
45 
53  virtual void deactivate() = 0;
54 
62  virtual void cleanup() = 0;
63 
70  virtual void shutdown() = 0;
76  virtual std::shared_ptr<lely::canopen::AsyncMaster> get_master() = 0;
82  virtual std::shared_ptr<lely::ev::Executor> get_executor() = 0;
83 };
84 } // namespace node_interfaces
85 } // namespace ros2_canopen
86 #endif
Node Canopen Master Interface.
Definition: node_canopen_master_interface.hpp:20
virtual std::shared_ptr< lely::canopen::AsyncMaster > get_master()=0
Get the master object.
virtual void activate()=0
Activate the driver.
virtual std::shared_ptr< lely::ev::Executor > get_executor()=0
Get the executor object.
virtual void deactivate()=0
Deactivate the driver.
virtual void configure()=0
Configure the driver.
virtual void shutdown()=0
Shutdown the driver.
Definition: configuration_manager.hpp:28