java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.serialbus.QCanBusDevice.Filter
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QCanBusDevice
QCanBusDevice::Filter struct defines a filter for CAN bus frames
Java wrapper for Qt's class QCanBusDevice::Filter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QCanBusDevice::Filter::FormatFilterstatic final class
QFlags type for enumQCanBusDevice.Filter.FormatFilter
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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()
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() -
Filter
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-