class documentation

class BindingEventRecord:

View In Hierarchy

One BindingEvent, kept so that it can be read after the moment it was.

Holds the event's own fields plus when and where, so the introspection Component shows what a subscribed client would have received.

Method __str__ Return the one line an operator reads: when, where, what, and why.
Instance Variable at When it fired, in UTC (wall-clock, to correlate with a robot's log).
Instance Variable binding The Binding it is about.
Instance Variable code What happened, as the stable identifier a client branches on.
Instance Variable item The path of the machinery item that fired it.
Instance Variable path The ROS2 topic, service, action or node path that Binding names.
Instance Variable severity The house band it was fired at.
Instance Variable text The human-readable detail that went into the event's Message.
def __str__(self) -> str:

Return the one line an operator reads: when, where, what, and why.

at: dt.datetime =

When it fired, in UTC (wall-clock, to correlate with a robot's log).

binding: str =

The Binding it is about.

code: str =

What happened, as the stable identifier a client branches on.

item: str =

The path of the machinery item that fired it.

path: str =

The ROS2 topic, service, action or node path that Binding names.

severity: Severity =

The house band it was fired at.

text: str =

The human-readable detail that went into the event's Message.