Documentation
¶
Index ¶
- Constants
- type Message
- type MessageData
- type MessageTypeSupport
- func GetMessageTypeFromStdMsgsBool() MessageTypeSupport
- func GetMessageTypeFromStdMsgsByte() MessageTypeSupport
- func GetMessageTypeFromStdMsgsFloat32() MessageTypeSupport
- func GetMessageTypeFromStdMsgsFloat64() MessageTypeSupport
- func GetMessageTypeFromStdMsgsInt8() MessageTypeSupport
- func GetMessageTypeFromStdMsgsInt16() MessageTypeSupport
- func GetMessageTypeFromStdMsgsInt32() MessageTypeSupport
- func GetMessageTypeFromStdMsgsInt64() MessageTypeSupport
- func GetMessageTypeFromStdMsgsString() MessageTypeSupport
- func GetMessageTypeFromStdMsgsUInt8() MessageTypeSupport
- func GetMessageTypeFromStdMsgsUInt16() MessageTypeSupport
- func GetMessageTypeFromStdMsgsUInt32() MessageTypeSupport
- func GetMessageTypeFromStdMsgsUInt64() MessageTypeSupport
- type RCLRetT
- type StdMsgsBool
- func (msg *StdMsgsBool) DestroyMessage()
- func (msg *StdMsgsBool) GetBool() bool
- func (msg *StdMsgsBool) GetData() MessageData
- func (msg *StdMsgsBool) GetDataAsString() string
- func (msg *StdMsgsBool) GetMessage() MessageTypeSupport
- func (msg *StdMsgsBool) InitMessage()
- func (msg *StdMsgsBool) SetBool(data bool)
- type StdMsgsByte
- func (msg *StdMsgsByte) DestroyMessage()
- func (msg *StdMsgsByte) GetByte() byte
- func (msg *StdMsgsByte) GetData() MessageData
- func (msg *StdMsgsByte) GetDataAsString() string
- func (msg *StdMsgsByte) GetMessage() MessageTypeSupport
- func (msg *StdMsgsByte) InitMessage()
- func (msg *StdMsgsByte) SetByte(data byte)
- type StdMsgsFloat32
- func (msg *StdMsgsFloat32) DestroyMessage()
- func (msg *StdMsgsFloat32) GetData() MessageData
- func (msg *StdMsgsFloat32) GetDataAsString() string
- func (msg *StdMsgsFloat32) GetFloat32() float32
- func (msg *StdMsgsFloat32) GetMessage() MessageTypeSupport
- func (msg *StdMsgsFloat32) InitMessage()
- func (msg *StdMsgsFloat32) SetFloat32(data float32)
- type StdMsgsFloat64
- func (msg *StdMsgsFloat64) DestroyMessage()
- func (msg *StdMsgsFloat64) GetData() MessageData
- func (msg *StdMsgsFloat64) GetDataAsString() string
- func (msg *StdMsgsFloat64) GetFloat64() float64
- func (msg *StdMsgsFloat64) GetMessage() MessageTypeSupport
- func (msg *StdMsgsFloat64) InitMessage()
- func (msg *StdMsgsFloat64) SetFloat64(data float64)
- type StdMsgsInt8
- func (msg *StdMsgsInt8) DestroyMessage()
- func (msg *StdMsgsInt8) GetData() MessageData
- func (msg *StdMsgsInt8) GetDataAsString() string
- func (msg *StdMsgsInt8) GetInt8() int8
- func (msg *StdMsgsInt8) GetMessage() MessageTypeSupport
- func (msg *StdMsgsInt8) InitMessage()
- func (msg *StdMsgsInt8) SetInt8(data int8)
- type StdMsgsInt16
- func (msg *StdMsgsInt16) DestroyMessage()
- func (msg *StdMsgsInt16) GetData() MessageData
- func (msg *StdMsgsInt16) GetDataAsString() string
- func (msg *StdMsgsInt16) GetInt16() int16
- func (msg *StdMsgsInt16) GetMessage() MessageTypeSupport
- func (msg *StdMsgsInt16) InitMessage()
- func (msg *StdMsgsInt16) SetInt16(data int16)
- type StdMsgsInt32
- func (msg *StdMsgsInt32) DestroyMessage()
- func (msg *StdMsgsInt32) GetData() MessageData
- func (msg *StdMsgsInt32) GetDataAsString() string
- func (msg *StdMsgsInt32) GetInt32() int32
- func (msg *StdMsgsInt32) GetMessage() MessageTypeSupport
- func (msg *StdMsgsInt32) InitMessage()
- func (msg *StdMsgsInt32) SetInt32(data int32)
- type StdMsgsInt64
- func (msg *StdMsgsInt64) DestroyMessage()
- func (msg *StdMsgsInt64) GetData() MessageData
- func (msg *StdMsgsInt64) GetDataAsString() string
- func (msg *StdMsgsInt64) GetInt64() int64
- func (msg *StdMsgsInt64) GetMessage() MessageTypeSupport
- func (msg *StdMsgsInt64) InitMessage()
- func (msg *StdMsgsInt64) SetInt64(data int64)
- type StdMsgsString
- type StdMsgsUInt8
- func (msg *StdMsgsUInt8) DestroyMessage()
- func (msg *StdMsgsUInt8) GetData() MessageData
- func (msg *StdMsgsUInt8) GetDataAsString() string
- func (msg *StdMsgsUInt8) GetMessage() MessageTypeSupport
- func (msg *StdMsgsUInt8) GetUInt8() uint8
- func (msg *StdMsgsUInt8) InitMessage()
- func (msg *StdMsgsUInt8) SetUInt8(data uint8)
- type StdMsgsUInt16
- func (msg *StdMsgsUInt16) DestroyMessage()
- func (msg *StdMsgsUInt16) GetData() MessageData
- func (msg *StdMsgsUInt16) GetDataAsString() string
- func (msg *StdMsgsUInt16) GetMessage() MessageTypeSupport
- func (msg *StdMsgsUInt16) GetUInt16() uint16
- func (msg *StdMsgsUInt16) InitMessage()
- func (msg *StdMsgsUInt16) SetUInt16(data uint16)
- type StdMsgsUInt32
- func (msg *StdMsgsUInt32) DestroyMessage()
- func (msg *StdMsgsUInt32) GetData() MessageData
- func (msg *StdMsgsUInt32) GetDataAsString() string
- func (msg *StdMsgsUInt32) GetMessage() MessageTypeSupport
- func (msg *StdMsgsUInt32) GetUInt32() uint32
- func (msg *StdMsgsUInt32) InitMessage()
- func (msg *StdMsgsUInt32) SetUInt32(data uint32)
- type StdMsgsUInt64
- func (msg *StdMsgsUInt64) DestroyMessage()
- func (msg *StdMsgsUInt64) GetData() MessageData
- func (msg *StdMsgsUInt64) GetDataAsString() string
- func (msg *StdMsgsUInt64) GetMessage() MessageTypeSupport
- func (msg *StdMsgsUInt64) GetUInt64() uint64
- func (msg *StdMsgsUInt64) InitMessage()
- func (msg *StdMsgsUInt64) SetUInt64(data uint64)
Constants ¶
View Source
const ( RCL_RET_OK = 0 RCL_RET_ERROR = 1 RCL_RET_TIMEOUT = 2 RCL_RET_BAD_ALLOC = 10 RMW_RET_INVALID_ARGUMENT = 11 RCL_RET_ALREADY_INIT = 100 RCL_RET_NOT_INIT = 101 RCL_RET_MISMATCHED_RMW_ID = 102 RCL_RET_TOPIC_NAME_INVALID = 103 RCL_RET_SERVICE_NAME_INVALID = 104 RCL_RET_UNKNOWN_SUBSTITUTION = 105 RCL_RET_NODE_INVALID = 200 RCL_RET_NODE_INVALID_NAME = 201 RCL_RET_NODE_INVALID_NAMESPACE = 202 RCL_RET_PUBLISHER_INVALID = 300 RCL_RET_SUBSCRIPTION_INVALID = 400 RCL_RET_SUBSCRIPTION_TAKE_FAILED = 401 RCL_RET_CLIENT_INVALID = 500 RCL_RET_CLIENT_TAKE_FAILED = 501 RCL_RET_SERVICE_INVALID = 600 RCL_RET_SERVICE_TAKE_FAILED = 601 RCL_RET_TIMER_INVALID = 800 RCL_RET_TIMER_CANCELED = 801 RCL_RET_WAIT_SET_INVALID = 900 RCL_RET_WAIT_SET_EMPTY = 901 RCL_RET_WAIT_SET_FULL = 902 )
Constants used in the framework
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message interface {
GetMessage() MessageTypeSupport
GetData() MessageData
InitMessage()
DestroyMessage()
}
type MessageData ¶
type MessageTypeSupport ¶
type MessageTypeSupport struct {
ROSIdlMessageTypeSupport *C.rosidl_message_type_support_t
}
func GetMessageTypeFromStdMsgsBool ¶
func GetMessageTypeFromStdMsgsBool() MessageTypeSupport
func GetMessageTypeFromStdMsgsByte ¶
func GetMessageTypeFromStdMsgsByte() MessageTypeSupport
func GetMessageTypeFromStdMsgsFloat32 ¶
func GetMessageTypeFromStdMsgsFloat32() MessageTypeSupport
func GetMessageTypeFromStdMsgsFloat64 ¶
func GetMessageTypeFromStdMsgsFloat64() MessageTypeSupport
func GetMessageTypeFromStdMsgsInt8 ¶
func GetMessageTypeFromStdMsgsInt8() MessageTypeSupport
func GetMessageTypeFromStdMsgsInt16 ¶
func GetMessageTypeFromStdMsgsInt16() MessageTypeSupport
func GetMessageTypeFromStdMsgsInt32 ¶
func GetMessageTypeFromStdMsgsInt32() MessageTypeSupport
func GetMessageTypeFromStdMsgsInt64 ¶
func GetMessageTypeFromStdMsgsInt64() MessageTypeSupport
func GetMessageTypeFromStdMsgsString ¶
func GetMessageTypeFromStdMsgsString() MessageTypeSupport
func GetMessageTypeFromStdMsgsUInt8 ¶
func GetMessageTypeFromStdMsgsUInt8() MessageTypeSupport
func GetMessageTypeFromStdMsgsUInt16 ¶
func GetMessageTypeFromStdMsgsUInt16() MessageTypeSupport
func GetMessageTypeFromStdMsgsUInt32 ¶
func GetMessageTypeFromStdMsgsUInt32() MessageTypeSupport
func GetMessageTypeFromStdMsgsUInt64 ¶
func GetMessageTypeFromStdMsgsUInt64() MessageTypeSupport
type StdMsgsBool ¶
type StdMsgsBool struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsBool) DestroyMessage ¶
func (msg *StdMsgsBool) DestroyMessage()
func (*StdMsgsBool) GetBool ¶
func (msg *StdMsgsBool) GetBool() bool
func (*StdMsgsBool) GetData ¶
func (msg *StdMsgsBool) GetData() MessageData
func (*StdMsgsBool) GetDataAsString ¶
func (msg *StdMsgsBool) GetDataAsString() string
func (*StdMsgsBool) GetMessage ¶
func (msg *StdMsgsBool) GetMessage() MessageTypeSupport
func (*StdMsgsBool) InitMessage ¶
func (msg *StdMsgsBool) InitMessage()
func (*StdMsgsBool) SetBool ¶
func (msg *StdMsgsBool) SetBool(data bool)
type StdMsgsByte ¶
type StdMsgsByte struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsByte) DestroyMessage ¶
func (msg *StdMsgsByte) DestroyMessage()
func (*StdMsgsByte) GetByte ¶
func (msg *StdMsgsByte) GetByte() byte
func (*StdMsgsByte) GetData ¶
func (msg *StdMsgsByte) GetData() MessageData
func (*StdMsgsByte) GetDataAsString ¶
func (msg *StdMsgsByte) GetDataAsString() string
func (*StdMsgsByte) GetMessage ¶
func (msg *StdMsgsByte) GetMessage() MessageTypeSupport
func (*StdMsgsByte) InitMessage ¶
func (msg *StdMsgsByte) InitMessage()
func (*StdMsgsByte) SetByte ¶
func (msg *StdMsgsByte) SetByte(data byte)
type StdMsgsFloat32 ¶
type StdMsgsFloat32 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsFloat32) DestroyMessage ¶
func (msg *StdMsgsFloat32) DestroyMessage()
func (*StdMsgsFloat32) GetData ¶
func (msg *StdMsgsFloat32) GetData() MessageData
func (*StdMsgsFloat32) GetDataAsString ¶
func (msg *StdMsgsFloat32) GetDataAsString() string
func (*StdMsgsFloat32) GetFloat32 ¶
func (msg *StdMsgsFloat32) GetFloat32() float32
func (*StdMsgsFloat32) GetMessage ¶
func (msg *StdMsgsFloat32) GetMessage() MessageTypeSupport
func (*StdMsgsFloat32) InitMessage ¶
func (msg *StdMsgsFloat32) InitMessage()
func (*StdMsgsFloat32) SetFloat32 ¶
func (msg *StdMsgsFloat32) SetFloat32(data float32)
type StdMsgsFloat64 ¶
type StdMsgsFloat64 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsFloat64) DestroyMessage ¶
func (msg *StdMsgsFloat64) DestroyMessage()
func (*StdMsgsFloat64) GetData ¶
func (msg *StdMsgsFloat64) GetData() MessageData
func (*StdMsgsFloat64) GetDataAsString ¶
func (msg *StdMsgsFloat64) GetDataAsString() string
func (*StdMsgsFloat64) GetFloat64 ¶
func (msg *StdMsgsFloat64) GetFloat64() float64
func (*StdMsgsFloat64) GetMessage ¶
func (msg *StdMsgsFloat64) GetMessage() MessageTypeSupport
func (*StdMsgsFloat64) InitMessage ¶
func (msg *StdMsgsFloat64) InitMessage()
func (*StdMsgsFloat64) SetFloat64 ¶
func (msg *StdMsgsFloat64) SetFloat64(data float64)
type StdMsgsInt8 ¶
type StdMsgsInt8 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsInt8) DestroyMessage ¶
func (msg *StdMsgsInt8) DestroyMessage()
func (*StdMsgsInt8) GetData ¶
func (msg *StdMsgsInt8) GetData() MessageData
func (*StdMsgsInt8) GetDataAsString ¶
func (msg *StdMsgsInt8) GetDataAsString() string
func (*StdMsgsInt8) GetInt8 ¶
func (msg *StdMsgsInt8) GetInt8() int8
func (*StdMsgsInt8) GetMessage ¶
func (msg *StdMsgsInt8) GetMessage() MessageTypeSupport
func (*StdMsgsInt8) InitMessage ¶
func (msg *StdMsgsInt8) InitMessage()
func (*StdMsgsInt8) SetInt8 ¶
func (msg *StdMsgsInt8) SetInt8(data int8)
type StdMsgsInt16 ¶
type StdMsgsInt16 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsInt16) DestroyMessage ¶
func (msg *StdMsgsInt16) DestroyMessage()
func (*StdMsgsInt16) GetData ¶
func (msg *StdMsgsInt16) GetData() MessageData
func (*StdMsgsInt16) GetDataAsString ¶
func (msg *StdMsgsInt16) GetDataAsString() string
func (*StdMsgsInt16) GetInt16 ¶
func (msg *StdMsgsInt16) GetInt16() int16
func (*StdMsgsInt16) GetMessage ¶
func (msg *StdMsgsInt16) GetMessage() MessageTypeSupport
func (*StdMsgsInt16) InitMessage ¶
func (msg *StdMsgsInt16) InitMessage()
func (*StdMsgsInt16) SetInt16 ¶
func (msg *StdMsgsInt16) SetInt16(data int16)
type StdMsgsInt32 ¶
type StdMsgsInt32 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsInt32) DestroyMessage ¶
func (msg *StdMsgsInt32) DestroyMessage()
func (*StdMsgsInt32) GetData ¶
func (msg *StdMsgsInt32) GetData() MessageData
func (*StdMsgsInt32) GetDataAsString ¶
func (msg *StdMsgsInt32) GetDataAsString() string
func (*StdMsgsInt32) GetInt32 ¶
func (msg *StdMsgsInt32) GetInt32() int32
func (*StdMsgsInt32) GetMessage ¶
func (msg *StdMsgsInt32) GetMessage() MessageTypeSupport
func (*StdMsgsInt32) InitMessage ¶
func (msg *StdMsgsInt32) InitMessage()
func (*StdMsgsInt32) SetInt32 ¶
func (msg *StdMsgsInt32) SetInt32(data int32)
type StdMsgsInt64 ¶
type StdMsgsInt64 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsInt64) DestroyMessage ¶
func (msg *StdMsgsInt64) DestroyMessage()
func (*StdMsgsInt64) GetData ¶
func (msg *StdMsgsInt64) GetData() MessageData
func (*StdMsgsInt64) GetDataAsString ¶
func (msg *StdMsgsInt64) GetDataAsString() string
func (*StdMsgsInt64) GetInt64 ¶
func (msg *StdMsgsInt64) GetInt64() int64
func (*StdMsgsInt64) GetMessage ¶
func (msg *StdMsgsInt64) GetMessage() MessageTypeSupport
func (*StdMsgsInt64) InitMessage ¶
func (msg *StdMsgsInt64) InitMessage()
func (*StdMsgsInt64) SetInt64 ¶
func (msg *StdMsgsInt64) SetInt64(data int64)
type StdMsgsString ¶
type StdMsgsString struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsString) DestroyMessage ¶
func (msg *StdMsgsString) DestroyMessage()
func (*StdMsgsString) GetData ¶
func (msg *StdMsgsString) GetData() MessageData
func (*StdMsgsString) GetDataAsString ¶
func (msg *StdMsgsString) GetDataAsString() string
func (*StdMsgsString) GetMessage ¶
func (msg *StdMsgsString) GetMessage() MessageTypeSupport
func (*StdMsgsString) InitMessage ¶
func (msg *StdMsgsString) InitMessage()
func (*StdMsgsString) SetText ¶
func (msg *StdMsgsString) SetText(text string)
type StdMsgsUInt8 ¶
type StdMsgsUInt8 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsUInt8) DestroyMessage ¶
func (msg *StdMsgsUInt8) DestroyMessage()
func (*StdMsgsUInt8) GetData ¶
func (msg *StdMsgsUInt8) GetData() MessageData
func (*StdMsgsUInt8) GetDataAsString ¶
func (msg *StdMsgsUInt8) GetDataAsString() string
func (*StdMsgsUInt8) GetMessage ¶
func (msg *StdMsgsUInt8) GetMessage() MessageTypeSupport
func (*StdMsgsUInt8) GetUInt8 ¶
func (msg *StdMsgsUInt8) GetUInt8() uint8
func (*StdMsgsUInt8) InitMessage ¶
func (msg *StdMsgsUInt8) InitMessage()
func (*StdMsgsUInt8) SetUInt8 ¶
func (msg *StdMsgsUInt8) SetUInt8(data uint8)
type StdMsgsUInt16 ¶
type StdMsgsUInt16 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsUInt16) DestroyMessage ¶
func (msg *StdMsgsUInt16) DestroyMessage()
func (*StdMsgsUInt16) GetData ¶
func (msg *StdMsgsUInt16) GetData() MessageData
func (*StdMsgsUInt16) GetDataAsString ¶
func (msg *StdMsgsUInt16) GetDataAsString() string
func (*StdMsgsUInt16) GetMessage ¶
func (msg *StdMsgsUInt16) GetMessage() MessageTypeSupport
func (*StdMsgsUInt16) GetUInt16 ¶
func (msg *StdMsgsUInt16) GetUInt16() uint16
func (*StdMsgsUInt16) InitMessage ¶
func (msg *StdMsgsUInt16) InitMessage()
func (*StdMsgsUInt16) SetUInt16 ¶
func (msg *StdMsgsUInt16) SetUInt16(data uint16)
type StdMsgsUInt32 ¶
type StdMsgsUInt32 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsUInt32) DestroyMessage ¶
func (msg *StdMsgsUInt32) DestroyMessage()
func (*StdMsgsUInt32) GetData ¶
func (msg *StdMsgsUInt32) GetData() MessageData
func (*StdMsgsUInt32) GetDataAsString ¶
func (msg *StdMsgsUInt32) GetDataAsString() string
func (*StdMsgsUInt32) GetMessage ¶
func (msg *StdMsgsUInt32) GetMessage() MessageTypeSupport
func (*StdMsgsUInt32) GetUInt32 ¶
func (msg *StdMsgsUInt32) GetUInt32() uint32
func (*StdMsgsUInt32) InitMessage ¶
func (msg *StdMsgsUInt32) InitMessage()
func (*StdMsgsUInt32) SetUInt32 ¶
func (msg *StdMsgsUInt32) SetUInt32(data uint32)
type StdMsgsUInt64 ¶
type StdMsgsUInt64 struct {
MsgType MessageTypeSupport
// contains filtered or unexported fields
}
func (*StdMsgsUInt64) DestroyMessage ¶
func (msg *StdMsgsUInt64) DestroyMessage()
func (*StdMsgsUInt64) GetData ¶
func (msg *StdMsgsUInt64) GetData() MessageData
func (*StdMsgsUInt64) GetDataAsString ¶
func (msg *StdMsgsUInt64) GetDataAsString() string
func (*StdMsgsUInt64) GetMessage ¶
func (msg *StdMsgsUInt64) GetMessage() MessageTypeSupport
func (*StdMsgsUInt64) GetUInt64 ¶
func (msg *StdMsgsUInt64) GetUInt64() uint64
func (*StdMsgsUInt64) InitMessage ¶
func (msg *StdMsgsUInt64) InitMessage()
func (*StdMsgsUInt64) SetUInt64 ¶
func (msg *StdMsgsUInt64) SetUInt64(data uint64)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.