|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef PORTMONITOR_INC
10 #define PORTMONITOR_INC
83 return "portmonitor_carrier";
105 void lock()
const { mutex.lock(); }
132 mutable std::mutex mutex;
135 #endif //PORTMONITOR_INC
A dummy connection to test yarp::os::Portable implementations.
std::string getName() const override
Get the name of this connection type ("tcp", "mcast", "shmem", ...)
Manager for arbitration-aware inputs to a given port.
yarp::os::PortReader & modifyReply(yarp::os::PortReader &reader) override
Modify reply payload data, if appropriate.
PortMonitor(const PortMonitor &)=delete
Allow to monitor and modify port data from Lua script Under development.
A starter class for implementing simple modifying carriers.
bool acceptIncomingData(yarp::os::ConnectionReader &reader) override
Determine whether incoming data should be accepted.
Base class for generic things.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
MonitorBinding * getBinder()
PortMonitor & operator=(const PortMonitor &)=delete
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
bool acceptOutgoingData(const yarp::os::PortWriter &writer) override
Determine whether outgoing data should be accepted.
bool configure(yarp::os::ConnectionState &proto) override
Class PortMonitor.
void getCarrierParams(yarp::os::Property ¶ms) const override
Get carrier configuration and deliver it by port administrative commands.
PortMonitor & operator=(PortMonitor &&)=delete
void remove(const std::string &key, typename PR::peer_type *entity)
yarp::os::ConnectionReader & modifyIncomingData(yarp::os::ConnectionReader &reader) override
Modify incoming payload data, if appropriate.
PortMonitor(PortMonitor &&)=delete
std::string toString() const override
Get name of carrier.
An interface for reading from a network connection.
The basic state of a connection - route, streams in use, etc.
virtual bool acceptIncomingData(PortMonitor *source)
virtual ~PortMonitorGroup()
void setCarrierParams(const yarp::os::Property ¶ms) override
Configure carrier from port administrative commands.
Carrier * create() const override
Factory method.
bool configureFromProperty(yarp::os::Property &options) override
const yarp::os::PortWriter & modifyOutgoingData(const yarp::os::PortWriter &writer) override
Modify outgoing payload data, if appropriate.
A class for storing options and configuration information.