types

package
v0.0.0-...-9a1a042 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GoalIDLen = 16

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionTypeSupport

type ActionTypeSupport interface {
	Goal() MessageTypeSupport
	SendGoal() ServiceTypeSupport
	NewSendGoalResponse(accepted bool, stamp time.Duration) Message

	Result() MessageTypeSupport
	GetResult() ServiceTypeSupport
	NewGetResultResponse(status int8, result Message) Message

	CancelGoal() ServiceTypeSupport

	Feedback() MessageTypeSupport
	FeedbackMessage() MessageTypeSupport
	NewFeedbackMessage(goalID *GoalID, feedback Message) Message

	GoalStatusArray() MessageTypeSupport

	TypeSupport() unsafe.Pointer // *C.rosidl_action_type_support_t
}

type GoalID

type GoalID [GoalIDLen]byte

func (*GoalID) String

func (id *GoalID) String() string

type Message

type Message interface {
	CloneMsg() Message
	SetDefaults()
	GetTypeSupport() MessageTypeSupport
}

type MessageTypeSupport

type MessageTypeSupport interface {
	New() Message
	PrepareMemory() unsafe.Pointer
	ReleaseMemory(p unsafe.Pointer)
	AsCStruct(dst unsafe.Pointer, src Message)
	AsGoStruct(dst Message, src unsafe.Pointer)
	TypeSupport() unsafe.Pointer // *C.rosidl_message_type_support_t
}

type ServiceTypeSupport

type ServiceTypeSupport interface {
	Request() MessageTypeSupport
	Response() MessageTypeSupport
	TypeSupport() unsafe.Pointer // *C.rosidl_service_type_support_t
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL