The isFull method determines whether the message queue is full.
RiCBoolean RiCOSMessageQueue_isFull(
RiCOSMessageQueue * const me);
me
The RiCOSMessageQueue to check
The method returns one of the following values:
RiCBoolean RiCOSMessageQueue_isFull(
RiCOSMessageQueue * const me)
{
MSG_Q_INFO msgQInfo;
if (RiCOSMessageQueue_isEmpty(me)) return FALSE;
if (OK != msgQInfoGet(me->hVxMQ, &msgQInfo))
return TRUE; /* Assume the worst case. */
if (msgQInfo.numMsgs < msgQInfo.maxMsgs) return FALSE;
return TRUE;
}