- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QCanBusDevice
QCanBusDevice::Filter struct defines a filter for CAN bus frames
Java wrapper for Qt class QCanBusDevice::Filter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQCanBusDevice::Filter::FormatFilter
static final class
QFlags
type for enumQCanBusDevice.Filter.FormatFilter
-
Constructor Summary
ConstructorDescriptionFilter()
SeeQCanBusDevice::Filter::
Filter() Filter
(int frameId, int frameIdMask, QCanBusFrame.FrameType type, QCanBusDevice.Filter.FormatFilter format) SeeQCanBusDevice::Filter::
Filter{quint32, quint32, QCanBusFrame::FrameType, QCanBusDevice::Filter::FormatFilter} Filter
(QCanBusDevice.Filter other) SeeQCanBusDevice::Filter::
Filter(QCanBusDevice::Filter) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
boolean
format()
Frame format of the matching CAN bus framefinal int
frameId()
Frame id used to filter the incoming framesfinal int
Bit mask that is applied to the frame id of the filter and the received frameint
hashCode()
Returns the objects's hash code computed byqHash(QCanBusDevice::Filter)
.final void
Frame format of the matching CAN bus framefinal void
setFrameId
(int frameId) Frame id used to filter the incoming framesfinal void
setFrameIdMask
(int frameIdMask) Bit mask that is applied to the frame id of the filter and the received framefinal void
Of the frame to be filteredfinal QCanBusFrame.FrameType
type()
Of the frame to be filteredMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Filter
public Filter()See
QCanBusDevice::Filter::
Filter() -
Filter
See
QCanBusDevice::Filter::
Filter(QCanBusDevice::Filter) -
Filter
public Filter(int frameId, int frameIdMask, QCanBusFrame.FrameType type, QCanBusDevice.Filter.FormatFilter format) See
QCanBusDevice::Filter::
Filter{quint32, quint32, QCanBusFrame::FrameType, QCanBusDevice::Filter::FormatFilter}
-
-
Method Details
-
equals
-
setFormat
Frame format of the matching CAN bus frame
-
format
Frame format of the matching CAN bus frame
-
setFrameId
Frame id used to filter the incoming frames
-
frameId
Frame id used to filter the incoming frames
-
setFrameIdMask
Bit mask that is applied to the frame id of the filter and the received frame
-
frameIdMask
Bit mask that is applied to the frame id of the filter and the received frame
-
setType
Of the frame to be filtered
-
type
Of the frame to be filtered
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QCanBusDevice::Filter)
. -
clone
Creates and returns a copy of this object.
See
QCanBusDevice::Filter::
Filter(QCanBusDevice::Filter)
-