java.lang.Object
io.qt.QtObject
io.qt.serialbus.QCanBusFrame
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Container class representing a single CAN frame
Java wrapper for Qt's class QCanBusFrame
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QCanBusFrame::FrameErrorstatic final class
QFlags type for enumQCanBusFrame.FrameError
static enum
Java wrapper for Qt enum QCanBusFrame::FrameTypestatic class
Timestamp information with microsecond precisionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQCanBusFrame(io.qt.serialbus.QCanBusFrame.FrameType)
withtype = io.qt.serialbus.QCanBusFrame.FrameType.DataFrame
.QCanBusFrame
(int identifier, QByteArray data) protected
Constructor for internal use only. -
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.final QCanBusFrame.FrameErrors
error()
final int
frameId()
final QCanBusFrame.FrameType
final boolean
final boolean
final boolean
final boolean
int
hashCode()
final boolean
final boolean
isValid()
final QByteArray
payload()
void
readFrom
(QDataStream arg__1) final void
setBitrateSwitch
(boolean bitrateSwitch) final void
setError
(QCanBusFrame.FrameError ... e) Overloaded function forsetError(io.qt.serialbus.QCanBusFrame.FrameErrors)
.final void
final void
setErrorStateIndicator
(boolean errorStateIndicator) final void
setExtendedFrameFormat
(boolean isExtended) final void
setFlexibleDataRateFormat
(boolean isFlexibleData) final void
setFrameId
(int newFrameId) final void
setFrameType
(QCanBusFrame.FrameType newFormat) final void
setLocalEcho
(boolean localEcho) final void
setPayload
(QByteArray data) final void
final QCanBusFrame.TimeStamp
final String
toString()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QCanBusFrame
public QCanBusFrame()Overloaded constructor for
QCanBusFrame(io.qt.serialbus.QCanBusFrame.FrameType)
withtype = io.qt.serialbus.QCanBusFrame.FrameType.DataFrame
. -
QCanBusFrame
-
QCanBusFrame
-
QCanBusFrame
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
error
-
frameId
-
frameType
-
hasBitrateSwitch
-
hasErrorStateIndicator
-
hasExtendedFrameFormat
-
hasFlexibleDataRateFormat
-
hasLocalEcho
-
isValid
-
writeTo
-
readFrom
-
payload
-
setBitrateSwitch
-
setError
Overloaded function for
setError(io.qt.serialbus.QCanBusFrame.FrameErrors)
. -
setError
-
setErrorStateIndicator
-
setExtendedFrameFormat
-
setFlexibleDataRateFormat
-
setFrameId
-
setFrameType
-
setLocalEcho
-
setPayload
-
setTimeStamp
-
timeStamp
-
toString
-
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
-