plugin  0.1.0
All Classes Files Functions Variables Enumerations Macros Pages
Public Member Functions | Public Attributes | List of all members
HPEQuick Class Reference
Inheritance diagram for HPEQuick:
Inheritance graph
[legend]
Collaboration diagram for HPEQuick:
Collaboration graph
[legend]

Public Member Functions

void set_params (void *params) override
 
string kind () override
 
return_type get_output (json *out, std::vector< unsigned char > *blob=nullptr) override
 
void save_last_frame (string filename)
 
map< string, string > info () override
 
- Public Member Functions inherited from Source< json >
std::string error ()
 
std::string blob_format ()
 

Public Attributes

uint32_t tsize = 0
 
double threshold = 0.1
 
string layout = ""
 
string d = "CPU"
 
uint32_t nireq = 0
 
string nstreams = ""
 
uint32_t nthreads = 0
 
bool no_show = false
 
string out_res = "800x600"
 
uint32_t frames_processed = 0
 
int64_t frame_num = 0
 
double fps = 25
 
unique_ptr< ResultBaseresult
 
- Public Attributes inherited from Source< json >
bool dummy
 

Additional Inherited Members

- Static Public Member Functions inherited from Source< json >
static const std::string server_name ()
 
- Static Public Attributes inherited from Source< json >
static const int version
 
- Protected Attributes inherited from Source< json >
std::string _blob_format
 
std::string _error
 

Member Function Documentation

◆ get_output()

return_type HPEQuick::get_output ( json *  out,
std::vector< unsigned char > *  blob = nullptr 
)
inlineoverridevirtual

Get the output data

This method provides the output data. It returns true if the data was fetched successfully, and false otherwise.

Parameters
outThe output data
Returns
True if the data was processed successfully, and false otherwise

Implements Source< json >.

◆ info()

map<string, string> HPEQuick::info ( )
inlineoverridevirtual

Returns the filter information

This method returns the filter information. It returns a map with keys and values describing the filter.

Returns
The filter information

Implements Source< json >.

◆ kind()

string HPEQuick::kind ( )
inlineoverridevirtual

Returns the kind of source

This method returns the kind of source. It is used to identify the source when loading it from a plugin.

Returns
The kind of source

Implements Source< json >.

◆ set_params()

void HPEQuick::set_params ( void *  params)
inlineoverridevirtual

Sets the parameters

This method sets the parameters for the source. It receives a void pointer to the parameters. The child class must cast the pointer to the correct type.

Parameters
paramsThe parameters (typically a pointer to a struct)

Reimplemented from Source< json >.


The documentation for this class was generated from the following file: