1 #ifndef __XBOT_MATLOGGER2_BACKEND_H__ 2 #define __XBOT_MATLOGGER2_BACKEND_H__ 7 namespace XBot {
namespace matlogger2 {
15 typedef std::shared_ptr<Backend>
Ptr;
19 virtual bool init(std::string logger_name,
20 bool enable_compression
23 virtual bool write(
const char * name,
29 virtual bool close() = 0;
std::shared_ptr< Backend > Ptr
virtual bool init(std::string logger_name, bool enable_compression)=0
virtual bool write(const char *name, const double *data, int rows, int cols, int slices)=0
static UniquePtr MakeInstance(std::string type)
std::unique_ptr< Backend > UniquePtr