class documentation
class ProjectionContext:
What a Projection needs besides the message in front of it.
| Method | child |
Return the context of one field of the message this context is on. |
| Method | without |
Return this context with some paths below it removed, subtrees and all. |
| Instance Variable | byte |
How many bytes a bulk payload may carry, or 0 for no ceiling. It is the server's own, published in its capability variable (opensmi.ros2.server.limits), and the Projection applies it because the send path has no check of its own. |
| Instance Variable | path |
The absolute ROS2 path of the message being shaped or decoded. Empty at the root. |
| Instance Variable | qualifier |
What distinguishes this Component's minted DataTypes from another's. Empty outside a Component. |
| Instance Variable | raw |
Whether fields keep their ROS2 names. The fields of a structure array's element do: they are field names of a DataType, not browse names. |
| Instance Variable | registry |
How a nested type finds its own Projection. |
| Instance Variable | rename |
The new browse name of a field, by its absolute ROS2 field path, from the Binding's selection. |
| Instance Variable | selected |
The ROS2 field paths that survived the Binding's selection, absolute from the root of the declared message. Selection is applied before projection, so a Projection is never asked about a field the declaration removed. |
| Property | included |
Return whether the selection kept the path this context is on. |
Return this context with some paths below it removed, subtrees and all.
This is what the drop recipe uses. A dropped field is as invisible as an excluded one.
How many bytes a bulk payload may carry, or 0 for no ceiling.
It is the server's own, published in its capability variable
(opensmi.ros2.server.limits), and the Projection applies it because the send path
has no check of its own.
Whether fields keep their ROS2 names. The fields of a structure array's element do: they are field names of a DataType, not browse names.