Information about a port connection or event. More...
#include <yarp/os/PortInfo.h>
Public Types | |
| enum | { PORTINFO_NULL = 0 , PORTINFO_CONNECTION = yarp::os::createVocab32('c', 'o', 'n', 'n') , PORTINFO_MISC = yarp::os::createVocab32('m', 'i', 's', 'c') } |
| Possible tag values. More... | |
Public Member Functions | |
| PortInfo () | |
| Constructor. | |
Public Attributes | |
| int | tag |
| Type of information. | |
| bool | incoming |
| True if a connection is incoming, false if outgoing. | |
| bool | created |
| True if a connection is created, false if destroyed. | |
| std::string | portName |
| Name of port. | |
| std::string | sourceName |
| Name of connection source, if any. | |
| std::string | targetName |
| Name of connection target, if any. | |
| std::string | carrierName |
| Name of protocol type, if releveant. | |
| std::string | message |
| A human-readable description of contents. | |
Information about a port connection or event.
Definition at line 24 of file PortInfo.h.
Possible tag values.
| Enumerator | |
|---|---|
| PORTINFO_NULL | No information. |
| PORTINFO_CONNECTION | Information about an incoming or outgoing connection. |
| PORTINFO_MISC | Unspecified information. |
Definition at line 33 of file PortInfo.h.
|
explicit |
Constructor.
Definition at line 10 of file PortInfo.cpp.
| std::string yarp::os::PortInfo::carrierName |
Name of protocol type, if releveant.
Definition at line 65 of file PortInfo.h.
| bool yarp::os::PortInfo::created |
True if a connection is created, false if destroyed.
Definition at line 53 of file PortInfo.h.
| bool yarp::os::PortInfo::incoming |
True if a connection is incoming, false if outgoing.
Definition at line 50 of file PortInfo.h.
| std::string yarp::os::PortInfo::message |
A human-readable description of contents.
Definition at line 68 of file PortInfo.h.
| std::string yarp::os::PortInfo::portName |
Name of port.
Definition at line 56 of file PortInfo.h.
| std::string yarp::os::PortInfo::sourceName |
Name of connection source, if any.
Definition at line 59 of file PortInfo.h.
| int yarp::os::PortInfo::tag |
Type of information.
PORTINFO_CONNECTION for information about an incoming or outgoing connection.
Definition at line 47 of file PortInfo.h.
| std::string yarp::os::PortInfo::targetName |
Name of connection target, if any.
Definition at line 62 of file PortInfo.h.