Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
usb_cam_hardware::USBCamHardware Class Reference

#include <usb_cam_hardware.hpp>

Inheritance diagram for usb_cam_hardware::USBCamHardware:
Inheritance graph
[legend]

Classes

struct  Buffer
 
struct  Packet
 

Public Member Functions

ros::Duration init (ros::NodeHandle param_nh)
 
virtual void read (const ros::Time &time, const ros::Duration &period)
 
 USBCamHardware ()
 
virtual void write (const ros::Time &time, const ros::Duration &period)
 
virtual ~USBCamHardware ()
 
- Public Member Functions inherited from hardware_interface::RobotHW
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
virtual void doSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual void doSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual bool init (ros::NodeHandle &root_nh, ros::NodeHandle &robot_hw_nh)
 
virtual bool prepareSwitch (const std::list< ControllerInfo > &start_list, const std::list< ControllerInfo > &stop_list)
 
virtual bool prepareSwitch (const std::list< ControllerInfo > &start_list, const std::list< ControllerInfo > &stop_list)
 
 RobotHW ()
 
virtual ~RobotHW ()
 
- Public Member Functions inherited from hardware_interface::InterfaceManager
T * get ()
 
std::vector< std::string > getInterfaceResources (std::string iface_type) const
 
std::vector< std::string > getNames () const
 
void registerInterface (T *iface)
 
void registerInterfaceManager (InterfaceManager *iface_man)
 

Private Member Functions

bool uninit ()
 

Static Private Member Functions

static int xioctl (int fd, int request, void *arg)
 

Private Attributes

std::vector< Bufferbuffers_
 
int fd_
 
Packet packet_
 
usb_cam_hardware_interface::PacketInterface packet_interface_
 

Additional Inherited Members

- Protected Types inherited from hardware_interface::InterfaceManager
typedef std::vector< InterfaceManager * > InterfaceManagerVector
 
typedef std::map< std::string, void * > InterfaceMap
 
typedef std::map< std::string, std::vector< std::string > > ResourceMap
 
typedef std::map< std::string, size_t > SizeMap
 
- Protected Attributes inherited from hardware_interface::InterfaceManager
boost::ptr_vector< ResourceManagerBaseinterface_destruction_list_
 
InterfaceManagerVector interface_managers_
 
InterfaceMap interfaces_
 
InterfaceMap interfaces_combo_
 
SizeMap num_ifaces_registered_
 
ResourceMap resources_
 

Detailed Description

Definition at line 25 of file usb_cam_hardware.hpp.

Constructor & Destructor Documentation

usb_cam_hardware::USBCamHardware::USBCamHardware ( )
inline

Definition at line 27 of file usb_cam_hardware.hpp.

virtual usb_cam_hardware::USBCamHardware::~USBCamHardware ( )
inlinevirtual

Definition at line 29 of file usb_cam_hardware.hpp.

Member Function Documentation

ros::Duration usb_cam_hardware::USBCamHardware::init ( ros::NodeHandle  param_nh)
inline

Definition at line 34 of file usb_cam_hardware.hpp.

virtual void usb_cam_hardware::USBCamHardware::read ( const ros::Time time,
const ros::Duration period 
)
inlinevirtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 190 of file usb_cam_hardware.hpp.

bool usb_cam_hardware::USBCamHardware::uninit ( )
inlineprivate

Definition at line 244 of file usb_cam_hardware.hpp.

virtual void usb_cam_hardware::USBCamHardware::write ( const ros::Time time,
const ros::Duration period 
)
inlinevirtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 224 of file usb_cam_hardware.hpp.

static int usb_cam_hardware::USBCamHardware::xioctl ( int  fd,
int  request,
void *  arg 
)
inlinestaticprivate

Definition at line 273 of file usb_cam_hardware.hpp.

Member Data Documentation

std::vector< Buffer > usb_cam_hardware::USBCamHardware::buffers_
private

Definition at line 299 of file usb_cam_hardware.hpp.

int usb_cam_hardware::USBCamHardware::fd_
private

Definition at line 294 of file usb_cam_hardware.hpp.

Packet usb_cam_hardware::USBCamHardware::packet_
private

Definition at line 297 of file usb_cam_hardware.hpp.

usb_cam_hardware_interface::PacketInterface usb_cam_hardware::USBCamHardware::packet_interface_
private

Definition at line 296 of file usb_cam_hardware.hpp.


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


usb_cam_hardware
Author(s):
autogenerated on Tue Jul 14 2020 03:12:10