Minsky
|
#include <saver.h>
Public Member Functions | |
BackgroundSaver (const std::string &fileName) | |
~BackgroundSaver () | |
void | save (const schema3::Minsky &) |
void | killThread () |
![]() | |
Saver (const std::string &fileName) | |
void | save (const schema3::Minsky &) |
Public Attributes | |
std::thread | thread |
std::string | lastError |
![]() | |
std::string | fileName |
std::ofstream | os |
classdesc::xml_pack_t | packer |
|
inline |
|
inline |
Definition at line 50 of file saver.h.
References killThread().
void minsky::BackgroundSaver::killThread | ( | ) |
Definition at line 59 of file saver.cc.
References minsky::Saver::packer, and thread.
Referenced by save(), and ~BackgroundSaver().
void minsky::BackgroundSaver::save | ( | const schema3::Minsky & | m | ) |
Definition at line 68 of file saver.cc.
References killThread(), lastError, minsky::Saver::save(), and thread.
std::string minsky::BackgroundSaver::lastError |
std::thread minsky::BackgroundSaver::thread |
Definition at line 47 of file saver.h.
Referenced by killThread(), and save().