codegen_support library
The minimal surface generated message libraries depend on.
Generated code imports this rather than the full ros2_client.dart barrel,
so a generated sensor_msgs/msg/Image does not collide with the bundled
one. Nothing here exports a message class.
Classes
-
ActionCodec<
Goal, Feedback, Result> - Converter for a ROS 2 action's goal/feedback/result triple.
- ActionRegistry
- Registry of action codecs, keyed by Dart goal type.
- Field
- Field decoding helpers shared by all generated message classes.
-
MessageCodec<
T> -
Bidirectional converter between a Dart type
Tand the rosbridge wire form. - MessageRegistry
- Global registry of message codecs.
- RosMessage
- Marker for a generated (or hand-written) ROS 2 message type.
-
ServiceCodec<
Req, Res> - Converter for a ROS 2 service's request/response pair.
- ServiceRegistry
- Registry of service codecs, keyed by Dart request type.