Documentation ¶
Index ¶
- Variables
- func CloneUUIDSlice(dst, src []UUID)
- func UUID__Array_to_C(cSlice []CUUID, goSlice []UUID)
- func UUID__Array_to_Go(goSlice []UUID, cSlice []CUUID)
- func UUID__Sequence_to_C(cSlice *CUUID__Sequence, goSlice []UUID)
- func UUID__Sequence_to_Go(goSlice *[]UUID, cSlice CUUID__Sequence)
- type CUUID
- type CUUID__Sequence
- type UUID
- type UUIDPublisher
- type UUIDSubscription
- type UUIDSubscriptionCallback
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_Go ¶
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 CUUID ¶
type CUUID = C.unique_identifier_msgs__msg__UUID
type CUUID__Sequence ¶
type CUUID__Sequence = C.unique_identifier_msgs__msg__UUID__Sequence
type UUID ¶
type UUID struct {
Uuid [16]uint8 `yaml:"uuid"`
}
func (*UUID) GetTypeSupport ¶
func (t *UUID) GetTypeSupport() types.MessageTypeSupport
func (*UUID) SetDefaults ¶
func (t *UUID) SetDefaults()
type UUIDPublisher ¶
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.
Click to show internal directories.
Click to hide internal directories.