class documentation

What one Binding's ROS2 endpoint is asking for, and where that came from.

Class Method of Return the entry for one live endpoint, read off the handle every time.
Method __str__ Return the one line an operator reads: the Binding, its profile and its provenance.
Instance Variable adaptations How many times an incompatibility has moved the profile. Non-zero means the Binding discovered its profile and had to give something up.
Instance Variable binding The name of the Binding, which is what a client browses it by.
Instance Variable last_incompatibility The most recent clash reported on this topic, or None. Kept because the event that announced it is gone if nobody was subscribed.
Instance Variable path The ROS2 topic the endpoint is on.
Instance Variable profile The profile in effect right now. For a discovered subscription this may differ from the one it opened with.
Instance Variable provenance Where that profile came from, and therefore whether it can still move.
@classmethod
def of(cls, binding: str, path: str, endpoint: QoSEndpoint, incompatibilities: Sequence[QoSIncompatibility] = ()) -> BindingQoS:

Return the entry for one live endpoint, read off the handle every time.

The adaptation count is derived from the incompatibilities, so the two cannot disagree.

def __str__(self) -> str:

Return the one line an operator reads: the Binding, its profile and its provenance.

adaptations: int =

How many times an incompatibility has moved the profile. Non-zero means the Binding discovered its profile and had to give something up.

binding: str =

The name of the Binding, which is what a client browses it by.

last_incompatibility: QoSIncompatibility | None =

The most recent clash reported on this topic, or None. Kept because the event that announced it is gone if nobody was subscribed.

path: str =

The ROS2 topic the endpoint is on.

profile: QoSProfile =

The profile in effect right now. For a discovered subscription this may differ from the one it opened with.

provenance: Provenance =

Where that profile came from, and therefore whether it can still move.