16 using namespace kome::operation;
21 #define new new( _NORMAL_BLOCK, __FILE__, __LINE__ )
22 #define malloc( s ) _malloc_dbg( s, _NORMAL_BLOCK, __FILE__, __LINE__ )
62 if( progress ==
NULL ) {
67 onPrepare( standard, treatment, progress );
75 if( standard == treatment || standard ==
NULL || treatment ==
NULL ) {
87 if( standard == treatment || standard ==
NULL || treatment ==
NULL ) {
99 if( standard == treatment || standard ==
NULL || treatment ==
NULL ) {
111 if( standard == treatment || standard ==
NULL || treatment ==
NULL ) {
186 if( align !=
NULL ) {
193 if( align !=
NULL ) {
virtual double onInvertMz(const double rt, const double mz)=0
This method is called by invertMz method. (abstract method)
static Progress & getIgnoringProgress()
gets progress object. But this object does nothing even if a method is called.
virtual double onConvertMz(const double rt, const double mz)=0
This method is called by convertMz method. (abstract method)
DefaultAlignment()
constructor
virtual ~AlignmentManager()
destructor
double invertMz(const double rt, const double mz)
gets m/z before alignment
double convertRt(const double rt, const double mz)
gets aligned RT
alignment object management class
kome::objects::Sample * getTreatmentSample()
gets the treatment sample
AlignmentManager()
cosntructor
sample information management class
virtual double onInvertMz(const double rt, const double mz)
This method is called by invertMz method. (override method)
std::set< Alignment * > m_alignSet
virtual double onConvertRt(const double rt, const double mz)
This method is called by convertRt method. (override method)
virtual double onConvertRt(const double rt, const double mz)=0
This method is called by convertRt method. (abstract method)
void addAlignment(Alignment *align)
adds alignment object
progress display abstract class
double invertRt(const double rt, const double mz)
gets RT before alignment
kome::objects::Sample * getStandardSample()
gets the standard sample
kome::objects::Sample * m_standard
double convertMz(const double rt, const double mz)
gets aligned m/z
static Alignment & getDefaultAlignment()
gets default alignment
virtual ~Alignment()
destructor
virtual void onPrepare(kome::objects::Sample *standard, kome::objects::Sample *treatment, kome::core::Progress *progress)
This method is called by prepare method. (override method)
virtual ~DefaultAlignment()
destructor
interfaces of Alignment class
void removeAlignment(Alignment *align)
removes alignment object
static AlignmentManager & getInstance()
gets alignment manager object (This is the only object.)
virtual double onConvertMz(const double rt, const double mz)
This method is called by convertMz method. (override method)
virtual double onInvertRt(const double rt, const double mz)=0
This method is called by invertRt method. (abstract method)
kome::objects::Sample * m_treatment
virtual double onInvertRt(const double rt, const double mz)
This method is called by invertRt method. (override method)
void prepare(kome::objects::Sample *standard, kome::objects::Sample *treatment, kome::core::Progress *progress)
prepares alignment
virtual void onPrepare(kome::objects::Sample *standard, kome::objects::Sample *treatment, kome::core::Progress *progress)=0
This method is called by prepare method. (abstract method)