|
Minsky: 3.17.0
|
#include <saver.h>


Public Member Functions | |
| BackgroundSaver (const std::string &fileName) | |
| ~BackgroundSaver () | |
| void | save (const schema3::Minsky &) |
| void | killThread () |
Public Member Functions inherited from minsky::Saver | |
| Saver (const std::string &fileName) | |
| void | save (const schema3::Minsky &) |
Public Attributes | |
| std::thread | thread |
| std::string | lastError |
Public Attributes inherited from minsky::Saver | |
| 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().