java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.serialbus.QCanBusFrame
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QCanBusFrame extends QtObject implements Cloneable
Container class representing a single CAN frame
Java wrapper for Qt class QCanBusFrame
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QCanBusFrame.FrameError
Java wrapper for Qt enum QCanBusFrame::FrameErrorstatic class
QCanBusFrame.FrameErrors
QFlags type for enumQCanBusFrame.FrameError
static class
QCanBusFrame.FrameType
Java wrapper for Qt enum QCanBusFrame::FrameTypestatic class
QCanBusFrame.TimeStamp
Timestamp information with microsecond precision -
Constructor Summary
Constructors Modifier Constructor Description QCanBusFrame()
Overloaded constructor forQCanBusFrame(io.qt.serialbus.QCanBusFrame.FrameType)
withtype = io.qt.serialbus.QCanBusFrame.FrameType.DataFrame
.QCanBusFrame(int identifier, QByteArray data)
protected
QCanBusFrame(QtObject.QPrivateConstructor p)
Constructor for internal use only.QCanBusFrame(QCanBusFrame.FrameType type)
-
Method Summary
-
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
-