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

#include <ma_executor.hpp>

Collaboration diagram for ma::Executor:

Public Member Functions

 Executor (std::size_t stack_size=MA_SEVER_AT_EXECUTOR_STACK_SIZE, std::size_t priority=MA_SEVER_AT_EXECUTOR_TASK_PRIO)
 
 ~Executor ()
 
template<typename Callable >
void submit (Callable &&callable)
 
void cancel ()
 

Protected Member Functions

void run ()
 

Static Protected Member Functions

static void c_run (void *this_pointer)
 

Constructor & Destructor Documentation

◆ Executor()

ma::Executor::Executor ( std::size_t  stack_size = MA_SEVER_AT_EXECUTOR_STACK_SIZE,
std::size_t  priority = MA_SEVER_AT_EXECUTOR_TASK_PRIO 
)
inline
Here is the call graph for this function:

◆ ~Executor()

ma::Executor::~Executor ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ c_run()

static void ma::Executor::c_run ( void *  this_pointer)
inlinestaticprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cancel()

void ma::Executor::cancel ( )
inline
Here is the caller graph for this function:

◆ run()

void ma::Executor::run ( )
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ submit()

template<typename Callable >
void ma::Executor::submit ( Callable &&  callable)
inline