|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_IMPL_PORTCOREOUTPUTUNIT_H
11 #define YARP_OS_IMPL_PORTCOREOUTPUTUNIT_H
51 bool start()
override;
89 const std::string& envelopeString,
92 bool* gotReply)
override;
118 std::mutex trackerMutex;
124 std::string cachedEnvelope;
146 #endif // YARP_OS_IMPL_PORTCOREOUTPUTUNIT_H
A class for thread synchronization and mutual exclusion.
bool isFinished() override
This manages a single threaded resource related to a single input or output connection.
void run() override
The body of a thread managing background sends.
The output side of an active connection between two ports.
Route getRoute() override
void getCarrierParams(yarp::os::Property ¶ms) override
bool start() override
Prepare to serve this output.
Information about a connection between two ports.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
virtual void runSingleThreaded()
Perform send operations without a separate thread.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
void * send(const yarp::os::PortWriter &writer, yarp::os::PortReader *reader, const yarp::os::PortWriter *callback, void *tracker, const std::string &envelopeString, bool waitAfter, bool waitBefore, bool *gotReply) override
Send a message on the connection.
OutputProtocol * getOutPutProtocol()
void * takeTracker() override
Reacquire a tracker previously passed via send().
~PortCoreOutputUnit() override
Destructor.
Manager for a single output from a port.
void setCarrierParams(const yarp::os::Property ¶ms) override
Set arbitrary parameters for this connection.
The main, catch-all namespace for YARP.
A class for storing options and configuration information.
PortCoreOutputUnit(PortCore &owner, int index, OutputProtocol *op)
Constructor.