diff options
Diffstat (limited to 'src/serialbus/qmodbuspdu.cpp')
-rw-r--r-- | src/serialbus/qmodbuspdu.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/serialbus/qmodbuspdu.cpp b/src/serialbus/qmodbuspdu.cpp index d39d9e5..c008bf7 100644 --- a/src/serialbus/qmodbuspdu.cpp +++ b/src/serialbus/qmodbuspdu.cpp @@ -272,6 +272,8 @@ static QDataStream &pduFromStream(QDataStream &stream, Type type, QModbusPdu *pd Destroys a QModbusPdu. */ +QModbusPdu::~QModbusPdu() + = default; /*! \fn QModbusPdu::QModbusPdu(const QModbusPdu &other) @@ -510,6 +512,12 @@ QDataStream &operator<<(QDataStream &stream, const QModbusPdu &pdu) */ /*! + \internal +*/ +QModbusRequest::~QModbusRequest() + = default; + +/*! Returns the expected minimum data size for \a request based on the request's function code; \c {-1} if the function code is not known. */ @@ -666,6 +674,12 @@ QDataStream &operator>>(QDataStream &stream, QModbusRequest &pdu) */ /*! + \internal +*/ +QModbusResponse::~QModbusResponse() + = default; + +/*! Returns the expected minimum data size for \a response based on the response's function code; \c {-1} if the function code is not known. */ @@ -826,6 +840,12 @@ QDataStream &operator>>(QDataStream &stream, QModbusResponse &pdu) */ /*! + \internal +*/ +QModbusExceptionResponse::~QModbusExceptionResponse() + = default; + +/*! \fn void QModbusExceptionResponse::setFunctionCode(FunctionCode c) Sets the response's function code to \a c. |