java.lang.Object
io.qt.internal.NativeUtility.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()
final QCanBusFrame.FrameErrors
error()
final int
frameId()
final QCanBusFrame.FrameType
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
isValid()
final QByteArray
payload()
void
readFrom
(QDataStream arg__1) final void
setBitrateSwitch
(boolean bitrateSwitch) final void
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, equals, 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
-
clone
-