ros2_canopen  master
C++ ROS CANopen Library
node_canopen_driver_interface.hpp
Go to the documentation of this file.
1 #ifndef NODE_CANOPEN_DRIVER_INTERFACE_HPP_
2 #define NODE_CANOPEN_DRIVER_INTERFACE_HPP_
3 
4 #include <lely/coapp/master.hpp>
5 #include <lely/ev/exec.hpp>
6 
7 namespace ros2_canopen
8 {
9 namespace node_interfaces
10 {
19 {
20 public:
29  virtual void set_master(
30  std::shared_ptr<lely::ev::Executor> exec,
31  std::shared_ptr<lely::canopen::AsyncMaster> master) = 0;
32 
41  virtual void demand_set_master() = 0;
42 
50  virtual void init() = 0;
51 
59  virtual void configure() = 0;
60 
68  virtual void activate() = 0;
69 
77  virtual void deactivate() = 0;
78 
86  virtual void cleanup() = 0;
87 
94  virtual void shutdown() = 0;
95 
100  virtual void add_to_master() = 0;
101 
106  virtual void remove_from_master() = 0;
107 };
108 } // namespace node_interfaces
109 } // namespace ros2_canopen
110 
111 #endif
Node Canopen Driver Interface.
Definition: node_canopen_driver_interface.hpp:19
virtual void demand_set_master()=0
Demand set Master.
virtual void set_master(std::shared_ptr< lely::ev::Executor > exec, std::shared_ptr< lely::canopen::AsyncMaster > master)=0
Set Master.
NodeCanopenDriverInterface()
Definition: node_canopen_driver_interface.hpp:21
virtual void activate()=0
Activate the driver.
virtual void shutdown()=0
Shutdown the driver.
virtual void remove_from_master()=0
Remove the driver from master.
virtual void deactivate()=0
Deactivate the driver.
virtual void configure()=0
Configure the driver.
virtual void add_to_master()=0
Add the driver to master.
virtual void init()=0
Initialise the driver.
Definition: configuration_manager.hpp:28