r2r

Trait WrappedActionTypeSupport

Source
pub trait WrappedActionTypeSupport: Debug + Clone {
    type Goal: WrappedTypesupport;
    type Result: WrappedTypesupport;
    type Feedback: WrappedTypesupport;
    type FeedbackMessage: WrappedTypesupport;
    type SendGoal: WrappedServiceTypeSupport;
    type GetResult: WrappedServiceTypeSupport;

    // Required methods
    fn get_ts() -> &'static rosidl_action_type_support_t;
    fn make_goal_request_msg(
        goal_id: UUID,
        goal: Self::Goal,
    ) -> <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Request;
    fn make_goal_response_msg(
        accepted: bool,
        stamp: Time,
    ) -> <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Response;
    fn make_feedback_msg(
        goal_id: UUID,
        feedback: Self::Feedback,
    ) -> Self::FeedbackMessage;
    fn make_result_request_msg(
        goal_id: UUID,
    ) -> <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Request;
    fn make_result_response_msg(
        status: i8,
        result: Self::Result,
    ) -> <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Response;
    fn destructure_goal_request_msg(
        msg: <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Request,
    ) -> (UUID, Self::Goal);
    fn destructure_goal_response_msg(
        msg: <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Response,
    ) -> (bool, Time);
    fn destructure_feedback_msg(
        msg: Self::FeedbackMessage,
    ) -> (UUID, Self::Feedback);
    fn destructure_result_response_msg(
        msg: <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Response,
    ) -> (i8, Self::Result);
    fn destructure_result_request_msg(
        msg: <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Request,
    ) -> UUID;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::FollowJointTrajectory::Action

Source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::GripperCommand::Action

Source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::JointTrajectory::Action

Source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::ParallelGripperCommand::Action

Source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::PointHead::Action

Source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::SingleJointPosition::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::AssistedTeleop::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::BackUp::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::ComputePathThroughPoses::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::ComputePathToPose::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::DriveOnHeading::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::DummyBehavior::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::FollowPath::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::FollowWaypoints::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::NavigateThroughPoses::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::NavigateToPose::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::SmoothPath::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::Spin::Action

Source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::Wait::Action

Source§

impl WrappedActionTypeSupport for r2r::tf2_msgs::action::LookupTransform::Action