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

#include <sample.hpp>

Inheritance diagram for ma::server::callback::Sample:
Collaboration diagram for ma::server::callback::Sample:

Public Member Functions

std::shared_ptr< Samplegetptr ()
 
 ~Sample ()
 
void run ()
 

Static Public Member Functions

static std::shared_ptr< Samplecreate (const std::vector< std::string > &args, Transport &transport, Encoder &encoder, size_t task_id)
 

Protected Member Functions

 Sample (const std::vector< std::string > &args, Transport &transport, Encoder &encoder, size_t task_id)
 

Constructor & Destructor Documentation

◆ ~Sample()

ma::server::callback::Sample::~Sample ( )
inline

◆ Sample()

ma::server::callback::Sample::Sample ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder,
size_t  task_id 
)
inlineprotected

Member Function Documentation

◆ create()

static std::shared_ptr<Sample> ma::server::callback::Sample::create ( const std::vector< std::string > &  args,
Transport transport,
Encoder encoder,
size_t  task_id 
)
inlinestatic

◆ getptr()

std::shared_ptr<Sample> ma::server::callback::Sample::getptr ( )
inline

◆ run()

void ma::server::callback::Sample::run ( )
inline