rcl

package
v0.0.0-...-6dcf2a4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstanceID

func GetInstanceID() uint

GetInstanceID returns an uint64_t number that is unique for the latest rcl_init call.

func Init

func Init() types.RCLRetT

Init represents the global initialization of rcl. This must be called before using any rcl functions.

func OK

func OK() bool

OK returns true if rcl is currently initialized, otherwise false.

func Shutdown

func Shutdown()

Shutdown represents Signal global shutdown of rcl.

Types

type Allocator

type Allocator struct {
	Allocator *C.rcl_allocator_t
}

func GetDefaultAllocator

func GetDefaultAllocator() Allocator

func GetZeroInitializedAllocator

func GetZeroInitializedAllocator() Allocator

Jump to

Keyboard shortcuts

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