Agroeye  1.0
Namespaces | Typedefs | Enumerations | Functions
Callback.h File Reference
#include <functional>
#include <algorithm>
#include <vector>
#include <string>
#include <iostream>
Include dependency graph for Callback.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 agroeye
 
 agroeye::general
 

Typedefs

using agroeye::general::ListCallbackTypes = std::vector< CallbackTypes >
 
using agroeye::general::CallbackFunction = std::function< void(double, ListCallbackTypes, std::string)>
 

Enumerations

enum  agroeye::general::CallbackTypes { agroeye::general::CallbackTypes::PROGRESS, agroeye::general::CallbackTypes::INFO, agroeye::general::CallbackTypes::DEBUG, agroeye::general::CallbackTypes::ERROR }
 Type of callback that can be called function. More...
 

Functions

void agroeye::general::defaultCallback (double progress, ListCallbackTypes listTypes, std::string message)
 A default callback. More...
 
void agroeye::general::silenceCallback (double progress, ListCallbackTypes listTypes, std::string message)
 Silencing callback. More...