Relacs
0.9.8
|
#include <savefiles.h>
Classes | |
class | ODMLFiles |
class | RelacsFiles |
Public Member Functions | |
SaveFiles (RELACSWidget *rw, int height, QWidget *parent=0) | |
~SaveFiles (void) | |
bool | saving (void) const |
bool | filesOpen (void) const |
void | holdOn (void) |
void | holdOff (void) |
string | path (void) const |
void | setPath (const string &path) |
string | addPath (const string &file) const |
void | storeFile (const string &file) const |
string | pathTemplate (void) const |
void | setPathTemplate (const string &path) |
string | defaultPath (void) const |
void | setDefaultPath (const string &defaultpath) |
string | addDefaultPath (const string &file) const |
void | setWriteRelacsFiles (bool write) |
void | setWriteODMLFiles (bool write) |
void | setWriteNIXFiles (bool write) |
virtual void | notify (void) |
void | lock (void) const |
void | unlock (void) const |
QMutex * | mutex (void) |
void | setTracesEvents (const InList &il, const EventList &el) |
void | save (bool on) |
void | saveTraces (void) |
void | save (const OutData &signal) |
void | save (const OutList &signal) |
void | save (const RePro &rp) |
bool | signalPending (void) const |
void | clearSignal (void) |
void | openFiles (void) |
void | deleteFiles (void) |
void | completeFiles (void) |
DataIndex * | dataIndex (void) |
Public Member Functions inherited from Options | |
Options (void) | |
Options (const Options &o) | |
Options (const Options &o, int flags) | |
Options (const string &name, const string &type, int flags, int style) | |
Options (const Str &opttxt, const string &assignment=":=", const string &separator=",;") | |
Options (const StrQueue &sq, const string &assignment=":=") | |
Options (istream &str, const string &assignment=":=", const string &comment="#", const string &stop="", string *line=0) | |
virtual | ~Options (void) |
Options & | operator= (const Options &o) |
Options & | assign (const Options &o) |
Options & | append (const Options &o) |
Options & | add (const Options &o) |
Options & | insert (const Options &o, const string &atname="") |
Options & | assign (const Options &o, int flags) |
Options & | copy (Options &o, int flags) |
Options & | append (const Options &o, int flags) |
Options & | add (const Options &o, int flags) |
Options & | insert (const Options &o, int flags, const string &atname="") |
Parameter * | assign (const string &name, const string &value) |
Options * | parentSection (void) |
const Options * | parentSection (void) const |
void | setParentSection (Options *parentsection) |
void | resetParents (void) |
Options * | rootSection (void) |
const Options * | rootSection (void) const |
string | name (void) const |
virtual void | setName (const string &name) |
virtual void | setName (const string &name, const string &type) |
string | type (void) const |
void | setType (const string &type) |
string | include (void) const |
void | setInclude (const string &include) |
void | setInclude (const string &url, const string &name) |
int | flag (void) const |
bool | flag (int selectflag) const |
Options & | setFlag (int flag) |
Options & | addFlag (int flag) |
Options & | delFlag (int flag) |
Options & | clearFlag (void) |
int | style (void) const |
Options & | setStyle (int style) |
Options & | addStyle (int style) |
Options & | delStyle (int style) |
Options & | clearStyle (void) |
bool | checkType (int mask) const |
Str | warning (void) const |
iterator | begin (void) |
iterator | end (void) |
const_iterator | begin (void) const |
const_iterator | end (void) const |
section_iterator | sectionsBegin (void) |
section_iterator | sectionsEnd (void) |
const_section_iterator | sectionsBegin (void) const |
const_section_iterator | sectionsEnd (void) const |
const_iterator | find (const string &pattern, int level=-1) const |
iterator | find (const string &pattern, int level=-1) |
const_iterator | rfind (const string &pattern, int level=-1) const |
iterator | rfind (const string &pattern, int level=-1) |
const_section_iterator | findSection (const string &pattern, int level=-1) const |
section_iterator | findSection (const string &pattern, int level=-1) |
const_section_iterator | rfindSection (const string &pattern, int level=-1) const |
section_iterator | rfindSection (const string &pattern, int level=-1) |
const Parameter & | operator[] (int i) const |
Parameter & | operator[] (int i) |
const Parameter & | operator[] (const string &name) const |
Parameter & | operator[] (const string &name) |
const Options & | section (int i) const |
Options & | section (int i) |
const Options & | section (const string &name) const |
Options & | section (const string &name) |
Str | request (const string &name) const |
Parameter & | setRequest (const string &name, const string &request) |
Parameter::ValueType | valueType (const string &name) const |
Parameter & | setValueType (const string &name, Parameter::ValueType type) |
int | flags (const string &name) const |
bool | flags (const string &name, int flag) const |
Parameter & | setFlags (const string &name, int flags) |
Parameter & | addFlags (const string &name, int flags) |
Parameter & | delFlags (const string &name, int flags) |
Parameter & | clearFlags (const string &name) |
bool | changed (const string &name) |
int | style (const string &name) const |
Parameter & | setStyle (const string &name, int style) |
Parameter & | addStyle (const string &name, int style) |
Parameter & | delStyle (const string &name, int style) |
Str | format (const string &name) const |
Parameter & | setFormat (const string &name, int width=0, int prec=-1, char fmt='g') |
Parameter & | setFormat (const string &name, const string &format) |
int | formatWidth (const string &name) const |
int | size (const string &name) const |
Parameter & | add (const Parameter &np) |
Parameter & | insert (const Parameter &np, const string &atname="") |
Parameter & | addText (const string &name, const string &request, const string &dflt, int flags=0, int style=0) |
Parameter & | addText (const string &name, const string &dflt="", int flags=0, int style=0) |
Parameter & | insertText (const string &name, const string &atname, const string &request, const string &dflt, int flags=0, int style=0) |
Parameter & | insertText (const string &name, const string &atname="", const string &dflt="", int flags=0, int style=0) |
Str | text (const string &name, int index, const string &dflt="", const string &format="", const string &unit="") const |
Str | text (const string &name, const string &dflt="", const string &format="", const string &unit="") const |
void | texts (const string &name, vector< string > &s, const string &format="", const string &unit="") const |
Str | allText (const string &name, const string &dflt="", const string &format="", const string &unit="", const string &separator=", ") const |
Parameter & | setText (const string &name, const string &strg) |
Parameter & | setText (const string &name, const Parameter &p) |
Parameter & | pushText (const string &name, const string &strg) |
Str | defaultText (const string &name, const string &format="", const string &unit="") const |
Parameter & | setDefaultText (const string &name, const string &dflt) |
Parameter & | addSelection (const string &name, const string &request, const string &selection, int flags=0, int style=0) |
Parameter & | addSelection (const string &name, const string &selection="", int flags=0, int style=0) |
Parameter & | insertSelection (const string &name, const string &atname, const string &request, const string &selection, int flags=0, int style=0) |
Parameter & | insertSelection (const string &name, const string &atname="", const string &selection="", int flags=0, int style=0) |
Parameter & | selectText (const string &name, const string &strg, int add=0) |
Parameter & | selectText (const string &name, int index) |
int | index (const string &name) const |
int | index (const string &name, const string &strg) const |
Parameter & | addNumber (const string &name, const string &request, double dflt, double minimum, double maximum=MAXDOUBLE, double step=1.0, const string &unit="", const string &outputunit="", const string &format="", int flags=0, int style=0) |
Parameter & | addNumber (const string &name, const string &request, double dflt, const string &unit="", const string &format="", int flags=0, int style=0) |
Parameter & | addNumber (const string &name, double dflt, const string &unit="", const string &format="", int flags=0, int style=0) |
Parameter & | addNumber (const string &name, double dflt, const string &unit, int flags, int style=0) |
Parameter & | addNumber (const string &name, double dflt, double error, const string &unit="", const string &format="", int flags=0, int style=0) |
Parameter & | addNumber (const string &name, const string &unit="", const string &format="", int flags=0, int style=0) |
Parameter & | insertNumber (const string &name, const string &atname, const string &request, double dflt, double minimum, double maximum=MAXDOUBLE, double step=1.0, const string &unit="", const string &outputunit="", const string &format="", int flags=0, int style=0) |
Parameter & | insertNumber (const string &name, const string &atname, const string &request, double dflt, const string &unit="", const string &format="", int flags=0, int style=0) |
Parameter & | insertNumber (const string &name, const string &atname, double dflt, const string &unit="", const string &format="", int flags=0, int style=0) |
Parameter & | insertNumber (const string &name, const string &atname, const string &unit="", const string &format="", int flags=0, int style=0) |
double | number (const string &name, double dflt=0.0, const string &unit="", int index=0) const |
double | number (const string &name, const string &unit, double dflt=0.0, int index=0) const |
double | number (const string &name, int index, double dflt=0.0, const string &unit="") const |
double | number (const string &name, int index, const string &unit, double dflt=0.0) const |
void | numbers (const string &name, vector< double > &n, const string &unit="") const |
double | error (const string &name, const string &unit="", int index=0) const |
double | error (const string &name, int index, const string &unit="") const |
void | errors (const string &name, vector< double > &n, const string &unit="") const |
Parameter & | setNumber (const string &name, double number, double error, const string &unit="") |
Parameter & | setNumber (const string &name, double number, const string &unit="") |
Parameter & | pushNumber (const string &name, double number, double error=-1.0, const string &unit="") |
Parameter & | pushNumber (const string &name, double number, const string &unit) |
Parameter & | setNumber (const string &name, const Parameter &p) |
double | defaultNumber (const string &name, const string &unit="") const |
Parameter & | setDefaultNumber (const string &name, double dflt, const string &unit="") |
double | minimum (const string &name, const string &unit="") const |
double | maximum (const string &name, const string &unit="") const |
double | step (const string &name, const string &unit="") const |
Parameter & | setStep (const string &name, double step, const string &unit="") |
Parameter & | setMinMax (const string &name, double minimum=-MAXDOUBLE, double maximum=MAXDOUBLE, double step=1.0, const string &unit="") |
Str | unit (const string &name) const |
Str | outUnit (const string &name) const |
Parameter & | setUnit (const string &name, const string &internunit, const string &outunit="") |
Parameter & | setOutUnit (const string &name, const string &outputunit) |
Parameter & | changeUnit (const string &name, const string &internunit) |
Parameter & | addInteger (const string &name, const string &request, long dflt, long minimum=LONG_MIN, long maximum=LONG_MAX, long step=1, const string &unit="", const string &outputunit="", int width=0, int flags=0, int style=0) |
Parameter & | addInteger (const string &name, long dflt, const string &unit="", int width=0, int flags=0, int style=0) |
Parameter & | addInteger (const string &name, const string &unit="") |
Parameter & | insertInteger (const string &name, const string &atname, const string &request, long dflt, long minimum=LONG_MIN, long maximum=LONG_MAX, long step=1, const string &unit="", const string &outputunit="", int width=0, int flags=0, int style=0) |
Parameter & | insertInteger (const string &name, const string &atname, long dflt, const string &unit="", int width=0, int flags=0, int style=0) |
Parameter & | insertInteger (const string &name, const string &atname, const string &unit="", int width=0, int flags=0, int style=0) |
long | integer (const string &name, const string &unit="", long dflt=0, int index=0) const |
long | integer (const string &name, int index, long dflt=0, const string &unit="") const |
long | integer (const string &name, int index, const string &unit, long dflt=0) const |
void | integers (const string &name, vector< long > &n, const string &unit="") const |
void | integers (const string &name, vector< int > &n, const string &unit="") const |
Parameter & | setInteger (const string &name, long number, long error, const string &unit="") |
Parameter & | setInteger (const string &name, long number, const string &unit="") |
Parameter & | pushInteger (const string &name, long number, long error, const string &unit="") |
Parameter & | pushInteger (const string &name, long number, const string &unit="") |
Parameter & | setInteger (const string &name, const Parameter &p) |
long | defaultInteger (const string &name, const string &unit="") const |
Parameter & | setDefaultInteger (const string &name, long dflt, const string &unit="") |
Parameter & | setMinMax (const string &name, long minimum=LONG_MIN, long maximum=LONG_MAX, long step=1, const string &unit="") |
Parameter & | setMinMax (const string &name, int minimum, int maximum, int step=1, const string &unit="") |
Parameter & | addBoolean (const string &name, const string &request, bool dflt, int flags=0, int style=0) |
Parameter & | addBoolean (const char *name, const char *request, bool dflt, int flags=0, int style=0) |
Parameter & | addBoolean (const string &name, bool dflt, int flags=0, int style=0) |
Parameter & | addBoolean (const char *name, bool dflt, int flags=0, int style=0) |
Parameter & | insertBoolean (const string &name, const string &atname="", const string &request="", bool dflt=false, int flags=0, int style=0) |
Parameter & | insertBoolean (const string &name, const string &atname, int flags=0, int style=0) |
bool | boolean (const string &name, bool dflt=false, int index=0) const |
bool | boolean (const string &name, int index, bool dflt=false) const |
void | booleans (const string &name, vector< bool > &n) const |
Parameter & | setBoolean (const string &name, bool b) |
Parameter & | setBoolean (const string &name, const Parameter &p) |
bool | defaultBoolean (const string &name) const |
Parameter & | setDefaultBoolean (const string &name, bool dflt) |
Parameter & | addDate (const string &name, const string &request, int year=0, int month=0, int day=0, int flags=0, int style=0) |
Parameter & | addDate (const string &name, int year, int month, int day, int flags=0, int style=0) |
Parameter & | addDate (const string &name, int flags=0, int style=0) |
Parameter & | insertDate (const string &name, const string &atname="", const string &request="", int year=0, int month=0, int day=0, int flags=0, int style=0) |
Parameter & | insertDate (const string &name, const string &atname, int year=0, int month=0, int day=0, int flags=0, int style=0) |
Parameter & | insertDate (const string &name, const string &atname, int flags=0, int style=0) |
const Parameter & | date (const string &name, int index, int &year, int &month, int &day) const |
Parameter & | setDate (const string &name, int year, int month, int day) |
Parameter & | setDate (const string &name, const string &date) |
Parameter & | setDate (const string &name, const struct tm &date) |
Parameter & | setDate (const string &name, const time_t &time) |
Parameter & | setCurrentDate (const string &name) |
Parameter & | setDate (const string &name, const Parameter &p) |
const Parameter & | defaultDate (const string &name, int index, int &year, int &month, int &day) const |
Parameter & | setDefaultDate (const string &name, int year, int month, int day) |
Parameter & | addTime (const string &name, const string &request, int hour=0, int minutes=0, int seconds=0, int milliseconds=0, int flags=0, int style=0) |
Parameter & | addTime (const string &name, int hour, int minutes, int seconds, int milliseconds=0, int flags=0, int style=0) |
Parameter & | addTime (const string &name, int flags=0, int style=0) |
Parameter & | insertTime (const string &name, const string &atname="", const string &request="", int hour=0, int minutes=0, int seconds=0, int milliseconds=0, int flags=0, int style=0) |
Parameter & | insertTime (const string &name, const string &atname, int hour=0, int minutes=0, int seconds=0, int milliseconds=0, int flags=0, int style=0) |
Parameter & | insertTime (const string &name, const string &atname, int flags=0, int style=0) |
const Parameter & | time (const string &name, int index, int &hour, int &minutes, int &seconds, int &milliseconds) const |
Parameter & | setTime (const string &name, int hour, int minutes, int seconds, int milliseconds=0) |
Parameter & | setTime (const string &name, const string &time) |
Parameter & | setTime (const string &name, const struct tm &time) |
Parameter & | setTime (const string &name, const time_t &time) |
Parameter & | setCurrentTime (const string &name) |
Parameter & | setTime (const string &name, const Parameter &p) |
const Parameter & | defaultTime (const string &name, int index, int &hour, int &minutes, int &seconds, int &milliseconds) const |
Parameter & | setDefaultTime (const string &name, int hour, int minutes, int seconds, int milliseconds=0) |
Options & | newSection (int level, const string &name, const string &type="", int flag=0, int style=0) |
Options & | newSection (int level, const string &name, int flag, int style=0) |
Options & | newSection (const string &name, const string &type="", int flag=0, int style=0) |
Options & | newSection (const string &name, int flag, int style=0) |
Options & | newSubSection (const string &name, const string &type="", int flag=0, int style=0) |
Options & | newSubSection (const string &name, int flag, int style=0) |
Options & | newSubSubSection (const string &name, const string &type="", int flag=0, int style=0) |
Options & | newSubSubSection (const string &name, int flag, int style=0) |
Options & | addSection (const string &name, const string &type="", int flag=0, int style=0) |
Options & | addSection (const string &name, int flag, int style=0) |
Options & | insertSection (const string &name, const string &atpattern, const string &type="", int flag=0, int style=0) |
Options & | insertSection (const string &name, const string &atpattern, int flag, int style=0) |
Options & | newSection (int level, const Options &opt, int selectmask, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSection (int level, const Options &opt, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSection (int level, const Options &opt, const string &name, int flag, int style=0) |
Options & | newSection (const Options &opt, int selectmask, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSection (const Options &opt, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSection (const Options &opt, const string &name, int flag, int style=0) |
Options & | newSubSection (const Options &opt, int selectmask, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSubSection (const Options &opt, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSubSection (const Options &opt, const string &name, int flag, int style=0) |
Options & | newSubSubSection (const Options &opt, int selectmask, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSubSubSection (const Options &opt, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | newSubSubSection (const Options &opt, const string &name, int flag, int style=0) |
Options & | addSection (const Options &opt, int selectmask, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | addSection (const Options &opt, const string &name="", const string &type="", int flag=0, int style=0) |
Options & | addSection (const Options &opt, const string &name, int flag, int style=0) |
Options & | insertSection (const Options &opt, int selectmask, const string &name, const string &atpattern, const string &type="", int flag=0, int style=0) |
Options & | insertSection (const Options &opt, const string &name, const string &atpattern, const string &type="", int flag=0, int style=0) |
Options & | insertSection (const Options &opt, const string &name, const string &atpattern, int flag, int style=0) |
Options & | newSection (Options *opt, bool newparent=false) |
Options & | addSection (Options *opt, bool newparent=false) |
Options & | insertSection (Options *opt, const string &atpattern, bool newparent=false) |
Options & | newSections (Options *opt, bool newparent=false) |
void | endSection (void) |
void | clearSections (void) |
void | setSection (Options &opt) |
void | lastSection (void) |
int | up (void) |
int | down (void) |
Parameter & | setDefault (const string &name) |
Options & | setDefaults (int flags=0) |
Parameter & | setToDefault (const string &name) |
Options & | setToDefaults (int flags=0) |
Options & | erase (iterator p) |
Options & | erase (section_iterator p) |
Options & | erase (Options *s) |
Options & | erase (const string &pattern) |
Options & | erase (int selectflag) |
Options & | pop (void) |
Options & | popSection (void) |
Options & | flatten (Options *root=0) |
Options & | clear (bool revert=true) |
int | size (void) const |
int | size (int selectflag) const |
bool | empty (void) const |
int | parameterSize (void) const |
int | parameterSize (int flags) const |
int | sectionsSize (void) const |
int | sectionsSize (int flags) const |
bool | exist (const string &pattern) const |
bool | existSection (const string &pattern) const |
Options & | setFlags (int flags, int selectflag=0) |
Options & | addFlags (int flags, int selectflag=0) |
Options & | delFlags (int flags, int selectflag=0) |
Options & | setValueTypeFlags (int flags, int typemask) |
Options & | addValueTypeFlags (int flags, int typemask) |
Options & | delValueTypeFlags (int flags, int typemask) |
Options & | setStyles (int style, int selectflag=0) |
Options & | addStyles (int style, int selectflag=0) |
Options & | delStyles (int style, int selectflag=0) |
int | styleSize (int style) const |
Options & | setValueTypeStyles (int style, int typemask) |
Options & | addValueTypeStyles (int style, int typemask) |
Options & | delValueTypeStyles (int style, int typemask) |
int | nameWidth (int selectmask=0, bool detailed=false, bool escape=false) const |
string | save (int selectmask=0, int flags=0) const |
ostream & | save (ostream &str, const string &start="", int selectmask=0, int flags=0, int width=-1) const |
ostream & | save (ostream &str, const string &textformat, const string &numberformat, const string &boolformat="%i=%b", const string &dateformat="%i=%04Y-%02m-%02d", const string &timeformat="%i=%02H:%02M:%02S", const string §ionformat="%i", int selectmask=0, const string &start="") const |
ostream & | saveXML (ostream &str, int selectmask=0, int flags=0, int level=0, int indent=4) const |
Options & | read (const string &opttxt, int flag, const string &assignment=":=", const string &separator=",;", int *indent=0) |
Options & | read (const string &opttxt, const string &assignment=":=", const string &separator=",;") |
istream & | read (istream &str, int flag, const string &assignment=":=", const string &comment="#", const string &stop="", Str *line=0) |
istream & | read (istream &str, const string &assignment=":=", const string &comment="#", const string &stop="", Str *line=0) |
Options & | read (const StrQueue &sq, int flag=0, const string &assignment=":=") |
bool | read (const Parameter &p, int flag=0) |
Options & | read (const Options &o, int flags=0, int flag=0) |
bool | readAppend (const Parameter &p) |
Options & | readAppend (const Options &o, int flags=0) |
Options & | load (const Str &opttxt, const string &assignment=":=", const string &separator=",;", int *indent=0, int *indentspacing=0, int *level=0) |
istream & | load (istream &str, const string &assignment=":=", const string &comment="#", const string &stop="", string *line=0) |
Options & | load (const StrQueue &sq, const string &assignment=":=") |
void | callNotifies (void) |
bool | setNotify (bool notify=true) |
bool | unsetNotify (void) |
bool | notifying (void) const |
Static Public Attributes | |
static const int | SaveTrace = 0x0010 |
static const int | SaveMeanQuality = 0x0400 |
static const int | TraceFlag = 32768 |
Static Public Attributes inherited from Options | |
static const int | NonDefault = Parameter::NonDefault |
static const long | TabSection = 0x04000000 |
Protected Member Functions | |
void | setThePath (const string &path) |
bool | isSaving (void) const |
void | writeToggle (void) |
void | writeTraces (bool stimulus) |
void | writeEvents (bool stimulus) |
void | writeStimulus (void) |
void | writeRePro (void) |
void | closeFiles (void) |
bool | removeDir (const QString &dirname) |
string | pathName (void) const |
void | addFile (const string &filename) |
ofstream * | openFile (const string &filename, int type) |
void | addRemoveFile (const string &filename) |
void | clearRemoveFiles (void) |
void | removeFiles (void) |
void | createRelacsFiles (void) |
void | createODMLFiles (void) |
void | createNIXFile (void) |
virtual void | customEvent (QEvent *qce) |
Protected Attributes | |
bool | WriteRelacsFiles |
bool | WriteODMLFiles |
bool | WriteNIXFiles |
bool | FilesOpen |
bool | Saving |
bool | Hold |
string | Path |
string | PrevPath |
string | PathTemplate |
string | DefaultPath |
int | PathNumber |
time_t | PathTime |
double | SessionTime |
InList | IL |
EventList | EL |
double | SignalTime |
double | PrevSignalTime |
Options | StimulusData |
deque< OutDataInfo > | Stimuli |
map< string, map< Options, string > > | ReProStimuli |
string | ReProName |
map< string, int > | ReProStimulusCount |
Options | ReProInfo |
deque< string > | ReProFiles |
bool | ReProData |
bool | ToggleOn |
bool | ToggleData |
DataIndex | DI |
deque< string > | RemoveFiles |
RelacsFiles | RelacsIO |
ODMLFiles | OdmlIO |
RELACSWidget * | RW |
QLabel * | FileLabel |
QFont | NormalFont |
QFont | HighlightFont |
QPalette | NormalPalette |
QPalette | HighlightPalette |
SpikeTrace * | SaveLabel |
QHBoxLayout * | StatusInfoLayout |
QMutex | SaveMutex |
QMutex | StimulusDataLock |
Additional Inherited Members | |
Public Types inherited from Options | |
enum | SaveFlags { NoName = 1, NoType = 2, NoInclude = 4, SwitchNameType = 8, Embrace = 16, PrintRequest = 32, FirstOnly = 64, PrintType = 128, PrintStyle = 256, DontCloseSection = 512, AlwaysQuote = 1024, EscapeQuotes = 2048 } |
typedef deque< Parameter > ::iterator | iterator |
typedef deque< Parameter > ::const_iterator | const_iterator |
typedef deque< Options * > ::iterator | section_iterator |
typedef deque< Options * > ::const_iterator | const_section_iterator |
Static Public Member Functions inherited from Options | |
static double | floorLog10 (double v) |
static double | floor10 (double v, double scale=1.0) |
static double | ceil10 (double v, double scale=1.0) |
Save data to files.
is owned by RELACSWidget and used by RELACSPlugin (path() and stimulusData()) Settings (defaultPath()) and MetaData (path() only)
SaveFile sets the following environment variables:
RELACSDEFAULTPATH
: The default base path where RELACS stores data (inbetween sessions).RELACSDATAPATH:
The base path where RELACS is currently storing data.platform independent mkdir in openFiles()!
saveStimulus: adaptive time for calculating the mean rate
check it carefully!
warning on Disk full (or even before!)
File formats:
SaveFiles | ( | RELACSWidget * | rw, |
int | height, | ||
QWidget * | parent = 0 |
||
) |
References Options::clear(), SaveFiles::clearRemoveFiles(), SaveFiles::DefaultPath, SaveFiles::DI, SaveFiles::FileLabel, SaveFiles::FilesOpen, SaveFiles::HighlightFont, SaveFiles::HighlightPalette, SaveFiles::Hold, DataIndex::loadDirectory(), SpikeTrace::minimumSizeHint(), SaveFiles::NormalFont, SaveFiles::NormalPalette, SaveFiles::Path, SaveFiles::PathNumber, SaveFiles::PathTemplate, SaveFiles::PathTime, SaveFiles::PrevPath, SaveFiles::PrevSignalTime, SaveFiles::ReProFiles, SaveFiles::ReProInfo, SaveFiles::ReProName, SaveFiles::ReProStimuli, SaveFiles::ReProStimulusCount, SaveFiles::SaveLabel, SaveFiles::Saving, SaveFiles::setPathTemplate(), SaveFiles::SignalTime, SaveFiles::StatusInfoLayout, SaveFiles::Stimuli, Options::time(), SaveFiles::ToggleData, SaveFiles::ToggleOn, SaveFiles::WriteNIXFiles, SaveFiles::WriteODMLFiles, and SaveFiles::WriteRelacsFiles.
~SaveFiles | ( | void | ) |
bool saving | ( | void | ) | const |
The current status of saving data to files.
true
if files are opened and data are currently written into the files. References SaveFiles::isSaving(), and SaveFiles::SaveMutex.
Referenced by RELACSWidget::directWrite(), RELACSPlugin::saving(), and RELACSWidget::write().
bool filesOpen | ( | void | ) | const |
The current status of having files opened for saving data.
true
if files are open. References SaveFiles::FilesOpen, and SaveFiles::SaveMutex.
Referenced by RELACSWidget::startSession(), and RELACSWidget::stopSession().
void holdOn | ( | void | ) |
Do not update Saving.
References SaveFiles::Hold, and SaveFiles::SaveMutex.
Referenced by RELACSWidget::startRePro().
void holdOff | ( | void | ) |
Allow updating Saving.
References SaveFiles::Hold, and SaveFiles::SaveMutex.
string path | ( | void | ) | const |
References SaveFiles::Path, and SaveFiles::SaveMutex.
Referenced by RELACSPlugin::path(), SaveFiles::setPathTemplate(), SaveFiles::setThePath(), RELACSWidget::startSession(), and MetaData::update().
void setPath | ( | const string & | path | ) |
Set the base path for all data to be stored and the corresponding environment variable RELACSDATAPATH
[in] | path | the base path for storing data. path(), setPathTemplate() |
References SaveFiles::SaveMutex, and SaveFiles::setThePath().
Referenced by RELACSWidget::startFirstAcquisition(), and RELACSWidget::stopSession().
string addPath | ( | const string & | file | ) | const |
Expand file name by the current base path for storing data.
[in] | file | the name of the file |
References SaveFiles::Path, and SaveFiles::SaveMutex.
Referenced by RePro::addPath(), RELACSPlugin::addPath(), MetaData::save(), and RELACSWidget::startSession().
void storeFile | ( | const string & | file | ) | const |
Stores file in the list of files of the currently running RePro.
References SaveFiles::ReProFiles, and SaveFiles::SaveMutex.
Referenced by RePro::addPath().
string pathTemplate | ( | void | ) | const |
References SaveFiles::PathTemplate, and SaveFiles::SaveMutex.
void setPathTemplate | ( | const string & | path | ) |
Set the template for the base path for all data to be stored. Also adjusts the width of the widget accordingly.
[in] | path | the template for the base path. |
References SaveFiles::FileLabel, Str::format(), SaveFiles::HighlightFont, SaveFiles::path(), SaveFiles::PathTemplate, SaveFiles::PathTime, and SaveFiles::SaveMutex.
Referenced by Settings::notify(), and SaveFiles::SaveFiles().
string defaultPath | ( | void | ) | const |
References SaveFiles::DefaultPath, and SaveFiles::SaveMutex.
Referenced by RELACSPlugin::defaultPath(), RELACSWidget::startFirstAcquisition(), and RELACSWidget::stopSession().
void setDefaultPath | ( | const string & | defaultpath | ) |
Set the default base path for all data to be stored and the corresponding environment variable RELACSDEFAULTPATH. If the current path() equals defaultPath() then the current base path is alse set via setPath().
[in] | defaultpath | the base path for storing data. |
References SaveFiles::DefaultPath, SaveFiles::Path, SaveFiles::SaveMutex, and SaveFiles::setThePath().
Referenced by Settings::notify().
string addDefaultPath | ( | const string & | file | ) | const |
Expand file name by the default base path for storing data.
[in] | file | the name of the file |
References SaveFiles::DefaultPath, and SaveFiles::SaveMutex.
Referenced by RELACSPlugin::addDefaultPath().
void setWriteRelacsFiles | ( | bool | write | ) |
Should data be written in RELACS format?
References SaveFiles::WriteRelacsFiles.
Referenced by Settings::notify().
void setWriteODMLFiles | ( | bool | write | ) |
Should metadata be written in ODML format?
References SaveFiles::WriteODMLFiles.
Referenced by Settings::notify().
void setWriteNIXFiles | ( | bool | write | ) |
Should data be written in NIX format?
References SaveFiles::WriteNIXFiles.
Referenced by Settings::notify().
|
virtual |
React to settings of the stimulus options. This function calls notifyStimulusData() in all RELACSPlugins.
Reimplemented from Options.
References RELACSWidget::notifyStimulusData(), and SaveFiles::RW.
void lock | ( | void | ) | const |
Lock the stimulus data.
References SaveFiles::StimulusDataLock.
Referenced by RELACSPlugin::lockStimulusData(), and SaveFiles::openFiles().
void unlock | ( | void | ) | const |
Unlock the stimulus data mutex.
References SaveFiles::StimulusDataLock.
Referenced by SaveFiles::openFiles(), and RELACSPlugin::unlockStimulusData().
QMutex * mutex | ( | void | ) |
The mutex of the stimulus data.
References SaveFiles::StimulusDataLock.
Referenced by RELACSPlugin::stimulusDataMutex().
Copies pointers of each element of il and el to this.
References InList::add(), EventList::add(), InList::clear(), EventList::clear(), SaveFiles::EL, SaveFiles::IL, and SaveFiles::SaveMutex.
Referenced by RELACSWidget::startFirstAcquisition().
void save | ( | bool | on | ) |
Switch writing data to file on or off. Call this only at the very beginning of your RePro::main() code, i.e. before writing any stimulus.
References SaveFiles::FilesOpen, SaveFiles::SaveMutex, SaveFiles::Saving, SaveFiles::ToggleData, and SaveFiles::ToggleOn.
Referenced by RELACSWidget::directWrite(), RePro::setSaving(), RELACSWidget::startRePro(), and RELACSWidget::write().
void saveTraces | ( | void | ) |
Save data traces and events to files
References EventList::back(), SaveFiles::EL, EventList::empty(), SaveFiles::IL, SaveFiles::isSaving(), SaveFiles::PrevSignalTime, RELACSWidget::printlog(), SaveFiles::RW, SaveFiles::SaveMutex, SaveFiles::SignalTime, EventList::size(), SaveFiles::Stimuli, SaveFiles::writeEvents(), SaveFiles::writeRePro(), SaveFiles::writeStimulus(), SaveFiles::writeToggle(), and SaveFiles::writeTraces().
Referenced by RELACSWidget::updateData().
void save | ( | const OutData & | signal | ) |
Save output-meta-data to files.
References SampleData< T >::back(), DaqError::failed(), SaveFiles::isSaving(), Acquire::outTraceName(), SaveFiles::PrevSignalTime, RELACSWidget::printlog(), SaveFiles::RW, SaveFiles::SaveMutex, Options::setNumber(), SaveFiles::SignalTime, SaveFiles::Stimuli, SaveFiles::StimulusData, and OutData::trace().
void save | ( | const OutList & | signal | ) |
Save output-meta-data to files.
References OutList::empty(), OutList::failed(), SaveFiles::isSaving(), Acquire::outTraceName(), SaveFiles::PrevSignalTime, RELACSWidget::printlog(), SaveFiles::RW, SaveFiles::SaveMutex, Options::setNumber(), SaveFiles::SignalTime, OutList::size(), SaveFiles::Stimuli, and SaveFiles::StimulusData.
void save | ( | const RePro & | rp | ) |
Save RePro meta data to files.
References Options::addInteger(), DataIndex::addRepro(), Options::addText(), RePro::allRuns(), ConfigDialog::author(), Options::clear(), ConfigDialog::date(), SaveFiles::DI, SaveFiles::isSaving(), ConfigDialog::name(), Str::name(), Options::newSection(), SaveFiles::Path, Str::preventedSlash(), RELACSWidget::printlog(), SaveFiles::ReProInfo, SaveFiles::ReProName, SaveFiles::RW, SaveFiles::SaveMutex, Options::setName(), and ConfigDialog::version().
bool signalPending | ( | void | ) | const |
true
if there is still a stimulus pending that needs to be written into the index files. References SaveFiles::SaveMutex, and SaveFiles::Stimuli.
Referenced by RELACSWidget::directWrite(), RELACSWidget::stopRePro(), and RELACSWidget::write().
void clearSignal | ( | void | ) |
Clear a pending signal.
References SaveFiles::SaveMutex, and SaveFiles::Stimuli.
Referenced by RELACSWidget::stopRePro().
void openFiles | ( | void | ) |
If no file is open: create a new file name, make a directory, open and initialize the data-, event-, and stimulus files.
References Options::clear(), SaveFiles::clearRemoveFiles(), SaveFiles::closeFiles(), SaveFiles::createNIXFile(), SaveFiles::createODMLFiles(), SaveFiles::createRelacsFiles(), InList::currentTime(), SaveFiles::DefaultPath, SaveFiles::EL, SaveFiles::FileLabel, SaveFiles::FilesOpen, SaveFiles::HighlightFont, SaveFiles::HighlightPalette, SaveFiles::Hold, SaveFiles::IL, SaveFiles::lock(), SaveFiles::Path, SaveFiles::pathName(), SaveFiles::PathNumber, SaveFiles::PathTime, SaveFiles::PrevPath, SaveFiles::PrevSignalTime, RELACSWidget::printlog(), EventList::push(), relacs::RecordingEventMode, SaveFiles::ReProFiles, SaveFiles::ReProInfo, SaveFiles::ReProStimuli, SaveFiles::ReProStimulusCount, SaveFiles::RW, SaveFiles::SaveLabel, SaveFiles::SaveMutex, SaveFiles::Saving, SaveFiles::SessionTime, SpikeTrace::setPause(), SpikeTrace::setSpike(), SaveFiles::setThePath(), SaveFiles::SignalTime, EventList::size(), Session::startSessionTime(), SaveFiles::Stimuli, SaveFiles::ToggleData, SaveFiles::ToggleOn, SaveFiles::unlock(), and SaveFiles::WriteNIXFiles.
Referenced by RELACSWidget::startSession().
void deleteFiles | ( | void | ) |
Close files and delete them and/or remove base directory.
References SaveFiles::closeFiles(), SaveFiles::DefaultPath, SaveFiles::DI, DataIndex::endSession(), SaveFiles::FileLabel, SaveFiles::NormalFont, SaveFiles::NormalPalette, SaveFiles::Path, SaveFiles::PathNumber, RELACSWidget::printlog(), SaveFiles::removeDir(), SaveFiles::removeFiles(), SaveFiles::RW, SaveFiles::SaveMutex, and SaveFiles::setThePath().
Referenced by RELACSWidget::stopSession().
void completeFiles | ( | void | ) |
Close files and keep them.
References SaveFiles::clearRemoveFiles(), SaveFiles::closeFiles(), SaveFiles::DefaultPath, SaveFiles::DI, DataIndex::endSession(), SaveFiles::FileLabel, SaveFiles::NormalPalette, SaveFiles::Path, SaveFiles::PrevPath, RELACSWidget::printlog(), SaveFiles::RW, SaveFiles::SaveMutex, and SaveFiles::setThePath().
Referenced by RELACSWidget::stopSession().
DataIndex * dataIndex | ( | void | ) |
References SaveFiles::DI.
Referenced by RELACSWidget::RELACSWidget().
|
protected |
Set the base path for all data to be stored and the corresponding environment variable RELACSDATAPATH
[in] | path | the base path for storing data. This is the not-locked variant of setPath() |
References SaveFiles::path(), and SaveFiles::Path.
Referenced by SaveFiles::completeFiles(), SaveFiles::deleteFiles(), SaveFiles::openFiles(), SaveFiles::setDefaultPath(), and SaveFiles::setPath().
|
protected |
The current status of saving data to files.
true
if files are opened and data are currently written into the files. This is the not-locked variant of saving(). References SaveFiles::FilesOpen, and SaveFiles::Saving.
Referenced by SaveFiles::save(), SaveFiles::saveTraces(), SaveFiles::saving(), SaveFiles::writeEvents(), SaveFiles::writeRePro(), SaveFiles::writeStimulus(), SaveFiles::writeToggle(), and SaveFiles::writeTraces().
|
protected |
Switch saving to files on or off.
References SaveFiles::EL, SaveFiles::Hold, SaveFiles::IL, SaveFiles::isSaving(), EventList::push(), relacs::RecordingEventMode, SaveFiles::RelacsIO, SaveFiles::RelacsFiles::resetIndex(), SaveFiles::SaveLabel, SaveFiles::Saving, SpikeTrace::setPause(), EventList::size(), Options::size(), SaveFiles::ToggleData, SaveFiles::ToggleOn, and SaveFiles::WriteNIXFiles.
Referenced by SaveFiles::saveTraces().
|
protected |
Write data traces to files.
References SaveFiles::IL, SaveFiles::isSaving(), SaveFiles::RelacsIO, SaveFiles::WriteNIXFiles, and SaveFiles::RelacsFiles::writeTraces().
Referenced by SaveFiles::saveTraces().
|
protected |
Write events to files.
References SaveFiles::EL, SaveFiles::IL, SaveFiles::isSaving(), SaveFiles::RelacsIO, and SaveFiles::RelacsFiles::writeEvents().
Referenced by SaveFiles::saveTraces().
|
protected |
Write pending stimuli to files.
References TraceSpec::channel(), TraceSpec::device(), SaveFiles::EL, Str::empty(), Options::empty(), Str::eraseFirst(), Attenuate::frequencyFormat(), Attenuate::frequencyName(), Attenuate::frequencyUnit(), SaveFiles::IL, Options::insertNumber(), Attenuate::intensityFormat(), Attenuate::intensityName(), Attenuate::intensityUnit(), SaveFiles::isSaving(), Str::name(), SaveFiles::OdmlIO, Acquire::outTrace(), Acquire::outTraceAttenuate(), Acquire::outTraceName(), Acquire::outTracesSize(), Str::preventFirst(), SaveFiles::RelacsIO, SaveFiles::ReProName, SaveFiles::ReProStimuli, SaveFiles::ReProStimulusCount, SaveFiles::RW, SaveFiles::SessionTime, SaveFiles::SignalTime, SaveFiles::Stimuli, SaveFiles::StimulusData, SaveFiles::RelacsFiles::traceSignalIndices(), Options::type(), SaveFiles::WriteNIXFiles, SaveFiles::RelacsFiles::writeStimulus(), and SaveFiles::ODMLFiles::writeStimulus().
Referenced by SaveFiles::saveTraces().
|
protected |
Write information about a RePro to files.
References SaveFiles::EL, SaveFiles::Hold, SaveFiles::IL, SaveFiles::isSaving(), SaveFiles::OdmlIO, SaveFiles::RelacsIO, SaveFiles::ReProFiles, SaveFiles::ReProInfo, SaveFiles::ReProName, SaveFiles::ReProStimulusCount, SaveFiles::SessionTime, SaveFiles::WriteNIXFiles, SaveFiles::RelacsFiles::writeRePro(), and SaveFiles::ODMLFiles::writeRePro().
Referenced by SaveFiles::saveTraces().
|
protected |
Close all open files
References SaveFiles::RelacsFiles::close(), SaveFiles::ODMLFiles::close(), Options::erase(), SaveFiles::FilesOpen, SaveFiles::Hold, SaveFiles::OdmlIO, SaveFiles::Path, SaveFiles::RelacsIO, SaveFiles::ReProFiles, SaveFiles::RW, SaveFiles::SaveLabel, Options::section(), SpikeTrace::setSpike(), SaveFiles::ToggleData, SaveFiles::ToggleOn, and SaveFiles::WriteNIXFiles.
Referenced by SaveFiles::completeFiles(), SaveFiles::deleteFiles(), SaveFiles::openFiles(), and SaveFiles::~SaveFiles().
|
protected |
Remove the directory dirname with all its files and all its sub-directories.
References RELACSWidget::printlog(), and SaveFiles::RW.
Referenced by SaveFiles::deleteFiles().
|
protected |
Generate new pathname using PathTemplate, PathTime, and PathNumber.
References Str::format(), SaveFiles::PathNumber, SaveFiles::PathTemplate, SaveFiles::PathTime, and Str::upper().
Referenced by SaveFiles::openFiles().
|
protected |
Add the file filename to the list of files to be removed and to the metadata.
References SaveFiles::addRemoveFile(), Options::exist(), Options::insertText(), Parameter::ListAlways, MetaData::lock(), SaveFiles::Path, Options::pushText(), SaveFiles::RW, Options::section(), MetaData::standardFlag(), and MetaData::unlock().
Referenced by SaveFiles::openFile().
|
protected |
Open the file path() + filename as specified by type (ios::out, ios::in, ios::binary, ...). Add it to the list of files to be removed and to the metadata and print an error message if opening of the file failed.
References SaveFiles::addFile(), SaveFiles::Path, RELACSWidget::printlog(), and SaveFiles::RW.
Referenced by SaveFiles::ODMLFiles::open(), SaveFiles::RelacsFiles::openEventFiles(), SaveFiles::RelacsFiles::openStimulusFiles(), and SaveFiles::RelacsFiles::openTraceFiles().
|
protected |
The file filename will be removed if the session is not saved.
References SaveFiles::RemoveFiles.
Referenced by SaveFiles::addFile(), and SaveFiles::createNIXFile().
|
protected |
Reset the list of files that have to be deleted if the session is not to be saved.
References SaveFiles::RemoveFiles.
Referenced by SaveFiles::completeFiles(), SaveFiles::openFiles(), SaveFiles::removeFiles(), SaveFiles::SaveFiles(), and SaveFiles::~SaveFiles().
|
protected |
Remove all files from the list and clear the list of files that have to be deleted if the session is not to be saved.
References SaveFiles::clearRemoveFiles(), and SaveFiles::RemoveFiles.
Referenced by SaveFiles::deleteFiles().
|
protected |
Open and initialize the native RELACS data files that contain all information.
References SaveFiles::EL, SaveFiles::FilesOpen, SaveFiles::IL, SaveFiles::RelacsFiles::open(), SaveFiles::Path, SaveFiles::RelacsIO, SaveFiles::RW, and SaveFiles::WriteRelacsFiles.
Referenced by SaveFiles::openFiles().
|
protected |
Open and initialize the ODML files that contain metadata only.
References SaveFiles::FilesOpen, SaveFiles::OdmlIO, SaveFiles::ODMLFiles::open(), SaveFiles::Path, SaveFiles::RW, and SaveFiles::WriteODMLFiles.
Referenced by SaveFiles::openFiles().
|
protected |
Open and initialize the NIX file that contains all information.
References SaveFiles::addRemoveFile(), SaveFiles::EL, SaveFiles::FilesOpen, SaveFiles::IL, SaveFiles::Path, RELACSWidget::printlog(), SaveFiles::RW, and SaveFiles::WriteNIXFiles.
Referenced by SaveFiles::openFiles().
|
protectedvirtual |
References DataIndex::addStimulus(), and SaveFiles::DI.
|
static |
Flag for the modes of traces or events, indicating that they should be saved.
Referenced by FilterDetectors::createFilters(), FilterDetectors::createRecordingEvents(), FilterDetectors::createRestartEvents(), FilterDetectors::createStimulusEvents(), SaveFiles::RelacsFiles::openEventFiles(), and SaveFiles::RelacsFiles::openTraceFiles().
|
static |
Flag for the modes of events, indicating that their mean quality should be saved.
Referenced by FilterDetectors::createFilters(), SaveFiles::RelacsFiles::openStimulusFiles(), SaveFiles::RelacsFiles::writeRePro(), and SaveFiles::RelacsFiles::writeStimulus().
|
static |
Flag for the Options to mark the last values of the output traces.
Referenced by RELACSPlugin::stimulusDataTraceFlag().
|
protected |
Should data be written in RELACS format?
Referenced by SaveFiles::createRelacsFiles(), SaveFiles::SaveFiles(), and SaveFiles::setWriteRelacsFiles().
|
protected |
Should metadata be written in ODML format?
Referenced by SaveFiles::createODMLFiles(), SaveFiles::SaveFiles(), and SaveFiles::setWriteODMLFiles().
|
protected |
Should data be written in NIX format?
Referenced by SaveFiles::closeFiles(), SaveFiles::createNIXFile(), SaveFiles::openFiles(), SaveFiles::SaveFiles(), SaveFiles::setWriteNIXFiles(), SaveFiles::writeRePro(), SaveFiles::writeStimulus(), SaveFiles::writeToggle(), and SaveFiles::writeTraces().
|
protected |
Are there any files open to save in?
Referenced by SaveFiles::closeFiles(), SaveFiles::createNIXFile(), SaveFiles::createODMLFiles(), SaveFiles::createRelacsFiles(), SaveFiles::filesOpen(), SaveFiles::isSaving(), SaveFiles::openFiles(), SaveFiles::save(), and SaveFiles::SaveFiles().
|
protected |
Should be saved into the files?
Referenced by SaveFiles::isSaving(), SaveFiles::openFiles(), SaveFiles::save(), SaveFiles::SaveFiles(), and SaveFiles::writeToggle().
|
protected |
Hold toggling saving.
Referenced by SaveFiles::closeFiles(), SaveFiles::holdOff(), SaveFiles::holdOn(), SaveFiles::openFiles(), SaveFiles::SaveFiles(), SaveFiles::writeRePro(), and SaveFiles::writeToggle().
|
protected |
The path (directory or common basename) where all data of the current session are stored.
Referenced by SaveFiles::addFile(), SaveFiles::addPath(), SaveFiles::closeFiles(), SaveFiles::completeFiles(), SaveFiles::createNIXFile(), SaveFiles::createODMLFiles(), SaveFiles::createRelacsFiles(), SaveFiles::deleteFiles(), SaveFiles::openFile(), SaveFiles::openFiles(), SaveFiles::path(), SaveFiles::save(), SaveFiles::SaveFiles(), SaveFiles::setDefaultPath(), and SaveFiles::setThePath().
|
protected |
The path from the previous session.
Referenced by SaveFiles::completeFiles(), SaveFiles::openFiles(), and SaveFiles::SaveFiles().
|
protected |
The template from which Path is generated.
Referenced by SaveFiles::pathName(), SaveFiles::pathTemplate(), SaveFiles::SaveFiles(), and SaveFiles::setPathTemplate().
|
protected |
The default path (directory or common basename) where all data are stored.
Referenced by SaveFiles::addDefaultPath(), SaveFiles::completeFiles(), SaveFiles::defaultPath(), SaveFiles::deleteFiles(), SaveFiles::openFiles(), SaveFiles::SaveFiles(), and SaveFiles::setDefaultPath().
|
protected |
Identification number for pathes used to create a base path from PathFormat.
Referenced by SaveFiles::deleteFiles(), SaveFiles::openFiles(), SaveFiles::pathName(), and SaveFiles::SaveFiles().
|
protected |
The time used to generate the previous base path.
Referenced by SaveFiles::openFiles(), SaveFiles::pathName(), SaveFiles::SaveFiles(), and SaveFiles::setPathTemplate().
|
protected |
Time of start of the session.
Referenced by SaveFiles::openFiles(), SaveFiles::writeRePro(), and SaveFiles::writeStimulus().
|
protected |
The local copy of all input traces.
Referenced by SaveFiles::createNIXFile(), SaveFiles::createRelacsFiles(), SaveFiles::openFiles(), SaveFiles::saveTraces(), SaveFiles::setTracesEvents(), SaveFiles::writeEvents(), SaveFiles::writeRePro(), SaveFiles::writeStimulus(), SaveFiles::writeToggle(), and SaveFiles::writeTraces().
|
protected |
The local copy of all event traces.
Referenced by SaveFiles::createNIXFile(), SaveFiles::createRelacsFiles(), SaveFiles::openFiles(), SaveFiles::saveTraces(), SaveFiles::setTracesEvents(), SaveFiles::writeEvents(), SaveFiles::writeRePro(), SaveFiles::writeStimulus(), and SaveFiles::writeToggle().
|
protected |
Start of current stimulus.
Referenced by SaveFiles::openFiles(), SaveFiles::save(), SaveFiles::SaveFiles(), SaveFiles::saveTraces(), and SaveFiles::writeStimulus().
|
protected |
Start of previous stimulus.
Referenced by SaveFiles::openFiles(), SaveFiles::save(), SaveFiles::SaveFiles(), and SaveFiles::saveTraces().
|
protected |
The options of SaveFiles at the time of writing a stimulus. Contains values of all output traces right before writing the new stimulus and additional information.
Referenced by SaveFiles::save(), and SaveFiles::writeStimulus().
|
protected |
Properties and descriptions of all output traces of the current stimulus.
Referenced by SaveFiles::clearSignal(), SaveFiles::openFiles(), SaveFiles::save(), SaveFiles::SaveFiles(), SaveFiles::saveTraces(), SaveFiles::signalPending(), SaveFiles::writeStimulus(), and SaveFiles::~SaveFiles().
|
protected |
All stimuli of a session used by a RePro.
Referenced by SaveFiles::openFiles(), SaveFiles::SaveFiles(), SaveFiles::writeStimulus(), and SaveFiles::~SaveFiles().
|
protected |
Name of the current RePro.
Referenced by SaveFiles::save(), SaveFiles::SaveFiles(), SaveFiles::writeRePro(), and SaveFiles::writeStimulus().
|
protected |
Number of stimuli written by the current RePro, keys are the names of the RePros.
Referenced by SaveFiles::openFiles(), SaveFiles::SaveFiles(), SaveFiles::writeRePro(), SaveFiles::writeStimulus(), and SaveFiles::~SaveFiles().
|
protected |
The settings of the current RePro.
Referenced by SaveFiles::openFiles(), SaveFiles::save(), SaveFiles::SaveFiles(), and SaveFiles::writeRePro().
|
mutableprotected |
List of file names opened by the current RePro.
Referenced by SaveFiles::closeFiles(), SaveFiles::openFiles(), SaveFiles::SaveFiles(), SaveFiles::storeFile(), and SaveFiles::writeRePro().
|
protected |
|
protected |
Referenced by SaveFiles::closeFiles(), SaveFiles::openFiles(), SaveFiles::save(), SaveFiles::SaveFiles(), and SaveFiles::writeToggle().
|
protected |
Referenced by SaveFiles::closeFiles(), SaveFiles::openFiles(), SaveFiles::save(), SaveFiles::SaveFiles(), and SaveFiles::writeToggle().
|
protected |
The data browser.
Referenced by SaveFiles::completeFiles(), SaveFiles::customEvent(), SaveFiles::dataIndex(), SaveFiles::deleteFiles(), SaveFiles::RelacsFiles::open(), SaveFiles::save(), and SaveFiles::SaveFiles().
|
protected |
A list of files which have to be deleted if the session is not to be saved.
Referenced by SaveFiles::addRemoveFile(), SaveFiles::clearRemoveFiles(), and SaveFiles::removeFiles().
|
protected |
|
protected |
Referenced by SaveFiles::closeFiles(), SaveFiles::createODMLFiles(), SaveFiles::writeRePro(), and SaveFiles::writeStimulus().
|
protected |
Referenced by SaveFiles::addFile(), SaveFiles::closeFiles(), SaveFiles::completeFiles(), SaveFiles::createNIXFile(), SaveFiles::createODMLFiles(), SaveFiles::createRelacsFiles(), SaveFiles::deleteFiles(), SaveFiles::notify(), SaveFiles::openFile(), SaveFiles::openFiles(), SaveFiles::removeDir(), SaveFiles::save(), SaveFiles::saveTraces(), and SaveFiles::writeStimulus().
|
protected |
|
protected |
Referenced by SaveFiles::deleteFiles(), and SaveFiles::SaveFiles().
|
protected |
Referenced by SaveFiles::openFiles(), SaveFiles::SaveFiles(), and SaveFiles::setPathTemplate().
|
protected |
Referenced by SaveFiles::completeFiles(), SaveFiles::deleteFiles(), and SaveFiles::SaveFiles().
|
protected |
Referenced by SaveFiles::openFiles(), and SaveFiles::SaveFiles().
|
protected |
Referenced by SaveFiles::closeFiles(), SaveFiles::openFiles(), SaveFiles::SaveFiles(), and SaveFiles::writeToggle().
|
protected |
Referenced by SaveFiles::SaveFiles().
|
mutableprotected |
Referenced by SaveFiles::addDefaultPath(), SaveFiles::addPath(), SaveFiles::clearSignal(), SaveFiles::completeFiles(), SaveFiles::defaultPath(), SaveFiles::deleteFiles(), SaveFiles::filesOpen(), SaveFiles::holdOff(), SaveFiles::holdOn(), SaveFiles::openFiles(), SaveFiles::path(), SaveFiles::pathTemplate(), SaveFiles::save(), SaveFiles::saveTraces(), SaveFiles::saving(), SaveFiles::setDefaultPath(), SaveFiles::setPath(), SaveFiles::setPathTemplate(), SaveFiles::setTracesEvents(), SaveFiles::signalPending(), and SaveFiles::storeFile().
|
mutableprotected |
Referenced by SaveFiles::lock(), SaveFiles::mutex(), and SaveFiles::unlock().