SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma::MessageBox Class Reference

#include <ma_osal.h>

Collaboration diagram for ma::MessageBox:

Public Member Functions

 MessageBox (size_t size=1) noexcept
 
 ~MessageBox () noexcept
 
 operator bool () const
 
bool fetch (void **msg, ma_tick_t timeout=Tick::waitForever)
 
bool post (void *msg, ma_tick_t timeout=Tick::waitForever)
 

Constructor & Destructor Documentation

◆ MessageBox()

ma::MessageBox::MessageBox ( size_t  size = 1)
explicitnoexcept

◆ ~MessageBox()

ma::MessageBox::~MessageBox ( )
noexcept

Member Function Documentation

◆ fetch()

bool ma::MessageBox::fetch ( void **  msg,
ma_tick_t  timeout = Tick::waitForever 
)

◆ operator bool()

ma::MessageBox::operator bool ( ) const

◆ post()

bool ma::MessageBox::post ( void *  msg,
ma_tick_t  timeout = Tick::waitForever 
)