#include <AlignableDataIO.h>
Protected Types | |
enum | PosType { Abs, Org, Rel } |
Protected Member Functions | |
AlignableDataIO (PosType p) | |
Constructor. More... | |
virtual int | close (void)=0 |
Close IO handle. More... | |
virtual int | open (const char *filename, int iteration, bool writemode)=0 |
Open IO handle. More... | |
AlignableAbsData | readAbsPos (Alignable *ali, int &ierr) |
Read absolute positions of one Alignable. More... | |
AlignablePositions | readAbsPos (const align::Alignables &alivec, int &ierr) |
Read absolute positions of many Alignables. More... | |
virtual AlignableAbsData | readAbsRaw (Alignable *ali, int &ierr)=0 |
Read absolute positions. More... | |
AlignableAbsData | readOrgPos (Alignable *ali, int &ierr) |
Read original positions of one Alignable. More... | |
AlignablePositions | readOrgPos (const align::Alignables &alivec, int &ierr) |
Read original positions of many Alignables. More... | |
AlignableRelData | readRelPos (Alignable *ali, int &ierr) |
Read relative positions of one Alignable. More... | |
AlignableShifts | readRelPos (const align::Alignables &alivec, int &ierr) |
Read relative positions of many Alignables. More... | |
virtual AlignableRelData | readRelRaw (Alignable *ali, int &ierr)=0 |
Read relative positions. More... | |
int | writeAbsPos (Alignable *ali, bool validCheck) |
Write absolute positions of one Alignable. More... | |
int | writeAbsPos (const align::Alignables &alivec, bool validCheck) |
Write absolute positions of many Alignables. More... | |
virtual int | writeAbsRaw (const AlignableAbsData &ad)=0 |
Write absolute positions. More... | |
int | writeOrgPos (Alignable *ali, bool validCheck) |
Write original positions of one Alignable. More... | |
int | writeOrgPos (const align::Alignables &alivec, bool validCheck) |
Write original positions of many Alignables. More... | |
int | writeRelPos (Alignable *ali, bool validCheck) |
Write relative positions of one Alignable. More... | |
int | writeRelPos (const align::Alignables &alivec, bool validCheck) |
Write relative positions of many Alignables. More... | |
virtual int | writeRelRaw (const AlignableRelData &ad)=0 |
Write relative positions. More... | |
virtual | ~AlignableDataIO () |
Destructor. More... | |
Protected Attributes | |
PosType | thePosType |
Abstract base class for IO of alignable positions/shifts. Derived concrete class must implement raw read/write methods
Definition at line 9 of file AlignableDataIO.h.
|
protected |
Enumerator | |
---|---|
Abs | |
Org | |
Rel |
Definition at line 14 of file AlignableDataIO.h.
|
inlineprotected |
|
inlineprotectedvirtual |
|
protectedpure virtual |
Close IO handle.
Implemented in AlignableDataIORoot.
Referenced by lumiQTWidget.ApplicationWindow::fileQuit(), and Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent().
|
protectedpure virtual |
Open IO handle.
Implemented in AlignableDataIORoot.
|
protected |
Read absolute positions of one Alignable.
Definition at line 10 of file AlignableDataIO.cc.
|
protected |
Read absolute positions of many Alignables.
Definition at line 123 of file AlignableDataIO.cc.
|
protectedpure virtual |
Read absolute positions.
Implemented in AlignableDataIORoot.
|
protected |
Read original positions of one Alignable.
Definition at line 17 of file AlignableDataIO.cc.
|
protected |
Read original positions of many Alignables.
Definition at line 164 of file AlignableDataIO.cc.
|
protected |
Read relative positions of one Alignable.
Definition at line 24 of file AlignableDataIO.cc.
|
protected |
Read relative positions of many Alignables.
Definition at line 203 of file AlignableDataIO.cc.
|
protectedpure virtual |
Read relative positions.
Implemented in AlignableDataIORoot.
|
protected |
Write absolute positions of one Alignable.
Definition at line 31 of file AlignableDataIO.cc.
|
protected |
Write absolute positions of many Alignables.
Definition at line 103 of file AlignableDataIO.cc.
|
protectedpure virtual |
Write absolute positions.
Implemented in AlignableDataIORoot.
|
protected |
Write original positions of one Alignable.
Definition at line 83 of file AlignableDataIO.cc.
|
protected |
Write original positions of many Alignables.
Definition at line 144 of file AlignableDataIO.cc.
|
protected |
Write relative positions of one Alignable.
Definition at line 63 of file AlignableDataIO.cc.
|
protected |
Write relative positions of many Alignables.
Definition at line 185 of file AlignableDataIO.cc.
|
protectedpure virtual |
Write relative positions.
Implemented in AlignableDataIORoot.
|
protected |
Definition at line 79 of file AlignableDataIO.h.
Referenced by AlignableDataIORoot::AlignableDataIORoot().