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 precisionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQCanBusFrame(io.qt.serialbus.QCanBusFrame.FrameType)
withtype = io.qt.serialbus.QCanBusFrame.FrameType.DataFrame
.QCanBusFrame
(int identifier, QByteArray data) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.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
(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
-
QCanBusFrame
-
QCanBusFrame
public QCanBusFrame()Overloaded constructor for
QCanBusFrame(io.qt.serialbus.QCanBusFrame.FrameType)
withtype = io.qt.serialbus.QCanBusFrame.FrameType.DataFrame
.
-
-
Method Details
-
error
-
frameId
-
frameType
-
hasBitrateSwitch
-
hasErrorStateIndicator
-
hasExtendedFrameFormat
-
hasFlexibleDataRateFormat
-
hasLocalEcho
-
isValid
-
writeTo
-
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.
-
setError
Overloaded function for
setError(io.qt.serialbus.QCanBusFrame.FrameErrors)
.
-