6#ifndef YARP_DEV_SERIALPORT_NWS_YARP_H
7#define YARP_DEV_SERIALPORT_NWS_YARP_H
57 bool setDTR(
bool enable)
override;
98 bool detach()
override;
101 bool receive(
Bottle& msg);
102 int receiveChar(
char&
c);
114 bool close()
override;
void setInterfaces(yarp::dev::ISerialDevice *iser)
bool setDTR(bool enable) override
Callback implementation after buffered input.
yarp::dev::ISerialDevice * m_iser
ImplementCallbackHelper2()
virtual ~ImplementCallbackHelper2() override
void onRead(Bottle &b) override
Callback method.
This class is the parameters parser for class SerialPort_nws_yarp.
serialPort_nws_yarp: Export a serial sensor.
virtual ~SerialPort_nws_yarp() override
void run() override
Main body of the new thread.
bool close() override
Close the DeviceDriver.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
SerialPort_nws_yarp(SerialPort_nws_yarp &&)=delete
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
SerialPort_nws_yarp(const SerialPort_nws_yarp &)=delete
SerialPort_nws_yarp()=default
SerialPort_nws_yarp & operator=(const SerialPort_nws_yarp &)=delete
SerialPort_nws_yarp & operator=(SerialPort_nws_yarp &&)=delete
Interface implemented by all device drivers.
A generic interface to serial port devices.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a thread of execution.
A callback for typed data from a port.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.