Message Queue Class.
More...
#include <MsgQueBlock.h>
|
typedef uint16_t | SpinLockId |
|
|
err_t | recv (uint32_t ms, FAR MsgPacket **packet) |
|
err_t | pop () |
|
MsgCpuId | getOwner () const |
|
bool | isShare () const |
|
uint16_t | getNumMsg (MsgPri pri) const |
|
uint16_t | getRest (MsgPri pri) const |
|
void | reset () |
|
void | dump () const |
|
void | dumpQue (MsgPri pri) const |
|
|
| MsgQueBlock (MsgQueId id, MsgCpuId owner, SpinLockId spinlock) |
|
err_t | setup (drm_t n_drm, uint16_t n_size, uint16_t n_num, drm_t h_drm, uint16_t h_size, uint16_t h_num) |
|
uint16_t | getElemSize (MsgPri pri) const |
|
bool | isOwn () const |
|
template<typename T > |
err_t | send (MsgPri pri, MsgType type, MsgQueId reply, MsgFlags flags, const T ¶m) |
|
template<typename T > |
err_t | sendIsr (MsgPri pri, MsgType type, MsgQueId reply, const T ¶m) |
|
void | notifySend (MsgCpuId cpu, MsgQueId dest) |
|
void | notifyRecv () |
|
MsgPacket * | pushHeader (MsgPri pri, const MsgPacketHeader &header) |
|
void | lock () |
|
void | unlock () |
|
|
template<typename T > |
static size_t | getSendSize (const T ¶m, bool type_check) |
|
template<> |
size_t | getSendSize (const MsgNullParam &, bool) |
|
template<> |
size_t | getSendSize (const MsgRangedParam ¶m, bool) |
|
The documentation for this class was generated from the following files: