java.lang.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 frameKotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final QCanBusFrame.FrameType
getType()
Kotlin property getter.int
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
-
getFormat
Kotlin property getter. In Java use
format()
instead. -
format
Frame format of the matching CAN bus frame
-
setFrameId
Frame id used to filter the incoming frames
-
getFrameId
Kotlin property getter. In Java use
frameId()
instead. -
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
-
getFrameIdMask
Kotlin property getter. In Java use
frameIdMask()
instead. -
frameIdMask
Bit mask that is applied to the frame id of the filter and the received frame
-
setType
Of the frame to be filtered
-
getType
Kotlin property getter. In Java use
type()
instead. -
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
-