52class MsgQue :
protected BasicQueue<drm_t, uint16_t, uint16_t, MSG_FILL_VALUE_AFTER_POP> {
53 typedef BasicQueue<drm_t, uint16_t, uint16_t, MSG_FILL_VALUE_AFTER_POP> Base;
57 MsgQue(drm_t data_area, uint16_t elem, uint16_t num) :
58 Base(data_area, elem, num) {}
64 using Base::elem_size;
79 return (push(header) ==
true) ? backMsg() : NULL;
82 MsgPacket* frontMsg() {
return &front<MsgPacket>(); }
83 MsgPacket* backMsg() {
return &back<MsgPacket>(); }