class documentation

class Default(Projection):

View In Hierarchy

The generic field-walk, as an ordinary entry.

Registered for one type, it disables curation for that type only. Registered for ~opensmi.ros2.server.projection.ANY_TYPE it is GENERIC, the entry that matches last, so the engine needs no fallback branch.

Method decode Read one payload into the names the walk created.
Method shape Render the type field by field, one flat variable per leaf.
Property inverse Return the walk's inverse, which it always has.
def decode(self, message: Message, context: ProjectionContext) -> Mapping[str, object]:

Read one payload into the names the walk created.

def shape(self, message_type: type[Message], context: ProjectionContext) -> tuple[PlanEntry, ...]:

Render the type field by field, one flat variable per leaf.

@property
inverse: EncodeFunction | None =

Return the walk's inverse, which it always has.