#include <device_interface.h>
Public Types | |
typedef art_msgs::DriverState::_state_type | DeviceState |
Public Member Functions | |
DeviceBase (ros::NodeHandle node) | |
virtual DeviceState | state (ros::Time recently)=0 |
Protected Attributes | |
ros::NodeHandle | node_ |
ros::Subscriber | sub_ |
Device virtual base class
Definition at line 30 of file device_interface.h.
Definition at line 42 of file device_interface.h.
device_interface::DeviceBase::DeviceBase | ( | ros::NodeHandle | node | ) | [inline] |
Constructor
node | handle for state topic |
Definition at line 38 of file device_interface.h.
virtual DeviceState device_interface::DeviceBase::state | ( | ros::Time | recently | ) | [pure virtual] |
ros::NodeHandle device_interface::DeviceBase::node_ [protected] |
Definition at line 46 of file device_interface.h.
ros::Subscriber device_interface::DeviceBase::sub_ [protected] |
Definition at line 47 of file device_interface.h.