BotaDeviceDriver.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
6 
8 
10 {
11 using namespace rokubimini;
12 
14 {
15 public:
16  using NodeHandlePtr = std::shared_ptr<ros::NodeHandle>;
17 
18  BotaDeviceDriver() = delete;
19  explicit BotaDeviceDriver(const NodeHandlePtr& nh);
20  ~BotaDeviceDriver() override = default;
21 
22  bool init() override;
23  void cleanup() override;
24  bool update(const bota_worker::WorkerEvent& event);
25 
26 private:
27  std::unique_ptr<RokubiminiManager> rokubiminiManager_;
29 };
30 
31 } // namespace bota_device_driver
void init(const M_string &remappings)
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
std::unique_ptr< RokubiminiManager > rokubiminiManager_
std::shared_ptr< ros::NodeHandle > NodeHandlePtr


bota_device_driver
Author(s):
autogenerated on Wed Mar 3 2021 03:09:22