QP/C  7.4.0-rc.2
Real-Time Embedded Framework
Loading...
Searching...
No Matches
QActiveDummy Class Reference

Dummy Active Object for testing. More...

#include "qs.h"

Inheritance diagram for QActiveDummy:
QActive QAsm

Public Member Functions

void QActiveDummy_ctor (QActiveDummy *const me)
 
- Public Member Functions inherited from QActive
void QActive_setAttr (QActive *const me, uint32_t attr1, void const *attr2)
 

Public Attributes

QActive super
 
- Public Attributes inherited from QActive
QAsm super
 

Private Member Functions

void QActiveDummy_init_ (QAsm *const me, void const *const par, uint_fast8_t const qsId)
 
void QActiveDummy_dispatch_ (QAsm *const me, QEvt const *const e, uint_fast8_t const qsId)
 
bool QActiveDummy_fakePost_ (QActive *const me, QEvt const *const e, uint_fast16_t const margin, void const *const sender)
 
void QActiveDummy_fakePostLIFO_ (QActive *const me, QEvt const *const e)
 

Additional Inherited Members

- Static Public Member Functions inherited from QActive
void QActive_psInit (QSubscrList *const subscrSto, enum_t const maxSignal)
 
- Protected Member Functions inherited from QActive
void QActive_ctor (QActive *const me, QStateHandler const initial)
 
void QActive_stop (QActive *const me)
 
void QActive_subscribe (QActive const *const me, enum_t const sig)
 
void QActive_unsubscribe (QActive const *const me, enum_t const sig)
 
void QActive_unsubscribeAll (QActive const *const me)
 
bool QActive_defer (QActive const *const me, struct QEQueue *const eq, QEvt const *const e)
 
bool QActive_recall (QActive *const me, struct QEQueue *const eq)
 
uint_fast16_t QActive_flushDeferred (QActive const *const me, struct QEQueue *const eq, uint_fast16_t const num)
 
- Protected Member Functions inherited from QAsm
void QAsm_ctor (QAsm *const me)
 
QState QHsm_top (QHsm const *const me, QEvt const *const e)
 
- Protected Attributes inherited from QActive
uint8_t prio
 
uint8_t pthre
 
QACTIVE_THREAD_TYPE thread
 
QACTIVE_OS_OBJ_TYPE osObject
 
QACTIVE_EQUEUE_TYPE eQueue
 
uint8_t prio_dis
 
uint8_t pthre_dis
 
- Protected Attributes inherited from QAsm
struct QAsmVtable const * vptr
 
union QAsmAttr state
 
union QAsmAttr temp
 

Detailed Description

Dummy Active Object for testing.

Description
QActiveDummy is a test double for the role of collaborating active objects in QUTest unit testing.

Definition at line 807 of file qs.h.

Member Function Documentation

◆ QActiveDummy_ctor()

void QActiveDummy_ctor ( QActiveDummy *const me)

Definition at line 423 of file qutest.c.

◆ QActiveDummy_init_()

void QActiveDummy_init_ ( QAsm *const me,
void const *const par,
uint_fast8_t const qsId )
private

Definition at line 440 of file qutest.c.

◆ QActiveDummy_dispatch_()

void QActiveDummy_dispatch_ ( QAsm *const me,
QEvt const *const e,
uint_fast8_t const qsId )
private

Definition at line 452 of file qutest.c.

◆ QActiveDummy_fakePost_()

bool QActiveDummy_fakePost_ ( QActive *const me,
QEvt const *const e,
uint_fast16_t const margin,
void const *const sender )
private

Definition at line 464 of file qutest.c.

◆ QActiveDummy_fakePostLIFO_()

void QActiveDummy_fakePostLIFO_ ( QActive *const me,
QEvt const *const e )
private

Definition at line 523 of file qutest.c.

Member Data Documentation

◆ super

QActive QActiveDummy::super

Definition at line 809 of file qs.h.


The documentation for this class was generated from the following files: