QP/C  7.2.2
Real-Time Embedded Framework
Loading...
Searching...
No Matches
qf_actq.c File Reference

QActive native queue operations (based on QEQueue) More...

#include "qf_port.h"
#include "qf_pkg.h"
#include "qassert.h"
#include "qs_port.h"
#include "qs_pkg.h"

Go to the source code of this file.

Macros

#define QTICKER_CAST_(me_)   ((QActive *)(me_))
 

Detailed Description

Note
This qf_actq.c source file needs to be included in the application build only when the native QEQueue queue is used for QActive objects (instead of a message queue of an RTOS).

Definition in file qf_actq.c.

Macro Definition Documentation

◆ QTICKER_CAST_

#define QTICKER_CAST_ (   me_)    ((QActive *)(me_))

Perform downcast to QTicker pointer.

This macro encapsulates the downcast to (QTicker *), which is used in QTicker_init_() and QTicker_dispatch_(). Such casts violate MISRA-C 2012 Rule 11.3(req) "cast from pointer to object type to pointer to different object type".

Definition at line 339 of file qf_actq.c.