unique_identifier_msgs_msg

package
v0.0.0-...-56b24e1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UUIDTypeSupport types.MessageTypeSupport = _UUIDTypeSupport{}

Modifying this variable is undefined behavior.

Functions

func CloneUUIDSlice

func CloneUUIDSlice(dst, src []UUID)

CloneUUIDSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func UUID__Array_to_C

func UUID__Array_to_C(cSlice []CUUID, goSlice []UUID)

func UUID__Array_to_Go

func UUID__Array_to_Go(goSlice []UUID, cSlice []CUUID)

func UUID__Sequence_to_C

func UUID__Sequence_to_C(cSlice *CUUID__Sequence, goSlice []UUID)

func UUID__Sequence_to_Go

func UUID__Sequence_to_Go(goSlice *[]UUID, cSlice CUUID__Sequence)

Types

type UUID

type UUID struct {
	Uuid [16]uint8 `yaml:"uuid"`
}

func NewUUID

func NewUUID() *UUID

NewUUID creates a new UUID with default values.

func (*UUID) Clone

func (t *UUID) Clone() *UUID

func (*UUID) CloneMsg

func (t *UUID) CloneMsg() types.Message

func (*UUID) GetTypeSupport

func (t *UUID) GetTypeSupport() types.MessageTypeSupport

func (*UUID) SetDefaults

func (t *UUID) SetDefaults()

type UUIDPublisher

type UUIDPublisher struct {
	*rclgo.Publisher
}

UUIDPublisher wraps rclgo.Publisher to provide type safe helper functions

func NewUUIDPublisher

func NewUUIDPublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*UUIDPublisher, error)

NewUUIDPublisher creates and returns a new publisher for the UUID

func (*UUIDPublisher) Publish

func (p *UUIDPublisher) Publish(msg *UUID) error

type UUIDSubscription

type UUIDSubscription struct {
	*rclgo.Subscription
}

UUIDSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewUUIDSubscription

func NewUUIDSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback UUIDSubscriptionCallback) (*UUIDSubscription, error)

NewUUIDSubscription creates and returns a new subscription for the UUID

func (*UUIDSubscription) TakeMessage

func (s *UUIDSubscription) TakeMessage(out *UUID) (*rclgo.MessageInfo, error)

type UUIDSubscriptionCallback

type UUIDSubscriptionCallback func(msg *UUID, info *rclgo.MessageInfo, err error)

UUIDSubscriptionCallback type is used to provide a subscription handler function for a UUIDSubscription.

Jump to

Keyboard shortcuts

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