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 class QCanBusFrame
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQCanBusFrame::FrameError
static final class
QFlags
type for enumQCanBusFrame.FrameError
static enum
Java wrapper for Qt enumQCanBusFrame::FrameType
static class
Timestamp information with microsecond precision -
Constructor Summary
ConstructorDescriptionOverloaded constructor forQCanBusFrame(io.qt.serialbus.QCanBusFrame.FrameType)
withtype = io.qt.serialbus.QCanBusFrame.FrameType.DataFrame
.QCanBusFrame
(int identifier, byte [] data) Overloaded constructor forQCanBusFrame(int, io.qt.core.QByteArray)
.QCanBusFrame
(int identifier, QByteArray data) QCanBusFrame
(QCanBusFrame other) SeeQCanBusFrame::
QCanBusFrame(QCanBusFrame) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
equals
(QCanBusFrame value2) Seeoperator==(QCanBusFrame,
QCanBusFrame) boolean
Seeoperator==(QCanBusFrame,
QCanBusFrame) final QCanBusFrame.FrameErrors
error()
final int
frameId()
final QCanBusFrame.FrameType
final boolean
final boolean
final boolean
final boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QCanBusFrame)
.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
(byte [] data) Overloaded function forsetPayload(io.qt.core.QByteArray)
.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
See
QCanBusFrame::
QCanBusFrame(QCanBusFrame) -
QCanBusFrame
-
QCanBusFrame
-
QCanBusFrame
public QCanBusFrame()Overloaded constructor for
QCanBusFrame(io.qt.serialbus.QCanBusFrame.FrameType)
withtype = io.qt.serialbus.QCanBusFrame.FrameType.DataFrame
. -
QCanBusFrame
public QCanBusFrame(int identifier, byte [] data) Overloaded constructor for
QCanBusFrame(int, io.qt.core.QByteArray)
.
-
-
Method Details
-
error
-
frameId
-
frameType
-
hasBitrateSwitch
-
hasErrorStateIndicator
-
hasExtendedFrameFormat
-
hasFlexibleDataRateFormat
-
hasLocalEcho
-
isValid
-
writeTo
-
equals
See
operator==(QCanBusFrame,
QCanBusFrame) -
readFrom
-
payload
-
setBitrateSwitch
-
setError
-
setErrorStateIndicator
-
setExtendedFrameFormat
-
setFlexibleDataRateFormat
-
setFrameId
-
setFrameType
-
setLocalEcho
-
setPayload
-
setTimeStamp
-
timeStamp
-
toString
-
equals
See
operator==(QCanBusFrame,
QCanBusFrame) -
hashCode
Returns the objects's hash code computed byqHash(QCanBusFrame)
. -
clone
Creates and returns a copy of this object.
See
QCanBusFrame::
QCanBusFrame(QCanBusFrame) -
setError
Overloaded function for
setError(io.qt.serialbus.QCanBusFrame.FrameErrors)
. -
setPayload
Overloaded function for
setPayload(io.qt.core.QByteArray)
.
-