Main Page
Namespaces
Namespace List
Classes
Class List
Class Hierarchy
Class Members
All
Functions
Variables
Typedefs
Files
File List
File Members
All
Functions
include
bota_device_driver
BotaDeviceDriver.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
5
#include <
bota_node/bota_node.hpp
>
6
7
#include <
rokubimini_manager/Manager.hpp
>
8
9
namespace
bota_device_driver
10
{
11
using namespace
rokubimini
;
12
13
class
BotaDeviceDriver
:
public
bota_node::Node
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_
;
28
NodeHandlePtr
nh_
;
29
};
30
31
}
// namespace bota_device_driver
bota_device_driver::BotaDeviceDriver::rokubiminiManager_
std::unique_ptr< RokubiminiManager > rokubiminiManager_
Definition:
BotaDeviceDriver.hpp:27
bota_device_driver::BotaDeviceDriver::nh_
NodeHandlePtr nh_
Definition:
BotaDeviceDriver.hpp:28
Manager.hpp
update
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
rokubimini
bota_worker::WorkerEvent
bota_device_driver
Definition:
BotaDeviceDriver.hpp:9
init
void init(const M_string &remappings)
bota_node.hpp
bota_device_driver::BotaDeviceDriver
Definition:
BotaDeviceDriver.hpp:13
bota_device_driver::BotaDeviceDriver::NodeHandlePtr
std::shared_ptr< ros::NodeHandle > NodeHandlePtr
Definition:
BotaDeviceDriver.hpp:16
bota_device_driver
Author(s):
autogenerated on Wed Mar 3 2021 03:52:23