Relacs Core Library
0.9.8
|
#include <relacsplugin.h>
Public Slots | |
virtual void | saveDoxygenOptions (void) |
virtual void | saveWidget (void) |
Public Slots inherited from ConfigDialog | |
virtual void | dialog (void) |
virtual void | help (void) |
Public Member Functions | |
RELACSPlugin (const string &configident="", int configgroup=0, const string &name="", const string &pluginset="", const string &author="unknown", const string &version="unknown", const string &date=__DATE__) | |
virtual | ~RELACSPlugin (void) |
QWidget * | widget (void) |
void | setWidget (QWidget *widget) |
void | setLayout (QLayout *layout) |
int | desktopWidth (void) const |
int | desktopHeight (void) const |
virtual void | setName (const string &name) |
string | pluginSet (void) const |
string | uniqueName (void) const |
void | setShortUniqueName (void) |
void | setLongUniqueName (void) |
void | updateUniqueName (void) |
const Options & | settings (void) const |
Options & | settings (void) |
void | setSettings (void) |
virtual void | modeChanged (void) |
virtual void | notifyMetaData (void) |
virtual void | notifyStimulusData (void) |
void | setRELACSWidget (RELACSWidget *rw) |
virtual string | helpFileName (void) const |
const InList & | traces (void) const |
const InData & | trace (int index) const |
const InData & | trace (const string &ident) const |
int | traceIndex (const string &ident) const |
string | traceNames (void) const |
string | rawTraceNames (void) const |
const EventList & | events (void) const |
const EventData & | events (int index) const |
const EventData & | events (const string &ident) const |
const EventData & | stimulusEvents (void) const |
const EventData & | restartEvents (void) const |
const EventData & | recordingEvents (void) const |
int | traceInputTrace (int trace) const |
int | traceInputTrace (const string &ident) const |
int | traceInputEvent (int trace) const |
int | traceInputEvent (const string &ident) const |
int | eventInputTrace (int event) const |
int | eventInputTrace (const string &ident) const |
int | eventInputEvent (int event) const |
int | eventInputEvent (const string &ident) const |
double | signalTime (void) const |
double | currentTime (void) const |
double | currentTimeRaw (void) const |
void | addTracesEvents (deque< InList * > &data, deque< EventList * > &events) |
void | setTracesEvents (const InList &data, const EventList &event) |
void | assignTracesEvents (const InList &data, const EventList &events) |
void | assignTracesEvents (void) |
void | updateDerivedTracesEvents (void) |
int | getData (double mintracetime=0.0, double prevsignal=-1000.0) |
int | outTracesSize (void) const |
int | outTraceIndex (const string &name) const |
string | outTraceName (int index) const |
string | outTraceNames (void) const |
const TraceSpec & | outTrace (int index) const |
const TraceSpec & | outTrace (const string &name) const |
void | setSignalDelay (int device, double delay) |
bool | acquisition (void) const |
bool | simulation (void) const |
bool | analysis (void) const |
bool | idle (void) const |
string | modeStr (void) const |
Options & | relacsSettings (void) |
const Options & | relacsSettings (void) const |
void | lockRelacsSettings (void) const |
void | unlockRelacsSettings (void) const |
QMutex * | relacsSettingsMutex (void) |
string | path (void) const |
string | addPath (const string &file) const |
string | defaultPath (void) const |
string | addDefaultPath (const string &file) const |
bool | saving (void) const |
Options & | stimulusData (void) |
const Options & | stimulusData (void) const |
int | stimulusDataTraceFlag (void) const |
void | lockStimulusData (void) const |
void | unlockStimulusData (void) const |
QMutex * | stimulusDataMutex (void) |
MetaData & | metaData (void) |
const MetaData & | metaData (void) const |
void | lockMetaData (void) const |
void | unlockMetaData (void) const |
QMutex * | metaDataMutex (void) |
AllDevices * | devices (void) const |
Device * | device (const string &ident) |
void | updateDeviceMenu (void) |
DigitalIO * | digitalIO (const string &ident) |
Trigger * | trigger (const string &ident) |
Attenuate * | attenuator (const string &name) |
Filter * | filter (const string &name) |
Filter * | filterTrace (int index) |
Filter * | filterTrace (const string &name) |
Options & | filterOpts (const string &name) |
Options & | filterTraceOpts (int index) |
Options & | filterTraceOpts (const string &name) |
void | lockFilter (const string &name) |
void | lockFilterTrace (int index) |
void | lockFilterTrace (const string &name) |
void | unlockFilter (const string &name) |
void | unlockFilterTrace (int index) |
void | unlockFilterTrace (const string &name) |
void | autoConfigureFilter (Filter *filter, double tbegin, double tend) |
void | autoConfigureFilter (Filter *filter, double duration) |
void | autoConfigureFilter (double tbegin, double tend) |
void | autoConfigureFilter (double duration) |
Filter * | detector (const string &name) |
Filter * | detectorEvents (int index) |
Filter * | detectorEvents (const string &name) |
Options & | detectorOpts (const string &name) |
Options & | detectorEventsOpts (int index) |
Options & | detectorEventsOpts (const string &name) |
void | lockDetector (const string &name) |
void | lockDetectorEvents (int index) |
void | lockDetectorEvents (const string &name) |
void | unlockDetector (const string &name) |
void | unlockDetectorEvents (int index) |
void | unlockDetectorEvents (const string &name) |
void | autoConfigureDetector (Filter *detector, double tbegin, double tend) |
void | autoConfigureDetector (Filter *detector, double duration) |
void | autoConfigureDetectors (double tbegin, double tend) |
void | autoConfigureDetectors (double duration) |
double | sessionTime (void) const |
string | sessionTimeStr (void) const |
bool | sessionRunning (void) const |
int | reproCount (void) const |
virtual void | sessionStarted (void) |
virtual void | sessionStopped (bool saved) |
bool | globalKeyEvents (void) |
void | setGlobalKeyEvents (bool global=true) |
Public Member Functions inherited from ConfigDialog | |
ConfigDialog (const string &configident="", int configgroup=0, const string &name="", const string &author="", const string &version="", const string &date=__DATE__) | |
virtual | ~ConfigDialog (void) |
string | name (void) const |
string | author (void) const |
virtual void | setAuthor (const string &author) |
string | version (void) const |
virtual void | setVersion (const string &version) |
string | date (void) const |
virtual void | setDate (const string &date) |
virtual void | dialogOptions (OptDialog *od) |
virtual void | dialogButtons (OptDialog *od) |
virtual void | dialogEmptyMessage (OptDialog *od) |
int | dialogSelectMask (void) const |
void | setDialogSelectMask (int mask) |
void | addDialogSelectMask (int mask) |
int | dialogReadOnlyMask (void) const |
void | setDialogReadOnlyMask (int mask) |
void | addDialogReadOnlyMask (int mask) |
int | dialogStyle (void) const |
void | setDialogStyle (int style) |
void | addDialogStyle (int style) |
string | dialogCaption (void) const |
void | setDialogCaption (const string &caption) |
bool | dialogHeader (void) const |
void | setDialogHeader (bool d) |
string | headerBackgroundColor (void) const |
void | setHeaderBackgroundColor (const string &color) |
string | headerForegroundColor (void) const |
void | setHeaderForegroundColor (const string &color) |
string | headerImageFile (void) const |
void | setHeaderImageFile (const string &file) |
virtual void | dialogHeaderWidget (OptDialog *od) |
bool | dialogHelp (void) const |
void | setDialogHelp (bool d) |
string | helpCaption (void) const |
void | setHelpCaption (const string &caption) |
string | helpPath (int inx=0) const |
int | helpPathes (void) const |
void | clearHelpPathes (void) |
void | setHelpPath (const string &path) |
void | addHelpPath (const string &path) |
bool | dialogOpen (void) const |
bool | helpOpen (void) const |
QWidget * | mainWidget (void) |
virtual void | setMainWidget (QWidget *widget) |
void | lock () const |
void | unlock () const |
bool | tryLock (int timeout=1) |
QMutex * | mutex (void) |
Public Member Functions inherited from ConfigClass | |
ConfigClass (const string &ident, int group=0, int mode=0xffff, int selectmask=0) | |
ConfigClass (const ConfigClass &C) | |
virtual | ~ConfigClass (void) |
const string & | configIdent (void) const |
void | setConfigIdent (const string &ident) |
int | configGroup (void) const |
void | setConfigGroup (int group) |
int | configMode (void) const |
void | setConfigMode (int mode) |
void | addConfigMode (int mode) |
void | delConfigMode (int mode) |
int | configSelectMask (void) const |
void | setConfigSelectMask (int mask) |
void | addConfig (void) |
void | readConfig (void) |
virtual void | readConfig (StrQueue &sq) |
virtual void | saveConfig (ofstream &str) |
virtual int | configSize (void) const |
virtual void | config (void) |
virtual void | preConfig (void) |
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, 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=":=") |
virtual void | notify (void) |
void | callNotifies (void) |
bool | setNotify (bool notify=true) |
bool | unsetNotify (void) |
bool | notifying (void) const |
Static Public Attributes | |
static const int | DeviceId = 0x0001 |
static const int | AnalogInputId = 0x0002 |
static const int | AnalogOutputId = 0x0004 |
static const int | DigitalIOId = 0x0008 |
static const int | TriggerId = 0x0010 |
static const int | AttenuatorId = 0x0020 |
static const int | AttenuateId = 0x0040 |
static const int | ModelId = 0x0080 |
static const int | FilterId = 0x0100 |
static const int | ReProId = 0x0200 |
static const int | ControlId = 0x0400 |
static const int | Core = 0 |
static const int | Plugins = 1 |
Static Public Attributes inherited from ConfigClass | |
static const int | NonDefault |
static const long | TabSection |
Protected Slots | |
void | startTheSession (void) |
void | stopTheSession (void) |
void | toggleSession (void) |
void | removeFocus (void) |
void | muteAudioMonitor (void) |
void | unmuteAudioMonitor (void) |
virtual void | customEvent (QEvent *qce) |
void | widgetDestroyed (QObject *obj) |
Protected Slots inherited from ConfigDialog | |
virtual void | dClosed (int r) |
virtual void | hClosed (int r) |
Protected Member Functions | |
virtual void | setPluginSet (const string &pluginset) |
void | printlog (const string &s) const |
void | warning (const string &s, double timeout=0.0) |
void | info (const string &s, double timeout=0.0) |
void | postCustomEvent (int type=0) |
int | maxVoltages (const InData &data, vector< double > &ranges) const |
int | maxValues (const InData &data, vector< double > &ranges) const |
void | setGain (const InData &data, int gainindex) |
void | adjustGain (const InData &data, double maxvalue) |
void | adjustGain (const InData &data, double minvalue, double maxvalue) |
void | adjust (const InData &data, double tbegin, double tend, double threshold) |
void | adjust (const InData &data, double duration, double threshold) |
int | activateGains (void) |
Control * | control (int index) |
Control * | control (const string &name) |
Options & | controlOpts (int index) |
Options & | controlOpts (const string &name) |
void | lockControl (int index) |
void | lockControl (const string &name) |
void | unlockControl (int index) |
void | unlockControl (const string &name) |
Model * | model (void) |
Options & | modelOpts (void) |
void | lockModel (void) |
void | unlockModel (void) |
RePros * | repros (void) |
Options & | reprosDialogOpts (void) |
RePro * | repro (int index) |
RePro * | repro (const string &name) |
Options & | reproOpts (int index) |
Options & | reproOpts (const string &name) |
void | lockRePro (int index) |
void | lockRePro (const string &name) |
void | unlockRePro (int index) |
void | unlockRePro (const string &name) |
RePro * | currentRePro (void) |
Options & | currentReProOpts (void) |
void | lockCurrentRePro (void) |
void | unlockCurrentRePro (void) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | keyReleaseEvent (QKeyEvent *event) |
virtual bool | eventFilter (QObject *obj, QEvent *event) |
void | setWaitMouseCursor (void) |
void | restoreMouseCursor (void) |
Protected Member Functions inherited from ConfigDialog | |
void | setDialogOpen (bool open=true) |
void | setHelpOpen (bool open=true) |
Protected Attributes | |
RELACSWidget * | RW |
Additional Inherited Members | |
Public Types inherited from ConfigClass | |
enum | Action |
enum | SaveFlags |
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 |
Signals inherited from ConfigDialog | |
void | dialogAccepted (void) |
void | dialogAction (int r) |
void | dialogClosed (int r) |
Static Public Member Functions inherited from ConfigClass | |
static void | setConfigureClasses (ConfigureClasses *cfg) |
static double | floorLog10 (double v) |
static double | floor10 (double v, double scale=1.0) |
static double | ceil10 (double v, double scale=1.0) |
Adds specific functions for RELACS plugins to ConfigDialog.
Whenever the RELACSPlugin is started (a RePro whenever it is executed, all other plugins when an acquisition is started) the current values of the Options are saved and can be later on accesed via settings().
A warning meassage can be displayed in a popup window with warning() An info meassage can be displayed in a popup window with info(). Both warning() and info() write the message together with the current time to standard error as well. For only writing a message to standard error together with the current time use printlog().
All input traces and events can be accessed with traces() and events(), respectively. Single input traces and events can be accessed with trace( int ), trace( const string &), events( int ), and events( const string & ), respectively. The index of the trace or events that was filtered to obtain an input trace can be retrieved with the traceInputTrace() and traceInputEvent() functions. The index of the trace or events of which some events were detected can be retrieved with the eventInputTrace() and eventInputEvent() functions.
The gains for the input channels of the data acquisition board can be set with setGain(), adjustGain(), adjust(), activateGains(). Use these functions with care! Make sure that you do not interfere with other RELACS plugins.
The current mode() of RELACS can be acquisition(), simulation(), analysis(), or idle(). If the mode is changed, modeChanged() is called that you can reimplement according to your needs.
Whenever a recording session is started or stopped, sessionStarted() or sessionStopped() are called, respectively. You can implement these virtual functions according to your needs. Other functions related to sessions are sessionData(), sessionTime(), sessionTimeStr(), sessionRunning(), reproCount().
The meta data sections of the current recording can be accessed by metaData(). Don't forget to lock every acces to metaData() with lockMetaData() and unlockMetaData(). Whenever some of the meta data are set to new values, the virtual function notifyMetaData() is called, that you can implement according to your needs.
Same stimulation related information is stored in stimulusData(). Don't forget to lock every acces to stimulusData() with lockStimulusData() and unlockStimulusData(). Whenever some of the stimulus data are set to new values, the virtual function notifyStimulusData() is called, that you can implement according to your needs.
All other RELACS plugins can be accessed: devices(), device(), attenuator(), digitalIO(), trigger(), filter(), filterOpts(), autoConfigureFilter(), detector(), detectorOpts(), autoConfigureDetector(), control(), controlOpts(), repros(), reprosDialogOpts(), repro(), reproOpts(), currentRePro(), currentReProOpts() but should be locked with lockFilter(), unlockFilter(), lockDetector(), unlockDetector(), lockControl(), unlockControl(), lockRePro(), unlockRePro(). Note, however, that inside the RePro::main() and Control::main() functions the input data, event data, and the own data are already locked.
addPath() prepends the current directory for data storage to a filename. addPath() prepends the default directory for data storage. saving() returns true
whenever voltage traces and eventlists are saved to disk (via SaveFiles).
Use update() or postCustomEvent() for thread save drawing and other interactions with the GUI.
For thread-save changes of the mouse cursor indicating some busy action use setWaitMouseCursor() and restoreMouseCursor().
You can handle key press and release events of a RELACSPlugin that has a widget by reimplementing keyPressEvent() and keyReleaseEvent(). Usually, the events are only delivered, if the corresponding widget() is visible. If you want he key event handlers to be called irrespective of the widgets visibility, then call setGlobalKeyEvents().
Some integers for identifying the type of the RELACS plugin are defined and are used by the addDevice, addAttenuate, addAttuator, addAnalogInput, addAnalogOutput, addDigitalIO, addTrigger, addModel, addFilter, addDetector, addControl, and addRePro macros.
Two groups of configuration files are defined as Core and Plugins.
RELACSPlugin | ( | const string & | configident = "" , |
int | configgroup = 0 , |
||
const string & | name = "" , |
||
const string & | pluginset = "" , |
||
const string & | author = "unknown" , |
||
const string & | version = "unknown" , |
||
const string & | date = __DATE__ |
||
) |
Construct an RELACSPlugin. The identifier configident is used for identifying this class in the configuration file of group configgroup. name has to be exactly the name of the class. The class belongs to the set of plugins named pluginset. The implementation of a class derived from RELACSPlugin has a version and was written by author on date.
References ConfigDialog::addDialogStyle(), OptWidget::BoldSectionsStyle, ConfigDialog::name(), RELACSPlugin::RW, and RELACSPlugin::setPluginSet().
|
virtual |
Destruct the RELACSPlugin.
QWidget * widget | ( | void | ) |
Referenced by Model::addActions(), ControlTabs::createControls(), FilterDetectors::createFilters(), RePro::customEvent(), RePro::eventFilter(), RePro::keepFocus(), RELACSWidget::keyPressEvent(), RELACSWidget::keyReleaseEvent(), RePros::raise(), RELACSWidget::RELACSWidget(), ReProData::reload(), RePros::RePros(), RELACSPlugin::setWidget(), RELACSWidget::showControls(), RELACSWidget::showDataOnly(), RELACSWidget::showFilters(), RELACSWidget::showRePros(), RELACSWidget::showTraces(), and RELACSWidget::startSession().
void setWidget | ( | QWidget * | widget | ) |
Declare widget as the main widget of this class.
References RELACSPlugin::widget(), and RELACSPlugin::widgetDestroyed().
Referenced by PlotTrace::PlotTrace(), ReProData::reload(), RePros::RePros(), and RELACSPlugin::setLayout().
void setLayout | ( | QLayout * | layout | ) |
Declare layout as the main layout of this class. A container widget for the layout is created automatically.
References RELACSPlugin::setWidget().
Referenced by DefaultSession::DefaultSession().
int desktopWidth | ( | void | ) | const |
The width in pixels of the desktop.
int desktopHeight | ( | void | ) | const |
The height in pixels of the desktop.
|
virtual |
Set the name of the RELACSPlugin to name. Also calls updateUniqueName().
Reimplemented from ConfigDialog.
Reimplemented in Filter, Control, and RePro.
References ConfigDialog::setName(), and RELACSPlugin::updateUniqueName().
Referenced by RePro::setName(), Control::setName(), and Filter::setName().
string pluginSet | ( | void | ) | const |
The name of the plugin set the class belongs to.
Referenced by RELACSPlugin::helpFileName(), RELACSPlugin::saveDoxygenOptions(), and RELACSPlugin::setLongUniqueName().
string uniqueName | ( | void | ) | const |
A unique name of the class (either "name()" or "name()[pluginSet()]" ).
Referenced by Control::addActions(), ReProData::addMenu(), MacroCommand::check(), RELACSPlugin::customEvent(), RELACSPlugin::printlog(), RePros::raise(), and ReProData::reload().
void setShortUniqueName | ( | void | ) |
Set the unique name of the class to its name() (default).
References ConfigDialog::name().
Referenced by RELACSPlugin::updateUniqueName().
void setLongUniqueName | ( | void | ) |
Set the unique name of the class to "name()[pluginSet()]".
References ConfigDialog::name(), and RELACSPlugin::pluginSet().
Referenced by RELACSPlugin::updateUniqueName().
void updateUniqueName | ( | void | ) |
Updat the unique name of the class to a new name().
References RELACSPlugin::setLongUniqueName(), and RELACSPlugin::setShortUniqueName().
Referenced by RELACSPlugin::setName().
const Options & settings | ( | void | ) | const |
Options & settings | ( | void | ) |
void setSettings | ( | void | ) |
Copy the plugin's current Options to its settings().
References ConfigDialog::setName().
Referenced by RePros::setSettings().
|
virtual |
Called whenever the acquisition mode is changed. The new mode() of RELACS can be acquisition(), simulation(), analysis(), or idle(). Reimplement this functions according to your needs.
Referenced by RePros::modeChanged(), and RELACSWidget::setMode().
|
virtual |
This function is called whenever some values of meta data have been changed. Implement this function if the plugin needs to react to this. The meta data mutex is already locked when this function is entered.
Referenced by RePros::notifyMetaData(), and RELACSWidget::notifyMetaData().
|
virtual |
This function is called whenever some values of the stimulus data have been changed. Implement this function if the plugin needs to react to this. The stimulus data mutex is already locked when this function is entered.
Referenced by RePros::notifyStimulusData(), and RELACSWidget::notifyStimulusData().
void setRELACSWidget | ( | RELACSWidget * | rw | ) |
Pass the RELACSWidget rw to the RELACSPlugin. This is used for accessing Devices, AttInterfaces, Filters, Control, and RePros.
References ConfigDialog::addHelpPath(), ConfigDialog::clearHelpPathes(), RELACSPlugin::RW, ConfigDialog::setHeaderBackgroundColor(), ConfigDialog::setHeaderForegroundColor(), ConfigDialog::setHeaderImageFile(), ConfigDialog::setMainWidget(), and StrQueue::size().
Referenced by ControlTabs::createControls(), FilterDetectors::createFilters(), PlotTrace::PlotTrace(), RELACSWidget::RELACSWidget(), ReProData::reload(), and RePros::RePros().
|
virtual |
".html"
. Reimplemented from ConfigDialog.
References ConfigDialog::name(), and RELACSPlugin::pluginSet().
|
protectedvirtual |
Set the name of the plugin set the class belongs to to pluginset.
Referenced by RELACSPlugin::RELACSPlugin().
|
protected |
Write the string s to standard error. The current time and the name of the plugin is written in front of s. Use this function instead of writing to cerr
directly.
References RELACSWidget::printlog(), RELACSPlugin::RW, and RELACSPlugin::uniqueName().
Referenced by PlotTrace::customEvent(), RELACSPlugin::info(), PlotTrace::print(), and RELACSPlugin::warning().
|
protected |
Opens a warning window with the message s. The message together with the current time and the name of the plugin is also written to standard error as a warning. If timeout is greater than zero, the message window is closed automatically after timeout seconds. Can be called directly from a non GUI thread.
References Str::eraseMarkup(), and RELACSPlugin::printlog().
|
protected |
Opens an info window with the message s. The message together with the current time and the name of the plugin is also written to standard error. If timeout is greater than zero, the message window is closed automatically after timeout seconds. Can be called directly from a non GUI thread.
References Str::eraseMarkup(), and RELACSPlugin::printlog().
Referenced by RELACSPlugin::saveWidget().
|
protected |
Post a custom event for thread save manipulations of the GUI. This is just a shortcut for
For your own events use values greater than 10 for type. To handle posted events, reimplement customEvent( QEvent* ). Don't forget to call RELACSPlugin::customEvent() from your reimplemented customEvent(). If, for example, you want to hide a widget, you call
Then you reimplement customEvent() like this:
Referenced by RePro::disable(), RePro::enable(), RELACSPlugin::restoreMouseCursor(), PlotTrace::setPlotContinuous(), PlotTrace::setPlotOn(), PlotTrace::setPlotSignal(), RELACSPlugin::setWaitMouseCursor(), and RELACSPlugin::updateDeviceMenu().
const InList & traces | ( | void | ) | const |
Return the list of all input traces.
Referenced by PlotTrace::updateMenu().
const InData & trace | ( | int | index | ) | const |
Return the input trace with index index.
References ConfigClass::index().
Referenced by RELACSPlugin::adjustGain(), Model::deltat(), PlotTrace::displayData(), Model::push(), Model::scale(), Model::signal(), Model::time(), and Model::traceName().
const InData & trace | ( | const string & | ident | ) | const |
Return the input trace with identifier ident.
int traceIndex | ( | const string & | ident | ) | const |
Return the index of the input trace with identifier ident.
References InList::index().
string traceNames | ( | void | ) | const |
Returns the names of all input traces (raw traces and filtered traces) separated by '|'. This string can be used for a text Parameter. For example, to define an option that selects an input trace:
References InList::size().
string rawTraceNames | ( | void | ) | const |
Returns the names of all raw input traces (with their source() == 0) separated by '|'. This string can be used for a text Parameter. For example, to define an option that selects an input trace:
References InList::size().
const EventList & events | ( | void | ) | const |
Referenced by PlotTrace::updateMenu().
const EventData & events | ( | int | index | ) | const |
References ConfigClass::index().
const EventData & events | ( | const string & | ident | ) | const |
const EventData & stimulusEvents | ( | void | ) | const |
const EventData & restartEvents | ( | void | ) | const |
const EventData & recordingEvents | ( | void | ) | const |
int traceInputTrace | ( | int | trace | ) | const |
Return the index of the input trace that was filtered to obtain input trace with index trace.
References RELACSPlugin::RW, and FilterDetectors::traceInputTrace().
int traceInputTrace | ( | const string & | ident | ) | const |
Return the index of the input trace that was filtered to obtain input trace with identifier ident.
References RELACSPlugin::RW, and FilterDetectors::traceInputTrace().
int traceInputEvent | ( | int | trace | ) | const |
Return the index of the EventData that was filtered to obtain input trace with index trace.
References RELACSPlugin::RW, and FilterDetectors::traceInputEvent().
int traceInputEvent | ( | const string & | ident | ) | const |
Return the index of the EventData that was filtered to obtain input trace with identifier ident.
References RELACSPlugin::RW, and FilterDetectors::traceInputEvent().
int eventInputTrace | ( | int | event | ) | const |
Return the index of the input trace on which the events of the EventData with index event were detected.
References FilterDetectors::eventInputTrace(), and RELACSPlugin::RW.
int eventInputTrace | ( | const string & | ident | ) | const |
Return the index of the input trace on which the events of the EventData with identifier ident were detected.
References FilterDetectors::eventInputTrace(), and RELACSPlugin::RW.
int eventInputEvent | ( | int | event | ) | const |
Return the index of the EventData on which the events of the EventData with index event were detected.
References FilterDetectors::eventInputEvent(), and RELACSPlugin::RW.
int eventInputEvent | ( | const string & | ident | ) | const |
Return the index of the EventData on which the events of the EventData with identifier ident were detected.
References FilterDetectors::eventInputEvent(), and RELACSPlugin::RW.
double signalTime | ( | void | ) | const |
Referenced by PlotTrace::signalTime(), and RePro::write().
double currentTime | ( | void | ) | const |
References InList::currentTime().
Referenced by RELACSPlugin::adjust(), RePro::sleep(), and RePro::timeStamp().
double currentTimeRaw | ( | void | ) | const |
References InList::currentTimeRaw().
Referenced by PlotTrace::currentTime().
Add the local copies of the data buffers to data and events.
Referenced by RELACSWidget::startFirstAcquisition().
Copies pointers to each element of data and events to this.
References InList::add(), EventList::add(), EventList::clear(), and InList::clear().
Copies data and events to this by copying a pointer to the data buffers only.
References InList::assign(), and EventList::assign().
Referenced by RePros::assignTracesEvents(), and RELACSWidget::startFirstAcquisition().
void assignTracesEvents | ( | void | ) |
Copies again all settings and indices from the reference traces and events to this.
References InList::assign(), and EventList::assign().
void updateDerivedTracesEvents | ( | void | ) |
Updates the indices of derived traces and events (traces with source != 0 ).
References InList::updateDerived(), and EventList::updateDerived().
int getData | ( | double | mintracetime = 0.0 , |
double | prevsignal = -1000.0 |
||
) |
Make current trace and event data available to this. If mintracetime is greater than zero getData() waits until the input traces of the currently running acquisition contain a minimum number of data elements. Returns immediately in case of errors or the acquisition was stopped.
[in] | mintracetime | If mintracetime is greater than zero, blocks until data upto mintracetime seconds are available. |
[in] | prevsignal | If in addition prevsignal is greater than zero, first block until the time of the last signal is greater than prevsignal and afterwards until data until the signal time plus mintracetime are available. |
1
if the input traces contain the required data, 0
if interrupted, or -1
on error. References RELACSWidget::getData(), and RELACSPlugin::RW.
Referenced by PlotTrace::plot(), RePro::sleep(), Control::sleep(), RePro::sleepWait(), Control::waitOnData(), Control::waitOnReProFinished(), Control::waitOnReProSleep(), Control::waitOnSessionPrestop(), Control::waitOnSessionStart(), Control::waitOnSessionStop(), and RePro::write().
|
protected |
The list of input ranges the DAQ board supports for the input trace data.
[in] | data | the input trace that specifies the input device, channel, and unipolar/bipolar mode. |
[out] | ranges | the list of available ranges specified as the maximum voltage that can beacquired. The corresponding index can be passed directly to setGain(). On failure an empty list is returned. |
References Acquire::maxVoltages(), DaqError::NoDevice, and RELACSPlugin::RW.
|
protected |
The list of input ranges the DAQ board supports for the input trace data.
[in] | data | the input trace that specifies the input device, channel, and unipolar/bipolar mode. |
[out] | ranges | the list of available ranges specified as the maximum values measured in data.unit(). The corresponding index can be passed directly to setGain(). On failure an empty list is returned. |
References Acquire::maxValues(), DaqError::NoDevice, and RELACSPlugin::RW.
|
protected |
Set the gain for input trace data to gainindex. The smallest possible gain is indexed with gainindex = 0. Higher values for gainindex correspond to increasing gains. The current value of the gain index ca be retrieved directly from data via data.gainIndex(). It depends on your hardware what gain is corresponding to gainindex. In order to activate the new gain you have to call activateGains().
References RELACSPlugin::RW, and Acquire::setGain().
|
protected |
Adjust the gain for input trace data such that the maximum value of maxvalue is within the input range. In order to activate the new gain you have to call activateGains().
References Acquire::adjustGain(), InData::ident(), RELACSPlugin::RW, InData::source(), RELACSPlugin::trace(), and FilterDetectors::traceInputTrace().
Referenced by RELACSPlugin::adjust().
|
protected |
Increases or decreases the gain for input trace data by one step. If maxvalue is larger than the maximum possible value of the current input range times, then the gain is decreased. If minvalue is smaller than the maximum possible value of the following input range, then the gain is increased. In order to activate the new gain you have to call activateGains().
References Acquire::adjustGain(), and RELACSPlugin::RW.
|
protected |
Adjust gain of analog input trace data by one step. The maximum absolute value of the trace data between time tbegin and time tend seconds is determined. If this value is greater than threshold times the maximum possible value of the current range the gain is decreased. If this value is smaller than threshold squared times the maximum possible value of the following range, then the gain is increased. In order to activate the new gain you have to call activateGains().
References RELACSPlugin::adjustGain(), relacs::max(), and CyclicSampleData< T >::maxAbs().
Referenced by RELACSPlugin::adjust().
|
protected |
Adjust the gain of trace data for the last duration seconds.
References RELACSPlugin::adjust(), and RELACSPlugin::currentTime().
|
protected |
Activates the new gain settings for analog input traces set by adjustGain(). activateGains() assumes the data traces and events not to be locked and will write-lock the raw data.
References RELACSWidget::activateGains(), and RELACSPlugin::RW.
int outTracesSize | ( | void | ) | const |
Return the number of output traces.
References Acquire::outTracesSize(), and RELACSPlugin::RW.
int outTraceIndex | ( | const string & | name | ) | const |
Return the index of the output trace with name name. If there isn't any trace with name name, -1 is returned.
References Acquire::outTraceIndex(), and RELACSPlugin::RW.
Referenced by RELACSPlugin::attenuator(), and StandardTraces::initStandardOutputs().
string outTraceName | ( | int | index | ) | const |
Return the name of the output trace with index index. If index is invalid, an empty string is returned.
References Acquire::outTraceName(), and RELACSPlugin::RW.
Referenced by StandardTraces::initStandardOutputs().
string outTraceNames | ( | void | ) | const |
Returns the names of all output traces separated by '|'. This string can be used for a text Parameter. For example, to define an option that selects an output trace:
References Acquire::outTraceName(), Acquire::outTracesSize(), and RELACSPlugin::RW.
const TraceSpec & outTrace | ( | int | index | ) | const |
Return the output trace with index index.
References Acquire::outTrace(), and RELACSPlugin::RW.
const TraceSpec & outTrace | ( | const string & | name | ) | const |
Return the output trace with name name.
References Acquire::outTrace(), and RELACSPlugin::RW.
void setSignalDelay | ( | int | device, |
double | delay | ||
) |
Set the delay in seconds it takes from starting analog output to the actual signal start for all channels of the analog output device device to delay.
References RELACSPlugin::RW, and Acquire::setSignalDelay().
bool acquisition | ( | void | ) | const |
True if the current working mode is to acquiring real data from a data acquisition board.
References RELACSWidget::acquisition(), and RELACSPlugin::RW.
bool simulation | ( | void | ) | const |
True if the current working mode is to simulate data using a Model.
References RELACSPlugin::RW, and RELACSWidget::simulation().
bool analysis | ( | void | ) | const |
True if the current working mode is to reanalyse previously recorded or simulated data.
References RELACSWidget::analysis(), and RELACSPlugin::RW.
bool idle | ( | void | ) | const |
True if the current working mode is to nothing, i.e. to wait for a selection from the user.
References RELACSWidget::idle(), and RELACSPlugin::RW.
string modeStr | ( | void | ) | const |
Returns a string describing the current mode.
References RELACSWidget::modeStr(), and RELACSPlugin::RW.
Options & relacsSettings | ( | void | ) |
Return general settings of RELACS.
References RELACSPlugin::RW.
Referenced by PlotTrace::print(), RePro::reproPath(), RePro::reproTimeStr(), and RELACSPlugin::sessionTimeStr().
const Options & relacsSettings | ( | void | ) | const |
void lockRelacsSettings | ( | void | ) | const |
Lock the mutex for the general settings of RELACS.
References ConfigDialog::lock(), and RELACSPlugin::RW.
Referenced by RePro::reproPath(), RePro::reproTimeStr(), and RELACSPlugin::sessionTimeStr().
void unlockRelacsSettings | ( | void | ) | const |
Unlock the mutex for the general settings of RELACS.
References RELACSPlugin::RW, and ConfigDialog::unlock().
Referenced by RePro::reproPath(), RePro::reproTimeStr(), and RELACSPlugin::sessionTimeStr().
QMutex * relacsSettingsMutex | ( | void | ) |
The mutex for the general settings of RELACS.
References ConfigDialog::mutex(), and RELACSPlugin::RW.
string path | ( | void | ) | const |
The path where all data of the current session are stored.
References SaveFiles::path(), and RELACSPlugin::RW.
Referenced by PlotTrace::displayData(), and RePro::reproPath().
string addPath | ( | const string & | file | ) | const |
Returns file added to the base path for the current session.
References SaveFiles::addPath(), and RELACSPlugin::RW.
string defaultPath | ( | void | ) | const |
The default path where data are stored if no session is running.
References SaveFiles::defaultPath(), and RELACSPlugin::RW.
Referenced by PlotTrace::displayIndex().
string addDefaultPath | ( | const string & | file | ) | const |
Returns file added to the default path.
References SaveFiles::addDefaultPath(), and RELACSPlugin::RW.
bool saving | ( | void | ) | const |
true
whenever voltage traes and eventlists are saved to disk via SaveFiles. References RELACSPlugin::RW, and SaveFiles::saving().
Options & stimulusData | ( | void | ) |
The options that are stored with each stimulus in the trigger file.
References RELACSPlugin::RW.
Referenced by PlotTrace::print().
const Options & stimulusData | ( | void | ) | const |
The options that are stored with each stimulus in the trigger file.
References RELACSPlugin::RW.
int stimulusDataTraceFlag | ( | void | ) | const |
Flag that marks output traces in stimulusData().
References RELACSPlugin::RW, and SaveFiles::TraceFlag.
void lockStimulusData | ( | void | ) | const |
Lock the stimulus data mutex.
References SaveFiles::lock(), and RELACSPlugin::RW.
Referenced by PlotTrace::print().
void unlockStimulusData | ( | void | ) | const |
Unlock the stimulus data mutex.
References RELACSPlugin::RW, and SaveFiles::unlock().
Referenced by PlotTrace::print().
QMutex * stimulusDataMutex | ( | void | ) |
The mutex for the stimulus data.
References SaveFiles::mutex(), and RELACSPlugin::RW.
MetaData & metaData | ( | void | ) |
Return a reference to the MetaData instance that manages all the meta data sections. MetaData is an Options, therefore, for example, you can retireve values from the meta data using something like metaData()
.number( "xyz" );
References RELACSPlugin::RW.
Referenced by PlotTrace::print().
const MetaData & metaData | ( | void | ) | const |
Return a const reference to the MetaData instance that manages all the meta data sections. MetaData is an Options, therefore, for example, you can retireve values from the meta data using something like metaData()
.number( "xyz" );
References RELACSPlugin::RW.
void lockMetaData | ( | void | ) | const |
Lock the meta data mutex.
References MetaData::lock(), and RELACSPlugin::RW.
Referenced by PlotTrace::print().
void unlockMetaData | ( | void | ) | const |
Unlock the meta data mutex.
References RELACSPlugin::RW, and MetaData::unlock().
Referenced by PlotTrace::print().
QMutex * metaDataMutex | ( | void | ) |
The mutex for the meta data.
References MetaData::mutex(), and RELACSPlugin::RW.
AllDevices * devices | ( | void | ) | const |
Return the complete device list.
References RELACSPlugin::RW.
Device * device | ( | const string & | ident | ) |
Return the device with identifier ident.
References DeviceList< T, PluginID >::device(), and RELACSPlugin::RW.
void updateDeviceMenu | ( | void | ) |
If you changed the settings of an ordinary device (not an AnalogInput, AnanlogOutput, Attenuator, Attenuate) call this function in order to update the settings displayed in the device menu.
References RELACSPlugin::postCustomEvent().
DigitalIO * digitalIO | ( | const string & | ident | ) |
Return the digital I/O device with identifier ident.
References DeviceList< T, PluginID >::device(), and RELACSPlugin::RW.
Trigger * trigger | ( | const string & | ident | ) |
Return the trigger device with identifier ident.
References DeviceList< T, PluginID >::device(), and RELACSPlugin::RW.
Attenuate * attenuator | ( | const string & | name | ) |
Return the attenuator for output trace name.
References ConfigClass::index(), Acquire::outTraceAttenuate(), RELACSPlugin::outTraceIndex(), and RELACSPlugin::RW.
Filter * filter | ( | const string & | name | ) |
Return the filter with name name.
References FilterDetectors::filter(), and RELACSPlugin::RW.
Referenced by RELACSPlugin::filterOpts(), RELACSPlugin::lockFilter(), and RELACSPlugin::unlockFilter().
Filter * filterTrace | ( | int | index | ) |
Return the filter for trace index.
References FilterDetectors::filter(), and RELACSPlugin::RW.
Referenced by RELACSPlugin::filterTraceOpts(), RELACSPlugin::lockFilterTrace(), and RELACSPlugin::unlockFilterTrace().
Filter * filterTrace | ( | const string & | name | ) |
Return the filter for the trace name.
References FilterDetectors::filter(), InList::index(), and RELACSPlugin::RW.
Options & filterOpts | ( | const string & | name | ) |
Return the options of the filter with name name.
References RELACSPlugin::filter().
Options & filterTraceOpts | ( | int | index | ) |
Return the options of the filter for trace index.
References RELACSPlugin::filterTrace().
Options & filterTraceOpts | ( | const string & | name | ) |
Return the options of the filter for trace name.
References RELACSPlugin::filterTrace().
void lockFilter | ( | const string & | name | ) |
Lock the filter with name name.
References RELACSPlugin::filter(), and ConfigDialog::lock().
void lockFilterTrace | ( | int | index | ) |
Lock the filter for trace index.
References RELACSPlugin::filterTrace(), and ConfigDialog::lock().
void lockFilterTrace | ( | const string & | name | ) |
Lock the filter for trace name.
References RELACSPlugin::filterTrace(), and ConfigDialog::lock().
void unlockFilter | ( | const string & | name | ) |
Unlock the filter with name name.
References RELACSPlugin::filter(), and ConfigDialog::unlock().
void unlockFilterTrace | ( | int | index | ) |
Unlock the filter for trace index.
References RELACSPlugin::filterTrace(), and ConfigDialog::unlock().
void unlockFilterTrace | ( | const string & | name | ) |
Unlock the filter for trace name.
References RELACSPlugin::filterTrace(), and ConfigDialog::unlock().
void autoConfigureFilter | ( | Filter * | filter, |
double | tbegin, | ||
double | tend | ||
) |
Auto-configure the parameter of the filter filter on the time range from tbegin to tend.
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
void autoConfigureFilter | ( | Filter * | filter, |
double | duration | ||
) |
Auto-configure the parameter of the filter filter on the last duration seconds of data.
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
void autoConfigureFilter | ( | double | tbegin, |
double | tend | ||
) |
Auto-configure the parameter of all filter and detectors on the time range from tbegin to tend. Same function as autoConfigureDetectors( double, double )
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
void autoConfigureFilter | ( | double | duration | ) |
Auto-configure the parameter of the all filter and detectors on the last duration seconds of data. Same function as autoConfigureDetectors( double )
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
Filter * detector | ( | const string & | name | ) |
Return the detector with name name.
References FilterDetectors::detector(), and RELACSPlugin::RW.
Referenced by RELACSPlugin::detectorOpts(), RELACSPlugin::lockDetector(), and RELACSPlugin::unlockDetector().
Filter * detectorEvents | ( | int | index | ) |
Return the detector for event data index.
References FilterDetectors::detector(), and RELACSPlugin::RW.
Referenced by RELACSPlugin::detectorEventsOpts(), RELACSPlugin::lockDetectorEvents(), and RELACSPlugin::unlockDetectorEvents().
Filter * detectorEvents | ( | const string & | name | ) |
Return the detector for event data name.
References FilterDetectors::detector(), EventList::index(), and RELACSPlugin::RW.
Options & detectorOpts | ( | const string & | name | ) |
Return the options of the detector with name name.
References RELACSPlugin::detector().
Options & detectorEventsOpts | ( | int | index | ) |
Return the options of the detector for event data index.
References RELACSPlugin::detectorEvents().
Options & detectorEventsOpts | ( | const string & | name | ) |
Return the options of the detector for event data name.
References RELACSPlugin::detectorEvents().
void lockDetector | ( | const string & | name | ) |
Lock the event detector with name name.
References RELACSPlugin::detector(), and ConfigDialog::lock().
void lockDetectorEvents | ( | int | index | ) |
Lock the event detector for event data index.
References RELACSPlugin::detectorEvents(), and ConfigDialog::lock().
void lockDetectorEvents | ( | const string & | name | ) |
Lock the event detector for event data name.
References RELACSPlugin::detectorEvents(), and ConfigDialog::lock().
void unlockDetector | ( | const string & | name | ) |
Unlock the event detector with name name.
References RELACSPlugin::detector(), and ConfigDialog::unlock().
void unlockDetectorEvents | ( | int | index | ) |
Unlock the event detector for event data index.
References RELACSPlugin::detectorEvents(), and ConfigDialog::unlock().
void unlockDetectorEvents | ( | const string & | name | ) |
Unlock the event detector for event data name.
References RELACSPlugin::detectorEvents(), and ConfigDialog::unlock().
void autoConfigureDetector | ( | Filter * | detector, |
double | tbegin, | ||
double | tend | ||
) |
Auto-configure the parameter of the detector detector on the time range from tbegin to tend.
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
void autoConfigureDetector | ( | Filter * | detector, |
double | duration | ||
) |
Auto-configure the parameter of the detector detector on the last duration seconds of data.
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
void autoConfigureDetectors | ( | double | tbegin, |
double | tend | ||
) |
Auto-configure the parameter of all filter and detectors on the time range from tbegin to tend. Same function as autoConfigureFilter( double, double )
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
void autoConfigureDetectors | ( | double | duration | ) |
Auto-configure the parameter of the all filter and detectors on the last duration seconds of data. Same function as autoConfigureFilter( double )
References FilterDetectors::autoConfigure(), and RELACSPlugin::RW.
double sessionTime | ( | void | ) | const |
The elapsed time of the current session in seconds.
References RELACSPlugin::RW, and Session::sessionTime().
Referenced by RELACSPlugin::sessionTimeStr().
string sessionTimeStr | ( | void | ) | const |
A string displaying the elapsed time of the current session as specified by SessionTimeFormat.
References relacs::floor(), Str::format(), RELACSPlugin::lockRelacsSettings(), relacs::min(), RELACSPlugin::relacsSettings(), Session::running(), RELACSPlugin::RW, RELACSPlugin::sessionTime(), and RELACSPlugin::unlockRelacsSettings().
bool sessionRunning | ( | void | ) | const |
True if a session is currently running.
References Session::running(), and RELACSPlugin::RW.
int reproCount | ( | void | ) | const |
The number of so far executed RePros of the running session.
References Session::reproCount(), and RELACSPlugin::RW.
|
protectedslot |
Start a new session, if it is not already running, and calls the startsession - macro.
References RELACSPlugin::RW, and Session::startTheSession().
|
protectedslot |
Stop a running session.
References RELACSPlugin::RW, and Session::stopTheSession().
|
protectedslot |
Toggles the status of the session: stops a running session or start a new session if no session is running.
References RELACSPlugin::RW, and Session::toggleSession().
Referenced by DefaultSession::DefaultSession().
|
protectedslot |
Move the focus back to the top level window. Call this function, for example, for a button that wa clicked, by connecting removeFocus() to the button's clicked() signal.
References RELACSPlugin::RW.
|
virtual |
This function is called whenever a new recording session is started. Implement this function to do, for example, some initialization.
Reimplemented in RePro, and DefaultSession.
Referenced by RELACSWidget::startSession().
|
virtual |
This function is called whenever a recording session is stopped. Implement this function to do, for example, some initialization or reset. If the session was saved saved is set to true
.
Reimplemented in RePro, and DefaultSession.
Referenced by RELACSWidget::stopSession().
|
protected |
Return the control with index index.
References ControlTabs::control(), and RELACSPlugin::RW.
Referenced by RELACSPlugin::controlOpts(), RELACSPlugin::lockControl(), and RELACSPlugin::unlockControl().
|
protected |
Return the control with name name.
References ControlTabs::control(), and RELACSPlugin::RW.
|
protected |
Return the options of the control widget with index index.
References RELACSPlugin::control().
|
protected |
Return the options of the control widget with name name.
References RELACSPlugin::control().
|
protected |
Lock the control with index index.
References RELACSPlugin::control(), and ConfigDialog::lock().
|
protected |
Lock the control with name name.
References RELACSPlugin::control(), and ConfigDialog::lock().
|
protected |
Unlock the control with index index.
References RELACSPlugin::control(), and ConfigDialog::unlock().
|
protected |
Unlock the control with name name.
References RELACSPlugin::control(), and ConfigDialog::unlock().
|
protected |
Return the model.
References RELACSPlugin::RW.
Referenced by RELACSPlugin::lockModel(), RELACSPlugin::modelOpts(), and RELACSPlugin::unlockModel().
|
protected |
Return the options of the model.
References RELACSPlugin::model().
|
protected |
Lock the model mutex.
References ConfigDialog::lock(), and RELACSPlugin::model().
|
protected |
Unlock the model mutex.
References RELACSPlugin::model(), and ConfigDialog::unlock().
|
protected |
Return the list of RePros.
References RELACSPlugin::RW.
Referenced by RePro::macroName(), RePro::macroParam(), and RePro::message().
|
protected |
Return the additional options for the RePros dialog.
References RePros::dialogOptions(), and RELACSPlugin::RW.
Referenced by RePro::dialog().
|
protected |
Return the RePro with index index.
References RePros::repro(), and RELACSPlugin::RW.
Referenced by Macros::check(), RELACSPlugin::lockRePro(), RELACSPlugin::reproOpts(), and RELACSPlugin::unlockRePro().
|
protected |
Return the RePro with name name.
References RePros::repro(), and RELACSPlugin::RW.
|
protected |
Return the options of the RePro with index index.
References RELACSPlugin::repro().
|
protected |
Return the options of the RePro with name name.
References RELACSPlugin::repro().
|
protected |
Lock the RePro with index index.
References ConfigDialog::lock(), and RELACSPlugin::repro().
|
protected |
Lock the RePro with name name.
References ConfigDialog::lock(), and RELACSPlugin::repro().
|
protected |
Unlock the RePro with index index.
References RELACSPlugin::repro(), and ConfigDialog::unlock().
|
protected |
Unlock the RePro with name name.
References RELACSPlugin::repro(), and ConfigDialog::unlock().
|
protected |
Return the currently running RePro.
References RELACSPlugin::RW.
Referenced by RELACSPlugin::currentReProOpts(), RELACSPlugin::lockCurrentRePro(), and RELACSPlugin::unlockCurrentRePro().
|
protected |
Return the options of the currently running RePro.
References RELACSPlugin::currentRePro().
|
protected |
Lock the current RePro.
References RELACSPlugin::currentRePro(), and ConfigDialog::lock().
|
protected |
Unlock the current RePro.
References RELACSPlugin::currentRePro(), and ConfigDialog::unlock().
|
protectedvirtual |
Reimplement this function in case you need to handle key-press events.
Reimplemented in RePro, and PlotTrace.
Referenced by RELACSPlugin::eventFilter(), and PlotTrace::keyPressEvent().
|
protectedvirtual |
Reimplement this function in case you need to handle key-release events.
Reimplemented in RePro.
Referenced by RELACSPlugin::eventFilter().
|
protectedvirtual |
This function calls keyPressEvent() and keyReleaseEvent() by listening to the events the widget() is receiving.
Reimplemented in RePro.
References RELACSPlugin::keyPressEvent(), and RELACSPlugin::keyReleaseEvent().
Referenced by RePro::eventFilter().
|
protected |
Set the mouse cursor of the application for indicating busy activity in a thread-safe way.
References RELACSPlugin::postCustomEvent().
|
protected |
Restore the mouse cursor of the application in a thread-safe way.
References RELACSPlugin::postCustomEvent().
bool globalKeyEvents | ( | void | ) |
true
if the key event handlers should be called irrespective of the visibility of the corresponding widget. void setGlobalKeyEvents | ( | bool | global = true | ) |
Set global to true
in order to make the key event handlers to be called irrespective of the visibility of the corresponding widget().
|
virtualslot |
Write the plugin's options to standard output in a format that can directly be used for the doxygen documentation of the plugin.
References ConfigDialog::author(), ConfigDialog::date(), ConfigDialog::name(), RELACSPlugin::pluginSet(), and ConfigDialog::version().
Referenced by Control::addActions(), and Model::addActions().
|
virtualslot |
Save the plugin's widget as an png file to the current working directory. The name of the png file is the plugin's name() in lowercase.
References RELACSPlugin::info(), Str::lower(), and ConfigDialog::name().
Referenced by Control::addActions(), and Model::addActions().
|
protectedslot |
Mute the audio monitor.
References AudioMonitor::mute(), and RELACSPlugin::RW.
|
protectedslot |
Unmute the audio monitor.
References RELACSPlugin::RW, and AudioMonitor::unmute().
|
protectedvirtualslot |
Called from warning(), info(), updateDeviceMenu(). If you reimplement this event handler, don't forget to call this implementation via RELACSPlugin::customEvent().
Reimplemented in PlotTrace.
References MessageBox::information(), RELACSPlugin::RW, RelacsPluginEvent::text(), RelacsPluginEvent::timeOut(), RELACSPlugin::uniqueName(), DeviceList< T, PluginID >::updateMenu(), and MessageBox::warning().
Referenced by RePro::customEvent().
|
protectedslot |
Informs the plugin that the associated widget is going to be destroyed.
Referenced by RELACSPlugin::setWidget().
|
static |
The identifier for plugins derived from the Device-class.
|
static |
The identifier for plugins derived from the AnalogInput-class.
Referenced by RELACSWidget::RELACSWidget().
|
static |
The identifier for plugins derived from the AnalogOutput-class.
Referenced by RELACSWidget::RELACSWidget().
|
static |
The identifier for plugins derived from the AnalogOutput-class.
|
static |
The identifier for plugins derived from the Trigger-class.
|
static |
The identifier for plugins derived from the Attenuator-class.
Referenced by RELACSWidget::RELACSWidget().
|
static |
The identifier for plugins derived from the Attenuate-class.
|
static |
The identifier for plugins derived from the Model-class.
Referenced by RELACSWidget::RELACSWidget(), and RELACSWidget::~RELACSWidget().
|
static |
The identifier for plugins derived from the Filter-class.
Referenced by FilterDetectors::clear(), and FilterDetectors::createFilters().
|
static |
The identifier for plugins derived from the RePro-class.
Referenced by ReProData::reload(), RePros::RePros(), and RePros::~RePros().
|
static |
The identifier for plugins derived from the Control-class.
Referenced by ControlTabs::createControls(), and ControlTabs::~ControlTabs().
|
static |
Config-File group for RELACS core classes (=0).
Referenced by MetaData::add(), RELACSWidget::RELACSWidget(), and RELACSWidget::startSession().
|
static |
Config-File group for alr RELACS plugins, i.e. RePro, Filter, Control, Model, ... classes (=1).
Referenced by MetaDataGroup::clear(), MetaDataGroup::readConfig(), RELACSWidget::startFirstAcquisition(), RELACSWidget::startIdle(), and RELACSWidget::startSession().
|
protected |
Pointer to the main RELACSWidget.
Referenced by RELACSPlugin::acquisition(), RELACSPlugin::activateGains(), RELACSPlugin::addDefaultPath(), RePro::addPath(), RELACSPlugin::addPath(), RELACSPlugin::adjustGain(), RELACSPlugin::analysis(), RELACSPlugin::attenuator(), RELACSPlugin::autoConfigureDetector(), RELACSPlugin::autoConfigureDetectors(), RELACSPlugin::autoConfigureFilter(), RELACSPlugin::control(), RELACSPlugin::currentRePro(), RELACSPlugin::customEvent(), RELACSPlugin::defaultPath(), RELACSPlugin::detector(), RELACSPlugin::detectorEvents(), RELACSPlugin::device(), RELACSPlugin::devices(), RePro::dialog(), RELACSPlugin::digitalIO(), RePro::directWrite(), PlotTrace::displayData(), PlotTrace::displayIndex(), RELACSPlugin::eventInputEvent(), RELACSPlugin::eventInputTrace(), RELACSPlugin::filter(), RELACSPlugin::filterTrace(), RELACSPlugin::getData(), RELACSPlugin::idle(), PlotTrace::init(), RePro::intensities(), RePro::keepFocus(), RePro::levels(), RELACSPlugin::lockMetaData(), RELACSPlugin::lockRelacsSettings(), RELACSPlugin::lockStimulusData(), RePro::maxIntensity(), RePro::maxLevel(), RELACSPlugin::maxValues(), RELACSPlugin::maxVoltages(), RELACSPlugin::metaData(), RELACSPlugin::metaDataMutex(), RePro::minIntensity(), RePro::minLevel(), RELACSPlugin::model(), RELACSPlugin::modeStr(), PlotTrace::moveEnd(), PlotTrace::moveLeft(), PlotTrace::moveRight(), PlotTrace::moveSignalOffsLeft(), PlotTrace::moveSignalOffsRight(), PlotTrace::moveStart(), PlotTrace::moveToSignal(), RELACSPlugin::muteAudioMonitor(), RELACSPlugin::outTrace(), RELACSPlugin::outTraceIndex(), RELACSPlugin::outTraceName(), RELACSPlugin::outTraceNames(), RELACSPlugin::outTracesSize(), RELACSPlugin::path(), RELACSPlugin::printlog(), RELACSPlugin::RELACSPlugin(), RELACSPlugin::relacsSettings(), RELACSPlugin::relacsSettingsMutex(), RELACSPlugin::removeFocus(), RELACSPlugin::repro(), RELACSPlugin::reproCount(), RELACSPlugin::repros(), RELACSPlugin::reprosDialogOpts(), RELACSPlugin::saving(), RELACSPlugin::sessionRunning(), RELACSPlugin::sessionTime(), RELACSPlugin::sessionTimeStr(), RELACSPlugin::setGain(), RELACSPlugin::setRELACSWidget(), RePro::setSaving(), RELACSPlugin::setSignalDelay(), RELACSPlugin::simulation(), RePro::sleep(), RELACSPlugin::startTheSession(), RePro::startWrite(), RELACSPlugin::stimulusData(), RELACSPlugin::stimulusDataMutex(), RELACSPlugin::stimulusDataTraceFlag(), RELACSPlugin::stopTheSession(), RePro::stopWrite(), RePro::testWrite(), PlotTrace::toggleGrid(), RELACSPlugin::toggleSession(), PlotTrace::toggleTrigger(), RELACSPlugin::traceInputEvent(), RELACSPlugin::traceInputTrace(), RePro::tracePlotContinuous(), RePro::tracePlotOff(), RePro::tracePlotOn(), RePro::tracePlotSignal(), RELACSPlugin::trigger(), RELACSPlugin::unlockMetaData(), RELACSPlugin::unlockRelacsSettings(), RELACSPlugin::unlockStimulusData(), RELACSPlugin::unmuteAudioMonitor(), PlotTrace::viewEnd(), PlotTrace::viewSignal(), PlotTrace::viewWrapped(), Control::waitOnData(), Control::waitOnReProFinished(), Control::waitOnReProSleep(), Control::waitOnSessionPrestop(), Control::waitOnSessionStart(), Control::waitOnSessionStop(), RePro::write(), RePro::writeZero(), PlotTrace::zoomIn(), and PlotTrace::zoomOut().