QXRD
0.11.16
|
#include <qxrdcalibrantlibrary.h>
Public Slots | |
int | count () |
QString | calibrantName (int n) |
QxrdCalibrantWPtr | calibrant (int n) |
Public Slots inherited from QcepObject | |
virtual void | printLine (QString line) |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) const |
virtual void | criticalMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual void | statusMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual QString | settingsScript () |
QString | scriptValueLiteral (QVariant v) |
Public Member Functions | |
QxrdCalibrantLibrary (QcepSettingsSaverWPtr saver, QxrdExperimentWPtr exp) | |
virtual | ~QxrdCalibrantLibrary () |
void | readSettings (QSettings *settings, QString section) |
void | writeSettings (QSettings *settings, QString section) |
void | removeCalibrant () |
void | appendCalibrant (QxrdCalibrantPtr cal=QxrdCalibrantPtr()) |
int | numberStandardCalibrants () |
QxrdCalibrantPtr | standardCalibrant (int n) |
Public Member Functions inherited from QcepObject | |
QcepObject (QString name, QcepObject *parent) | |
virtual | ~QcepObject () |
QString | get_Name () const |
void | set_Name (QString name) |
Private Attributes | |
QMutex | m_Mutex |
QcepSettingsSaverWPtr | m_Saver |
QxrdExperimentWPtr | m_Experiment |
QVector< QxrdCalibrantPtr > | m_Calibrants |
Additional Inherited Members | |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Properties inherited from QcepObject | |
QString | name |
Definition at line 12 of file qxrdcalibrantlibrary.h.
QxrdCalibrantLibrary::QxrdCalibrantLibrary | ( | QcepSettingsSaverWPtr | saver, |
QxrdExperimentWPtr | exp | ||
) |
Definition at line 6 of file qxrdcalibrantlibrary.cpp.
References appendCalibrant(), numberStandardCalibrants(), and standardCalibrant().
|
virtual |
Definition at line 18 of file qxrdcalibrantlibrary.cpp.
void QxrdCalibrantLibrary::appendCalibrant | ( | QxrdCalibrantPtr | cal = QxrdCalibrantPtr() | ) |
Definition at line 98 of file qxrdcalibrantlibrary.cpp.
References m_Calibrants, and standardCalibrant().
Referenced by QxrdCalibrantLibrary(), and readSettings().
|
slot |
Definition at line 258 of file qxrdcalibrantlibrary.cpp.
References m_Calibrants.
|
slot |
Definition at line 247 of file qxrdcalibrantlibrary.cpp.
References m_Calibrants.
|
slot |
Definition at line 242 of file qxrdcalibrantlibrary.cpp.
References m_Calibrants.
int QxrdCalibrantLibrary::numberStandardCalibrants | ( | ) |
Definition at line 107 of file qxrdcalibrantlibrary.cpp.
Referenced by QxrdCalibrantLibrary(), readSettings(), and writeSettings().
|
virtual |
Reimplemented from QcepObject.
Definition at line 25 of file qxrdcalibrantlibrary.cpp.
References appendCalibrant(), m_Calibrants, m_Mutex, numberStandardCalibrants(), QcepObject::readSettings(), and removeCalibrant().
void QxrdCalibrantLibrary::removeCalibrant | ( | ) |
Definition at line 93 of file qxrdcalibrantlibrary.cpp.
References m_Calibrants.
Referenced by readSettings().
QxrdCalibrantPtr QxrdCalibrantLibrary::standardCalibrant | ( | int | n | ) |
Definition at line 112 of file qxrdcalibrantlibrary.cpp.
References QxrdCalibrant::BodyCenteredCubic, QxrdCalibrant::DiamondCubic, QxrdCalibrant::FaceCenteredCubic, m_Experiment, m_Saver, QxrdCalibrant::RHexagonal, and QxrdCalibrant::SimpleCubic.
Referenced by appendCalibrant(), and QxrdCalibrantLibrary().
|
virtual |
Reimplemented from QcepObject.
Definition at line 64 of file qxrdcalibrantlibrary.cpp.
References m_Calibrants, m_Mutex, numberStandardCalibrants(), and QcepObject::writeSettings().
|
private |
Definition at line 40 of file qxrdcalibrantlibrary.h.
Referenced by appendCalibrant(), calibrant(), calibrantName(), count(), readSettings(), removeCalibrant(), and writeSettings().
|
private |
Definition at line 39 of file qxrdcalibrantlibrary.h.
Referenced by standardCalibrant().
|
mutableprivate |
Definition at line 37 of file qxrdcalibrantlibrary.h.
Referenced by readSettings(), and writeSettings().
|
private |
Definition at line 38 of file qxrdcalibrantlibrary.h.
Referenced by standardCalibrant().