Definition at line 112 of file PortCoreMsgs.cpp.
◆ funcptr_t
◆ PortCoreMsgs_addConnection_helper() [1/2]
| yarp::os::PortCoreMsgs_addConnection_helper::PortCoreMsgs_addConnection_helper |
( |
| ) |
|
|
default |
◆ PortCoreMsgs_addConnection_helper() [2/2]
| yarp::os::PortCoreMsgs_addConnection_helper::PortCoreMsgs_addConnection_helper |
( |
const std::string & |
portname, |
|
|
const std::string & |
carrier |
|
) |
| |
◆ call()
◆ read()
Read this object from a network connection.
Override this for your particular class.
- Parameters
-
| reader | an interface to the network connection for reading |
- Returns
- true iff the object is successfully read
Implements yarp::os::Portable.
Definition at line 1769 of file PortCoreMsgs.cpp.
◆ write()
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
- Parameters
-
| writer | an interface to the network connection for writing |
- Returns
- true iff the object is successfully written
Implements yarp::os::Portable.
Definition at line 1764 of file PortCoreMsgs.cpp.
◆ cmd
| Command yarp::os::PortCoreMsgs_addConnection_helper::cmd |
◆ reply
| Reply yarp::os::PortCoreMsgs_addConnection_helper::reply |
◆ s_cmd_len
| constexpr size_t yarp::os::PortCoreMsgs_addConnection_helper::s_cmd_len {3} |
|
staticconstexpr |
◆ s_help
Initial value:{
"Add an output connection from this port to another port.\n"
"@param portname the destination port of the connection\n"
"@param carrier the carrier of the connection, e.g. tcp, udp, fast_tcp (optional, the default carrier is used if empty)\n"
"@return success: true if the connection has been added; message: a description of the result"
}
Definition at line 172 of file PortCoreMsgs.cpp.
◆ s_prototype
◆ s_reply_len
| constexpr size_t yarp::os::PortCoreMsgs_addConnection_helper::s_reply_len {3} |
|
staticconstexpr |
◆ s_tag
| constexpr const char* yarp::os::PortCoreMsgs_addConnection_helper::s_tag {"addConnection"} |
|
staticconstexpr |
◆ s_tag_len
| constexpr size_t yarp::os::PortCoreMsgs_addConnection_helper::s_tag_len {1} |
|
staticconstexpr |
The documentation for this class was generated from the following file: