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

#include <ma_osal.h>

Collaboration diagram for ma::Event:

Public Member Functions

 Event () noexcept
 
 ~Event () noexcept
 
 operator bool () const
 
bool wait (uint32_t mask, uint32_t *value, ma_tick_t timeout=Tick::waitForever, bool clear=true, bool waitAll=false)
 
void clear (uint32_t value=0xffffffffu)
 
void set (uint32_t value)
 
uint32_t get () const
 

Constructor & Destructor Documentation

◆ Event()

ma::Event::Event ( )
noexcept

◆ ~Event()

ma::Event::~Event ( )
noexcept

Member Function Documentation

◆ clear()

void ma::Event::clear ( uint32_t  value = 0xffffffffu)

◆ get()

uint32_t ma::Event::get ( ) const

◆ operator bool()

ma::Event::operator bool ( ) const

◆ set()

void ma::Event::set ( uint32_t  value)

◆ wait()

bool ma::Event::wait ( uint32_t  mask,
uint32_t *  value,
ma_tick_t  timeout = Tick::waitForever,
bool  clear = true,
bool  waitAll = false 
)