![]() |
Agroeye
1.0
|
Namespaces | |
| geometry | |
Typedefs | |
| using | ListCallbackTypes = std::vector< CallbackTypes > |
| using | CallbackFunction = std::function< void(double, ListCallbackTypes, std::string)> |
Enumerations | |
| enum | CallbackTypes { CallbackTypes::PROGRESS, CallbackTypes::INFO, CallbackTypes::DEBUG, CallbackTypes::ERROR } |
| Type of callback that can be called function. More... | |
Functions | |
| void | defaultCallback (double progress, ListCallbackTypes listTypes, std::string message) |
| A default callback. More... | |
| void | silenceCallback (double progress, ListCallbackTypes listTypes, std::string message) |
| Silencing callback. More... | |
| using agroeye::general::CallbackFunction = typedef std::function<void(double, ListCallbackTypes, std::string)> |
Typedef for callback function
| using agroeye::general::ListCallbackTypes = typedef std::vector<CallbackTypes> |
List containg types of callback types when function is called
|
strong |
| void agroeye::general::defaultCallback | ( | double | progress, |
| ListCallbackTypes | listTypes, | ||
| std::string | message | ||
| ) |
A default callback.
When this function is called the list of callback types is checked.
| void agroeye::general::silenceCallback | ( | double | progress, |
| ListCallbackTypes | listTypes, | ||
| std::string | message | ||
| ) |
Silencing callback.
All information passed to this callback are silenced (not displayed or processed in any way)
1.8.12