BioSignalPi
v2
|
Singleton containing all settings used by the Biosignal PI Framework. More...
#include <settingssingleton.h>
Public Member Functions | |
virtual | ~SettingsSingleton () |
void | setFileName (QString fileName) |
Used to set private variable fileName. More... | |
void | setName (QString name) |
Used to set private variable name. More... | |
void | setGender (QString gender) |
Used to set private variable gender. More... | |
void | setBirthDate (QString birthDate) |
Used to set private variable birthDate. More... | |
void | setPatientCode (QString patientCode) |
Used to set private variable patientCode. More... | |
void | setRecordingName (QString recordingName) |
Used to set private variable recordingName. More... | |
void | setNotes (QString notes) |
Used to set private variable notes. More... | |
void | setSampleRate (int sampleRate) |
Used to set private variable sampleRate. More... | |
void | setSource (QString source) |
Used to set private QString source. More... | |
void | setSourceId (int sourceId) |
Used to set private int name. More... | |
void | setSaveAsEdf (bool saveAsEdf) |
Set the private bool saveAsEdf. More... | |
QString | getFileName () |
Returns a QString containing the value from private QString fileName. More... | |
QString | getName () |
Returns a QString containing the value from private QString name. More... | |
QString | getGender () |
Returns a QString containing the value from private QString gender. More... | |
QString | getBirthDate () |
Returns a QString containing the value from private QString birthDate. More... | |
QString | getPatientCode () |
Returns a QString containing the value from private QString patientCode. More... | |
QString | getRecordingName () |
Returns a QString containing the value from private QString recordingName. More... | |
QString | getNotes () |
Returns a QString containing the value from private QString notes. More... | |
int | getSampleRate () |
Returns a int containing the value from private int sampleRate. More... | |
QString | getSource () |
Returns a QString containing the value from private QString source. More... | |
int | getSourceId () |
Returns a int containing the value from private int sourceId. More... | |
bool | getSaveAsEdf () |
Returns the private bool saveAsEdf. More... | |
Static Public Member Functions | |
static SettingsSingleton & | instance () |
Retrives a reference to the ONE and ONLY SettingsSingleton created for the application. More... | |
Protected Member Functions | |
SettingsSingleton () | |
Protected constructur called by instance() to create ONE and ONLY ONE SettingsSingleton. More... | |
Singleton containing all settings used by the Biosignal PI Framework.
Definition at line 12 of file settingssingleton.h.
|
virtual |
Definition at line 19 of file settingssingleton.cpp.
|
protected |
Protected constructur called by instance() to create ONE and ONLY ONE SettingsSingleton.
Definition at line 3 of file settingssingleton.cpp.
QString SettingsSingleton::getBirthDate | ( | ) |
Returns a QString containing the value from private QString birthDate.
Definition at line 71 of file settingssingleton.cpp.
QString SettingsSingleton::getFileName | ( | ) |
Returns a QString containing the value from private QString fileName.
Definition at line 62 of file settingssingleton.cpp.
QString SettingsSingleton::getGender | ( | ) |
Returns a QString containing the value from private QString gender.
Definition at line 68 of file settingssingleton.cpp.
QString SettingsSingleton::getName | ( | ) |
Returns a QString containing the value from private QString name.
Definition at line 65 of file settingssingleton.cpp.
QString SettingsSingleton::getNotes | ( | ) |
Returns a QString containing the value from private QString notes.
Definition at line 80 of file settingssingleton.cpp.
QString SettingsSingleton::getPatientCode | ( | ) |
Returns a QString containing the value from private QString patientCode.
Definition at line 74 of file settingssingleton.cpp.
QString SettingsSingleton::getRecordingName | ( | ) |
Returns a QString containing the value from private QString recordingName.
Definition at line 77 of file settingssingleton.cpp.
int SettingsSingleton::getSampleRate | ( | ) |
Returns a int containing the value from private int sampleRate.
Definition at line 83 of file settingssingleton.cpp.
bool SettingsSingleton::getSaveAsEdf | ( | ) |
Returns the private bool saveAsEdf.
Definition at line 92 of file settingssingleton.cpp.
QString SettingsSingleton::getSource | ( | ) |
Returns a QString containing the value from private QString source.
Definition at line 86 of file settingssingleton.cpp.
int SettingsSingleton::getSourceId | ( | ) |
Returns a int containing the value from private int sourceId.
Definition at line 89 of file settingssingleton.cpp.
|
static |
Retrives a reference to the ONE and ONLY SettingsSingleton created for the application.
Definition at line 23 of file settingssingleton.cpp.
void SettingsSingleton::setBirthDate | ( | QString | birthDate | ) |
Used to set private variable birthDate.
birthDate | the birthDate to change the private variable to. |
Definition at line 37 of file settingssingleton.cpp.
void SettingsSingleton::setFileName | ( | QString | fileName | ) |
Used to set private variable fileName.
Definition at line 28 of file settingssingleton.cpp.
void SettingsSingleton::setGender | ( | QString | gender | ) |
Used to set private variable gender.
gender | the gender to change the private variable to. |
Definition at line 34 of file settingssingleton.cpp.
void SettingsSingleton::setName | ( | QString | name | ) |
Used to set private variable name.
name | the name to change the private variable to. |
Definition at line 31 of file settingssingleton.cpp.
void SettingsSingleton::setNotes | ( | QString | notes | ) |
Used to set private variable notes.
notes | the notes to change the private variable to. |
Definition at line 46 of file settingssingleton.cpp.
void SettingsSingleton::setPatientCode | ( | QString | patientCode | ) |
Used to set private variable patientCode.
patientCode | the patientCode to change the private variable to. |
Definition at line 40 of file settingssingleton.cpp.
void SettingsSingleton::setRecordingName | ( | QString | recordingName | ) |
Used to set private variable recordingName.
recordingName | the recordingName to change the private variable to. |
Definition at line 43 of file settingssingleton.cpp.
void SettingsSingleton::setSampleRate | ( | int | sampleRate | ) |
Used to set private variable sampleRate.
sampleRate | the sampleRate to change the private variable to. |
Definition at line 49 of file settingssingleton.cpp.
void SettingsSingleton::setSaveAsEdf | ( | bool | saveAsEdf | ) |
Set the private bool saveAsEdf.
saveAsEdf |
Definition at line 58 of file settingssingleton.cpp.
void SettingsSingleton::setSource | ( | QString | source | ) |
Used to set private QString source.
source | the source to change the private variable to. |
Definition at line 52 of file settingssingleton.cpp.
void SettingsSingleton::setSourceId | ( | int | sourceId | ) |
Used to set private int name.
sourceId | the sourceId to change the private variable to. |
Definition at line 55 of file settingssingleton.cpp.