QP/C++ 6.9.3
qv.hpp File Reference

QV/C++ platform-independent public interface. More...

#include "qequeue.hpp"
#include "qmpool.hpp"
#include "qpset.hpp"
Include dependency graph for qv.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  QV
 QV services. More...
 

Namespaces

 QP
 namespace associated with the QP/C++ framework
 

Macros

#define QF_EQUEUE_TYPE   QEQueue
 
#define QF_SCHED_STAT_
 
#define QF_SCHED_LOCK_(dummy)   (static_cast<void>(0))
 
#define QF_SCHED_UNLOCK_()   (static_cast<void>(0))
 
#define QACTIVE_EQUEUE_WAIT_(me_)    Q_ASSERT_ID(110, (me_)->m_eQueue.m_frontEvt != nullptr)
 
#define QACTIVE_EQUEUE_SIGNAL_(me_)    (QV_readySet_.insert(static_cast<std::uint_fast8_t>((me_)->m_prio)))
 
#define QF_EPOOL_TYPE_   QMPool
 
#define QF_EPOOL_INIT_(p_, poolSto_, poolSize_, evtSize_)    (p_).init((poolSto_), (poolSize_), (evtSize_))
 
#define QF_EPOOL_EVENT_SIZE_(p_)   ((p_).getBlockSize())
 
#define QF_EPOOL_GET_(p_, e_, m_, qs_id_)    ((e_) = static_cast<QEvt *>((p_).get((m_), (qs_id_))))
 
#define QF_EPOOL_PUT_(p_, e_, qs_id_)   ((p_).put((e_), (qs_id_)))
 

Variables

QP::QPSet QV_readySet_
 ready set of AOs More...
 

Detailed Description

QV/C++ platform-independent public interface.

Definition in file qv.hpp.

Macro Definition Documentation

◆ QF_EQUEUE_TYPE

#define QF_EQUEUE_TYPE   QEQueue

Definition at line 50 of file qv.hpp.

◆ QF_SCHED_STAT_

#define QF_SCHED_STAT_

Definition at line 94 of file qv.hpp.

◆ QF_SCHED_LOCK_

#define QF_SCHED_LOCK_ (   dummy)    (static_cast<void>(0))

Definition at line 95 of file qv.hpp.

◆ QF_SCHED_UNLOCK_

#define QF_SCHED_UNLOCK_ ( )    (static_cast<void>(0))

Definition at line 96 of file qv.hpp.

◆ QACTIVE_EQUEUE_WAIT_

#define QACTIVE_EQUEUE_WAIT_ (   me_)     Q_ASSERT_ID(110, (me_)->m_eQueue.m_frontEvt != nullptr)

Definition at line 99 of file qv.hpp.

◆ QACTIVE_EQUEUE_SIGNAL_

#define QACTIVE_EQUEUE_SIGNAL_ (   me_)     (QV_readySet_.insert(static_cast<std::uint_fast8_t>((me_)->m_prio)))

Definition at line 101 of file qv.hpp.

◆ QF_EPOOL_TYPE_

#define QF_EPOOL_TYPE_   QMPool

Definition at line 105 of file qv.hpp.

◆ QF_EPOOL_INIT_

#define QF_EPOOL_INIT_ (   p_,
  poolSto_,
  poolSize_,
  evtSize_ 
)     (p_).init((poolSto_), (poolSize_), (evtSize_))

Definition at line 106 of file qv.hpp.

◆ QF_EPOOL_EVENT_SIZE_

#define QF_EPOOL_EVENT_SIZE_ (   p_)    ((p_).getBlockSize())

Definition at line 108 of file qv.hpp.

◆ QF_EPOOL_GET_

#define QF_EPOOL_GET_ (   p_,
  e_,
  m_,
  qs_id_ 
)     ((e_) = static_cast<QEvt *>((p_).get((m_), (qs_id_))))

Definition at line 109 of file qv.hpp.

◆ QF_EPOOL_PUT_

#define QF_EPOOL_PUT_ (   p_,
  e_,
  qs_id_ 
)    ((p_).put((e_), (qs_id_)))

Definition at line 111 of file qv.hpp.

Variable Documentation

◆ QV_readySet_

QP::QPSet QV_readySet_
extern

ready set of AOs