Class DefaultSerialFactory

Inheritance Relationships

Base Type

Class Documentation

class DefaultSerialFactory : public robotiq_driver::SerialFactory

This class is used to create a default driver to interact with the hardware.

Public Functions

DefaultSerialFactory() = default
virtual std::unique_ptr<Serial> create(const hardware_interface::HardwareInfo &info) const

Create a serial interface.

Parameters:

info – The hardware information.

Returns:

A sarial interface to communicate with the hardware.

Protected Functions

virtual std::unique_ptr<Serial> create_serial() const