8 #ifndef YARP_DEV_SERVERSERIAL_H
9 #define YARP_DEV_SERVERSERIAL_H
53 void onRead(
Bottle& b)
override;
106 bool send(
const Bottle& msg)
override;
107 bool send(
char *msg,
size_t size)
override;
108 bool receive(
Bottle& msg)
override;
109 int receiveChar(
char& c)
override;
110 int flush ()
override;
111 int receiveLine(
char* line,
const int MaxLineLength)
override;
112 int receiveBytes(
unsigned char* bytes,
const int size)
override;
113 bool setDTR(
bool enable)
override;
125 bool close()
override;
Callback implementation after buffered input.
ImplementCallbackHelper2()
Constructor.
serial: Export a serial sensor.
ServerSerial & operator=(ServerSerial &&)=delete
ServerSerial(ServerSerial &&)=delete
ServerSerial & operator=(const ServerSerial &)=delete
ServerSerial(const ServerSerial &)=delete
Interface implemented by all device drivers.
A generic interface to serial port devices.
A container for a device driver.
bool close() override
Close the DeviceDriver.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for network communication.
void close() override
Stop port activity.
A base class for nested structures that can be searched.
An abstraction for a thread of execution.
bool stop()
Stop the thread.
bool isRunning()
Returns true if the thread is running (Thread::start has been called successfully and the thread has ...
A callback for typed data from a port.
An interface for the device drivers.
An interface to the operating system, including Port based communication.