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

#include <ma_osal.h>

Collaboration diagram for ma::Guard:

Public Member Functions

 Guard (const Mutex &mutex) noexcept
 
 ~Guard () noexcept
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ Guard()

ma::Guard::Guard ( const Mutex mutex)
explicitnoexcept

◆ ~Guard()

ma::Guard::~Guard ( )
noexcept

Member Function Documentation

◆ operator bool()

ma::Guard::operator bool ( ) const