Public Types | Public Member Functions | Private Attributes | List of all members
bota_device_driver::BotaDeviceDriver Class Reference

#include <BotaDeviceDriver.hpp>

Inheritance diagram for bota_device_driver::BotaDeviceDriver:
Inheritance graph
[legend]

Public Types

using NodeHandlePtr = std::shared_ptr< ros::NodeHandle >
 
- Public Types inherited from bota_node::Node
typedef std::shared_ptr< ros::NodeHandleNodeHandlePtr
 

Public Member Functions

 BotaDeviceDriver ()=delete
 
 BotaDeviceDriver (const NodeHandlePtr &nh)
 
void cleanup () override
 
bool init () override
 
bool update (const bota_worker::WorkerEvent &event)
 
 ~BotaDeviceDriver () override=default
 
- Public Member Functions inherited from bota_node::Node
bool addWorker (const std::string &name, const double timestep, bool(T::*fp)(const bota_worker::WorkerEvent &), T *obj, const int priority=0)
 
bool addWorker (const bota_worker::WorkerOptions &options)
 
void cancelWorker (const std::string &name, const bool wait=true)
 
ros::NodeHandlegetNodeHandle () const
 
bool hasWorker (const std::string &name)
 
 Node ()=delete
 
 Node (NodeHandlePtr nh)
 
virtual void preCleanup ()
 
void shutdown ()
 
void stopAllWorkers (bool wait)
 
void stopAllWorkers ()
 
virtual ~Node ()=default
 

Private Attributes

NodeHandlePtr nh_
 
std::unique_ptr< RokubiminiManagerrokubiminiManager_
 

Additional Inherited Members

- Protected Attributes inherited from bota_node::Node
NodeHandlePtr nh_
 

Detailed Description

Definition at line 13 of file BotaDeviceDriver.hpp.

Member Typedef Documentation

Definition at line 16 of file BotaDeviceDriver.hpp.

Constructor & Destructor Documentation

bota_device_driver::BotaDeviceDriver::BotaDeviceDriver ( )
delete
bota_device_driver::BotaDeviceDriver::BotaDeviceDriver ( const NodeHandlePtr nh)
explicit

Definition at line 8 of file BotaDeviceDriver.cpp.

bota_device_driver::BotaDeviceDriver::~BotaDeviceDriver ( )
overridedefault

Member Function Documentation

void bota_device_driver::BotaDeviceDriver::cleanup ( )
overridevirtual

Implements bota_node::Node.

Definition at line 93 of file BotaDeviceDriver.cpp.

bool bota_device_driver::BotaDeviceDriver::init ( )
overridevirtual

Implements bota_node::Node.

Definition at line 12 of file BotaDeviceDriver.cpp.

bool bota_device_driver::BotaDeviceDriver::update ( const bota_worker::WorkerEvent event)

Definition at line 81 of file BotaDeviceDriver.cpp.

Member Data Documentation

NodeHandlePtr bota_device_driver::BotaDeviceDriver::nh_
private

Definition at line 28 of file BotaDeviceDriver.hpp.

std::unique_ptr<RokubiminiManager> bota_device_driver::BotaDeviceDriver::rokubiminiManager_
private

Definition at line 27 of file BotaDeviceDriver.hpp.


The documentation for this class was generated from the following files:


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