C

SafeRenderer::QSafeEventOutputVerificationStatusReply Class

class SafeRenderer::QSafeEventOutputVerificationStatusReply

The QSafeEventOutputVerificationStatusReply is send as reply to the EventOutputVerificationStatusRequest request. More...

Header: #include <QSafeEventOutputVerificationStatusReply>
Since: QtSafeRenderer 2.0
Inherits: SafeRenderer::QSafeEvent

Public Functions

QSafeEventOutputVerificationStatusReply()
QSafeEventOutputVerificationStatusReply(const SafeRenderer::QSafeEvent &baseEvent)
void addItem(const SafeRenderer::quint32 idArg, const SafeRenderer::quint32 crcArg, const SafeRenderer::quint32 stateArg, const bool transitionArg)
bool getItem(const SafeRenderer::quint32 indexArg, SafeRenderer::quint32 &idArg, SafeRenderer::quint32 &crcArg, SafeRenderer::quint32 &stateArg, bool &transitionArg) const
SafeRenderer::quint32 getVariantId() const
SafeRenderer::quint32 itemCount() const
void setVariantId(const SafeRenderer::quint32 idArg)

Static Public Members

SafeRenderer::quint32 maxAmountOfItems()

Detailed Description

The QSafeEventOutputVerificationReply contains the information about the verified items.

Member Function Documentation

QSafeEventOutputVerificationStatusReply::QSafeEventOutputVerificationStatusReply()

Constructs a QSafeEventOutputVerificationStatusReply object.

eventType is set to EventOutputVerificationStatusReply.

[explicit] QSafeEventOutputVerificationStatusReply::QSafeEventOutputVerificationStatusReply(const SafeRenderer::QSafeEvent &baseEvent)

Constructs a QSafeEventOutputVerificationStatusReply instance, copying data from another instance baseEvent.

void QSafeEventOutputVerificationStatusReply::addItem(const SafeRenderer::quint32 idArg, const SafeRenderer::quint32 crcArg, const SafeRenderer::quint32 stateArg, const bool transitionArg)

Adds a new item and the results.

idArg is the ID of the item. crcArg is the CRC output value of the item. stateArg is the state value of the item. transitionArg is the transition status. True if the item is in transition and false otherwise.

bool QSafeEventOutputVerificationStatusReply::getItem(const SafeRenderer::quint32 indexArg, SafeRenderer::quint32 &idArg, SafeRenderer::quint32 &crcArg, SafeRenderer::quint32 &stateArg, bool &transitionArg) const

Gets the verification result at indexArg. idArg is the ID value of an item at index. crcArg is the CRC value of an item at index. stateArg is the state value of the item. transitionArg is the transition status. True if the item is in transition and false otherwise. Returns true if the get method is successfully queried otherwise returns false.

SafeRenderer::quint32 QSafeEventOutputVerificationStatusReply::getVariantId() const

Returns the variant ID.

SafeRenderer::quint32 QSafeEventOutputVerificationStatusReply::itemCount() const

Returns this count of item's.

[static] SafeRenderer::quint32 QSafeEventOutputVerificationStatusReply::maxAmountOfItems()

Calculates the max amount of items that will fit to the QSafeEvent data buffer. The item size is constant, but the data buffer size can be altered by the user by changing the Constraints::SAFE_EVENT_MESSAGE_LENGTH. So this method will calculate the maximum amount if items that fit in the data buffer during runtime.

Returns amount of items that will fit in the data buffer.

void QSafeEventOutputVerificationStatusReply::setVariantId(const SafeRenderer::quint32 idArg)

Sets the variant idArg.

Available under certain Qt licenses.
Find out more.