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

Classes

class  Invoke
 
struct  StaticResource
 
class  Sample
 

Functions

void getAvailableAlgorithms (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void configureAlgorithm (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder, bool called_by_event=false)
 
void initDefaultAlgorithm (Encoder &encoder)
 
void getAlgorithmInfo (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void get_device_id (const std::string &cmd, Transport &transport, Encoder &encoder)
 
void get_device_name (const std::string &cmd, Transport &transport, Encoder &encoder)
 
void get_device_status (const std::string &cmd, Transport &transport, Encoder &encoder)
 
void get_version (const std::string &cmd, Transport &transport, Encoder &encoder, const std::string &version)
 
void break_task (const std::string &cmd, Transport &transport, Encoder &encoder)
 
void task_status (const std::string &cmd, bool sta, Transport &transport, Encoder &encoder)
 
void setScoreThreshold (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void setNMSThreshold (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getScoreThreshold (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getNMSThreshold (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void storeInfo (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void readInfo (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getAvailableModels (const std::vector< std::string > &args, Transport &transport, Encoder &encoder)
 
void configureModel (const std::vector< std::string > &args, Transport &transport, Encoder &encoder, bool called_by_event=false)
 
void initDefaultModel (Encoder &encoder)
 
void getModelInfo (const std::vector< std::string > &args, Transport &transport, Encoder &encoder)
 
void getMqttPubsub (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void configureMqttPubsub (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getMqttSta (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void configureMqttServer (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getMqttConfig (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void configureMqttCA (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getMqttCA (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getAvailableSensors (const std::vector< std::string > &args, Transport &transport, Encoder &encoder)
 
void configureSensor (const std::vector< std::string > &args, Transport &transport, Encoder &encoder, bool called_by_event=false)
 
void initDefaultSensor (Encoder &encoder)
 
void getSensorStatus (const std::vector< std::string > &args, Transport &transport, Encoder &encoder)
 
void configureTrigger (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder, bool called_by_event=false)
 
void getTrigger (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void initDefaultTrigger (Encoder &encoder)
 
void configureWifi (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 
void getWifiInfo (const std::vector< std::string > &argv, Transport &transport, Encoder &encoder)
 

Function Documentation

◆ break_task()

void ma::server::callback::break_task ( const std::string &  cmd,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ configureAlgorithm()

void ma::server::callback::configureAlgorithm ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder,
bool  called_by_event = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureModel()

void ma::server::callback::configureModel ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder,
bool  called_by_event = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureMqttCA()

void ma::server::callback::configureMqttCA ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ configureMqttPubsub()

void ma::server::callback::configureMqttPubsub ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)

◆ configureMqttServer()

void ma::server::callback::configureMqttServer ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)

◆ configureSensor()

void ma::server::callback::configureSensor ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder,
bool  called_by_event = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureTrigger()

void ma::server::callback::configureTrigger ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder,
bool  called_by_event = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureWifi()

void ma::server::callback::configureWifi ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ get_device_id()

void ma::server::callback::get_device_id ( const std::string &  cmd,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_device_name()

void ma::server::callback::get_device_name ( const std::string &  cmd,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_device_status()

void ma::server::callback::get_device_status ( const std::string &  cmd,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_version()

void ma::server::callback::get_version ( const std::string &  cmd,
Transport transport,
Encoder encoder,
const std::string &  version 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAlgorithmInfo()

void ma::server::callback::getAlgorithmInfo ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getAvailableAlgorithms()

void ma::server::callback::getAvailableAlgorithms ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)

◆ getAvailableModels()

void ma::server::callback::getAvailableModels ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getAvailableSensors()

void ma::server::callback::getAvailableSensors ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getModelInfo()

void ma::server::callback::getModelInfo ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getMqttCA()

void ma::server::callback::getMqttCA ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getMqttConfig()

void ma::server::callback::getMqttConfig ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)

◆ getMqttPubsub()

void ma::server::callback::getMqttPubsub ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)

◆ getMqttSta()

void ma::server::callback::getMqttSta ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getNMSThreshold()

void ma::server::callback::getNMSThreshold ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getScoreThreshold()

void ma::server::callback::getScoreThreshold ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getSensorStatus()

void ma::server::callback::getSensorStatus ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getTrigger()

void ma::server::callback::getTrigger ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ getWifiInfo()

void ma::server::callback::getWifiInfo ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ initDefaultAlgorithm()

void ma::server::callback::initDefaultAlgorithm ( Encoder encoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initDefaultModel()

void ma::server::callback::initDefaultModel ( Encoder encoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initDefaultSensor()

void ma::server::callback::initDefaultSensor ( Encoder encoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initDefaultTrigger()

void ma::server::callback::initDefaultTrigger ( Encoder encoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readInfo()

void ma::server::callback::readInfo ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ setNMSThreshold()

void ma::server::callback::setNMSThreshold ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ setScoreThreshold()

void ma::server::callback::setScoreThreshold ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ storeInfo()

void ma::server::callback::storeInfo ( const std::vector< std::string > &  argv,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function:

◆ task_status()

void ma::server::callback::task_status ( const std::string &  cmd,
bool  sta,
Transport transport,
Encoder encoder 
)
Here is the call graph for this function: