Developer World
Spresense SDK Library v3.2.0-ebc0364
MsgPacket Class Reference
Inheritance diagram for MsgPacket:
Collaboration diagram for MsgPacket:

Public Member Functions

template<typename T >
moveParam ()
 
template<typename T >
const T & peekParam () const
 
template<typename T >
const T & peekParamOther () const
 
template<typename T >
void popParam ()
 
void dump () const
 
- Public Member Functions inherited from MsgPacketHeader
 MsgPacketHeader (MsgType type, MsgQueId reply, MsgFlags flags, uint16_t size=0)
 
MsgType getType () const
 
MsgQueId getReply () const
 
MsgCpuId getSrcCpu () const
 
MsgFlags getFlags () const
 
uint16_t getParamSize () const
 
void popParamNoDestruct ()
 

Protected Member Functions

 MsgPacket (MsgType type, MsgQueId reply, MsgFlags flags)
 
void setParam (const MsgNullParam &, bool)
 
template<typename T >
void setParam (const T &param, bool type_check)
 
void setParam (const MsgRangedParam &param, bool)
 
bool isTypeCheckEnable () const
 
template<typename T >
const T & peekParamAny () const
 
uint32_t peekParamHead () const
 
- Protected Member Functions inherited from MsgPacketHeader
bool isSelfCpu () const
 
bool isTypedParam () const
 

Protected Attributes

uint8_t m_param [0]
 
- Protected Attributes inherited from MsgPacketHeader
MsgType m_type
 
MsgQueId m_reply
 
MsgCpuId m_src_cpu
 
MsgFlags m_flags
 
uint16_t m_param_size
 

Friends

class MsgLib
 
class MsgQueBlock
 
class MsgLog
 

Additional Inherited Members

- Static Public Attributes inherited from MsgPacketHeader
static const MsgFlags MsgFlagNull = 0x00
 
static const MsgFlags MsgFlagWaitParam = 0x80
 
static const MsgFlags MsgFlagTypedParam = 0x40
 

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