|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_IMPL_PORTCOREUNIT_H
11 #define YARP_OS_IMPL_PORTCOREUNIT_H
85 return Route(
"null",
"null",
"null");
134 const std::string& envelope,
135 bool waitAfter =
true,
136 bool waitBefore =
true,
137 bool* gotReply =
nullptr)
191 Name name(
getRoute().getCarrierName() + std::string(
"://test"));
213 if (hasMode !=
nullptr) {
214 *hasMode = this->hasMode;
216 return (this->hasMode) ? mode :
"";
254 this->pupString = pupString;
291 std::string pupString;
298 #endif // YARP_OS_IMPL_PORTCOREUNIT_H
void setDoomed()
Request that this connection be shut down as soon as possible.
PortCoreUnit(PortCore &owner, int index)
Constructor.
virtual bool isFinished()
void setPupped(const std::string &pupString)
Tag this connection as having been created by a publisherUpdate message to the port's administrative ...
This manages a single threaded resource related to a single input or output connection.
virtual bool interrupt()
Interrupt the connection.
Information about a connection between two ports.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
std::string getCarrierModifier(const char *mod, bool *hasModifier=nullptr)
Simple abstraction for a YARP port name.
std::string getMode(bool *hasMode=nullptr)
Read the "mode" of the connection - basically, whether it is used for logging or not.
virtual void * send(const yarp::os::PortWriter &writer, yarp::os::PortReader *reader, const yarp::os::PortWriter *callback, void *tracker, const std::string &envelope, bool waitAfter=true, bool waitBefore=true, bool *gotReply=nullptr)
Send a message on the connection.
An abstraction for a thread of execution.
virtual void * takeTracker()
Reacquire a tracker previously passed via send().
virtual void setCarrierParams(const yarp::os::Property ¶ms)
Set arbitrary parameters for this connection.
The main, catch-all namespace for YARP.
virtual ~PortCoreUnit()
Destructor.
virtual void getCarrierParams(yarp::os::Property ¶ms)
void setMode()
Check the carrier used for the connection, and see if it has a "log" modifier.
std::string getPupString() const
A class for storing options and configuration information.