Trait r2r::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§
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
Object Safety§
This trait is not object safe.