java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.serialbus.QCanBusDevice.Filter
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
- QCanBusDevice
public static class QCanBusDevice.Filter extends QtObject implements Cloneable
QCanBusDevice::Filter struct defines a filter for CAN bus frames
Java wrapper for Qt class QCanBusDevice::Filter
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QCanBusDevice.Filter.FormatFilter
Java wrapper for Qt enum QCanBusDevice::Filter::FormatFilterstatic class
QCanBusDevice.Filter.FormatFilters
QFlags type for enumQCanBusDevice.Filter.FormatFilter
-
Constructor Summary
Constructors Modifier Constructor Description Filter()
protected
Filter(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QCanBusDevice.Filter
clone()
QCanBusDevice.Filter.FormatFilter
format()
Frame format of the matching CAN bus frameint
frameId()
Frame id used to filter the incoming framesint
frameIdMask()
Bit mask that is applied to the frame id of the filter and the received framevoid
setFormat(QCanBusDevice.Filter.FormatFilter format)
Frame format of the matching CAN bus framevoid
setFrameId(int frameId)
Frame id used to filter the incoming framesvoid
setFrameIdMask(int frameIdMask)
Bit mask that is applied to the frame id of the filter and the received framevoid
setType(QCanBusFrame.FrameType type)
Of the frame to be filteredQCanBusFrame.FrameType
type()
Of the frame to be filtered
-
Constructor Details
-
Method Details
-
setFormat
Frame format of the matching CAN bus frame
See QCanBusDevice::Filter::setFormat(QCanBusDevice::Filter::FormatFilter format)
-
format
Frame format of the matching CAN bus frame
-
setType
Of the frame to be filtered
See QCanBusDevice::Filter::setType(QCanBusFrame::FrameType type)
-
type
Of the frame to be filtered
-
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
See QCanBusDevice::Filter::setFrameIdMask(unsigned int frameIdMask)
-
frameIdMask
Bit mask that is applied to the frame id of the filter and the received frame
-
clone
-