QP/C++  7.0.1
Real-Time Embedded Framework
qv.hpp File Reference

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

#include "qequeue.hpp"
#include "qmpool.hpp"
#include "qpset.hpp"

Go to the source code of this file.

Data Structures

class  QV
 QV services. More...
 

Namespaces

namespace  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_).m_blockSize)
 
#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

Date
Last updated on: 2021-12-23
Version
Last updated for: Version 7.0.0, 2022-04-30

Definition in file qv.hpp.

Macro Definition Documentation

◆ QF_EQUEUE_TYPE

#define QF_EQUEUE_TYPE   QEQueue

Definition at line 42 of file qv.hpp.

◆ QF_SCHED_STAT_

#define QF_SCHED_STAT_

Definition at line 86 of file qv.hpp.

◆ QF_SCHED_LOCK_

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

Definition at line 87 of file qv.hpp.

◆ QF_SCHED_UNLOCK_

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

Definition at line 88 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 91 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 93 of file qv.hpp.

◆ QF_EPOOL_TYPE_

#define QF_EPOOL_TYPE_   QMPool

Definition at line 97 of file qv.hpp.

◆ QF_EPOOL_INIT_

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

Definition at line 98 of file qv.hpp.

◆ QF_EPOOL_EVENT_SIZE_

#define QF_EPOOL_EVENT_SIZE_ (   p_)    ((p_).m_blockSize)

Definition at line 100 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 101 of file qv.hpp.

◆ QF_EPOOL_PUT_

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

Definition at line 103 of file qv.hpp.

Variable Documentation

◆ QV_readySet_

QP::QPSet QV_readySet_
extern