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

#include <ma_server_at.h>

Collaboration diagram for ma::ATServer:

Public Member Functions

 ATServer (Encoder &codec)
 
 ATServer (Encoder *codec)
 
 ~ATServer ()=default
 
ma_err_t init ()
 
ma_err_t start ()
 
ma_err_t stop ()
 
ma_err_t addService (const std::string &name, const std::string &desc, const std::string &args, ATServiceCallback cb)
 
ma_err_t addService (ATService &service)
 
ma_err_t removeService (const std::string &name)
 
ma_err_t execute (std::string line, Transport &transport)
 
ma_err_t execute (std::string line, Transport *transport)
 

Protected Member Functions

void threadEntry ()
 

Constructor & Destructor Documentation

◆ ATServer() [1/2]

ma::ATServer::ATServer ( Encoder codec)

◆ ATServer() [2/2]

ma::ATServer::ATServer ( Encoder codec)

◆ ~ATServer()

ma::ATServer::~ATServer ( )
default

Member Function Documentation

◆ addService() [1/2]

ma_err_t ma::ATServer::addService ( ATService service)

◆ addService() [2/2]

ma_err_t ma::ATServer::addService ( const std::string &  name,
const std::string &  desc,
const std::string &  args,
ATServiceCallback  cb 
)
Here is the caller graph for this function:

◆ execute() [1/2]

ma_err_t ma::ATServer::execute ( std::string  line,
Transport transport 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute() [2/2]

ma_err_t ma::ATServer::execute ( std::string  line,
Transport transport 
)
Here is the call graph for this function:

◆ init()

ma_err_t ma::ATServer::init ( )
Here is the call graph for this function:

◆ removeService()

ma_err_t ma::ATServer::removeService ( const std::string &  name)

◆ start()

ma_err_t ma::ATServer::start ( )
Here is the call graph for this function:

◆ stop()

ma_err_t ma::ATServer::stop ( )

◆ threadEntry()

void ma::ATServer::threadEntry ( )
protected
Here is the call graph for this function: