class documentation
class ROS2MutatorMethod(ROS2ListingMethod):
Known subclasses: ros2.server.introspection.BindTopic, ros2.server.introspection.CallService
Constructor: ROS2MutatorMethod(name, minimum_access_level, **kwargs)
A Method that changes something, and therefore needs the Lock as well as a level.
| Method | __init__ |
Register the Method at the deployment's mutator level, which has no default. |
| Class Variable | bypasses |
Undocumented |
Inherited from ROS2ListingMethod:
| Async Method | answer |
Do whatever this Method does, and return the lines it answers with. |
| Async Method | execute |
Answer the call, writing the count beside the lines. |
| Property | component |
Return the introspection Component. |
| Property | runtime |
Return the Machine's Runtime. |
| Async Method | _add |
Create one writable argument. A listing's is writable without the Lock, a mutator's is not. |
| Async Method | _answered |
Await one ROS2 call, turning transport failures into UA status codes. |
| Async Method | _condition |
Answer yes: nothing here commands the robot, and one asks most when startup failed. |
| Async Method | _init |
Let opensmi build the Method, then add the two result variables every one has. |
| Async Method | _one |
Return the one ROS2 type a graph name carries, or refuse to guess between several. |
| Async Method | _refreshed |
Read the ROS2 graph once. No poll keeps running. |
| Async Method | _refuse |
Log the reason on the Notification, then refuse with a status code. |
| Async Method | _require |
Refuse a call whose text argument was left empty. |
| Async Method | _text |
Return one string Parameter, stripped. |
| Async Method | _write |
Write one answer into the two result variables. |