Documentation
¶
Index ¶
- Variables
- type DecodedSignal
- func (*DecodedSignal) Descriptor() ([]byte, []int)deprecated
- func (x *DecodedSignal) GetCanId() uint32
- func (x *DecodedSignal) GetDescription() string
- func (x *DecodedSignal) GetFrameBytes() []byte
- func (x *DecodedSignal) GetIsExtended() bool
- func (x *DecodedSignal) GetMessageName() string
- func (x *DecodedSignal) GetName() string
- func (x *DecodedSignal) GetPhysical() float64
- func (x *DecodedSignal) GetRaw() isDecodedSignal_Raw
- func (x *DecodedSignal) GetRawB() bool
- func (x *DecodedSignal) GetRawBytes() []byte
- func (x *DecodedSignal) GetRawF() float64
- func (x *DecodedSignal) GetRawS() int64
- func (x *DecodedSignal) GetRawU() uint64
- func (x *DecodedSignal) GetSignal() *Signal
- func (x *DecodedSignal) GetTimestamp() *timestamppb.Timestamp
- func (*DecodedSignal) ProtoMessage()
- func (x *DecodedSignal) ProtoReflect() protoreflect.Message
- func (x *DecodedSignal) Reset()
- func (x *DecodedSignal) String() string
- type DecodedSignal_RawB
- type DecodedSignal_RawBytes
- type DecodedSignal_RawF
- type DecodedSignal_RawS
- type DecodedSignal_RawU
- type Signal
- func (*Signal) Descriptor() ([]byte, []int)deprecated
- func (x *Signal) GetDefaultValue() int32
- func (x *Signal) GetDescription() string
- func (x *Signal) GetIsBigEndian() bool
- func (x *Signal) GetIsFloat() bool
- func (x *Signal) GetIsMultiplexed() bool
- func (x *Signal) GetIsMultiplexer() bool
- func (x *Signal) GetIsSigned() bool
- func (x *Signal) GetLength() uint32
- func (x *Signal) GetMax() float64
- func (x *Signal) GetMin() float64
- func (x *Signal) GetMultiplexerValue() uint32
- func (x *Signal) GetName() string
- func (x *Signal) GetOffset() float64
- func (x *Signal) GetReceiverNodes() []string
- func (x *Signal) GetScale() float64
- func (x *Signal) GetSourceFile() string
- func (x *Signal) GetStart() uint32
- func (x *Signal) GetUnit() string
- func (x *Signal) GetValueDescriptions() []*ValueDescription
- func (*Signal) ProtoMessage()
- func (x *Signal) ProtoReflect() protoreflect.Message
- func (x *Signal) Reset()
- func (x *Signal) String() string
- type ValueDescription
- func (*ValueDescription) Descriptor() ([]byte, []int)deprecated
- func (x *ValueDescription) GetDescription() string
- func (x *ValueDescription) GetValue() int64
- func (*ValueDescription) ProtoMessage()
- func (x *ValueDescription) ProtoReflect() protoreflect.Message
- func (x *ValueDescription) Reset()
- func (x *ValueDescription) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_proto_dbc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DecodedSignal ¶
type DecodedSignal struct {
MessageName string `protobuf:"bytes,1,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Types that are valid to be assigned to Raw:
//
// *DecodedSignal_RawU
// *DecodedSignal_RawS
// *DecodedSignal_RawF
// *DecodedSignal_RawB
// *DecodedSignal_RawBytes
Raw isDecodedSignal_Raw `protobuf_oneof:"raw"`
Physical *float64 `protobuf:"fixed64,8,opt,name=physical,proto3,oneof" json:"physical,omitempty"`
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
Signal *Signal `protobuf:"bytes,10,opt,name=signal,proto3" json:"signal,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CanId uint32 `protobuf:"varint,12,opt,name=can_id,json=canId,proto3" json:"can_id,omitempty"`
IsExtended bool `protobuf:"varint,13,opt,name=is_extended,json=isExtended,proto3" json:"is_extended,omitempty"`
FrameBytes []byte `protobuf:"bytes,14,opt,name=frame_bytes,json=frameBytes,proto3" json:"frame_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*DecodedSignal) Descriptor
deprecated
func (*DecodedSignal) Descriptor() ([]byte, []int)
Deprecated: Use DecodedSignal.ProtoReflect.Descriptor instead.
func (*DecodedSignal) GetCanId ¶
func (x *DecodedSignal) GetCanId() uint32
func (*DecodedSignal) GetDescription ¶
func (x *DecodedSignal) GetDescription() string
func (*DecodedSignal) GetFrameBytes ¶
func (x *DecodedSignal) GetFrameBytes() []byte
func (*DecodedSignal) GetIsExtended ¶
func (x *DecodedSignal) GetIsExtended() bool
func (*DecodedSignal) GetMessageName ¶
func (x *DecodedSignal) GetMessageName() string
func (*DecodedSignal) GetName ¶
func (x *DecodedSignal) GetName() string
func (*DecodedSignal) GetPhysical ¶
func (x *DecodedSignal) GetPhysical() float64
func (*DecodedSignal) GetRaw ¶
func (x *DecodedSignal) GetRaw() isDecodedSignal_Raw
func (*DecodedSignal) GetRawB ¶
func (x *DecodedSignal) GetRawB() bool
func (*DecodedSignal) GetRawBytes ¶
func (x *DecodedSignal) GetRawBytes() []byte
func (*DecodedSignal) GetRawF ¶
func (x *DecodedSignal) GetRawF() float64
func (*DecodedSignal) GetRawS ¶
func (x *DecodedSignal) GetRawS() int64
func (*DecodedSignal) GetRawU ¶
func (x *DecodedSignal) GetRawU() uint64
func (*DecodedSignal) GetSignal ¶
func (x *DecodedSignal) GetSignal() *Signal
func (*DecodedSignal) GetTimestamp ¶
func (x *DecodedSignal) GetTimestamp() *timestamppb.Timestamp
func (*DecodedSignal) ProtoMessage ¶
func (*DecodedSignal) ProtoMessage()
func (*DecodedSignal) ProtoReflect ¶
func (x *DecodedSignal) ProtoReflect() protoreflect.Message
func (*DecodedSignal) Reset ¶
func (x *DecodedSignal) Reset()
func (*DecodedSignal) String ¶
func (x *DecodedSignal) String() string
type DecodedSignal_RawB ¶
type DecodedSignal_RawB struct {
RawB bool `protobuf:"varint,6,opt,name=raw_b,json=rawB,proto3,oneof"`
}
type DecodedSignal_RawBytes ¶
type DecodedSignal_RawBytes struct {
RawBytes []byte `protobuf:"bytes,7,opt,name=raw_bytes,json=rawBytes,proto3,oneof"`
}
type DecodedSignal_RawF ¶
type DecodedSignal_RawF struct {
RawF float64 `protobuf:"fixed64,5,opt,name=raw_f,json=rawF,proto3,oneof"`
}
type DecodedSignal_RawS ¶
type DecodedSignal_RawS struct {
RawS int64 `protobuf:"zigzag64,4,opt,name=raw_s,json=rawS,proto3,oneof"`
}
type DecodedSignal_RawU ¶
type DecodedSignal_RawU struct {
RawU uint64 `protobuf:"varint,3,opt,name=raw_u,json=rawU,proto3,oneof"`
}
type Signal ¶
type Signal struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Start uint32 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
IsBigEndian bool `protobuf:"varint,4,opt,name=is_big_endian,json=isBigEndian,proto3" json:"is_big_endian,omitempty"`
IsSigned bool `protobuf:"varint,5,opt,name=is_signed,json=isSigned,proto3" json:"is_signed,omitempty"`
IsFloat bool `protobuf:"varint,6,opt,name=is_float,json=isFloat,proto3" json:"is_float,omitempty"`
IsMultiplexer bool `protobuf:"varint,7,opt,name=is_multiplexer,json=isMultiplexer,proto3" json:"is_multiplexer,omitempty"`
IsMultiplexed bool `protobuf:"varint,8,opt,name=is_multiplexed,json=isMultiplexed,proto3" json:"is_multiplexed,omitempty"`
MultiplexerValue uint32 `protobuf:"varint,9,opt,name=multiplexer_value,json=multiplexerValue,proto3" json:"multiplexer_value,omitempty"`
Offset float64 `protobuf:"fixed64,10,opt,name=offset,proto3" json:"offset,omitempty"`
Scale float64 `protobuf:"fixed64,11,opt,name=scale,proto3" json:"scale,omitempty"`
Min float64 `protobuf:"fixed64,12,opt,name=min,proto3" json:"min,omitempty"`
Max float64 `protobuf:"fixed64,13,opt,name=max,proto3" json:"max,omitempty"`
Unit string `protobuf:"bytes,14,opt,name=unit,proto3" json:"unit,omitempty"`
Description string `protobuf:"bytes,15,opt,name=description,proto3" json:"description,omitempty"`
ValueDescriptions []*ValueDescription `protobuf:"bytes,16,rep,name=value_descriptions,json=valueDescriptions,proto3" json:"value_descriptions,omitempty"`
ReceiverNodes []string `protobuf:"bytes,17,rep,name=receiver_nodes,json=receiverNodes,proto3" json:"receiver_nodes,omitempty"`
DefaultValue int32 `protobuf:"varint,18,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
SourceFile string `protobuf:"bytes,19,opt,name=source_file,json=sourceFile,proto3" json:"source_file,omitempty"`
// contains filtered or unexported fields
}
func (*Signal) Descriptor
deprecated
func (*Signal) GetDefaultValue ¶
func (*Signal) GetDescription ¶
func (*Signal) GetIsBigEndian ¶
func (*Signal) GetIsFloat ¶
func (*Signal) GetIsMultiplexed ¶
func (*Signal) GetIsMultiplexer ¶
func (*Signal) GetIsSigned ¶
func (*Signal) GetMultiplexerValue ¶
func (*Signal) GetReceiverNodes ¶
func (*Signal) GetSourceFile ¶
func (*Signal) GetValueDescriptions ¶
func (x *Signal) GetValueDescriptions() []*ValueDescription
func (*Signal) ProtoMessage ¶
func (*Signal) ProtoMessage()
func (*Signal) ProtoReflect ¶
func (x *Signal) ProtoReflect() protoreflect.Message
type ValueDescription ¶
type ValueDescription struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*ValueDescription) Descriptor
deprecated
func (*ValueDescription) Descriptor() ([]byte, []int)
Deprecated: Use ValueDescription.ProtoReflect.Descriptor instead.
func (*ValueDescription) GetDescription ¶
func (x *ValueDescription) GetDescription() string
func (*ValueDescription) GetValue ¶
func (x *ValueDescription) GetValue() int64
func (*ValueDescription) ProtoMessage ¶
func (*ValueDescription) ProtoMessage()
func (*ValueDescription) ProtoReflect ¶
func (x *ValueDescription) ProtoReflect() protoreflect.Message
func (*ValueDescription) Reset ¶
func (x *ValueDescription) Reset()
func (*ValueDescription) String ¶
func (x *ValueDescription) String() string
Click to show internal directories.
Click to hide internal directories.