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()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.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 frameint
hashCode()
void
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
-
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
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-