Isis 3 Programmer Reference
|
Handles how control networks should be displayed to the user. More...
#include <CnetDisplayProperties.h>
Signals | |
void | composeProgressChanged (int) |
void | composeProgressRangeChanged (int, int) |
void | compositionFinished () |
Public Member Functions | |
bool | currentlyComposing () const |
QList< QString > | getCubeList (ControlNet *cnet) const |
TODO comment me. More... | |
QString | getFileName (QString fileName, bool forceFullPaths=false) const |
QString | getImageName (QString cubeSerialNumber, bool forceFullPaths=false) const |
QString | getSerialNumber (QString imageId) |
bool | getShowsFullPaths () const |
void | setCubeList (QString fileName) |
void | setFileNameUsage (bool preferFileNames) |
void | setShowsFullPaths (bool newState) |
Static Public Member Functions | |
static CnetDisplayProperties * | getInstance () |
Private Slots | |
void | composeStatusUpdated () |
void | serialNumbersComposed () |
Private Member Functions | |
CnetDisplayProperties (CnetDisplayProperties const &) | |
CnetDisplayProperties & | operator= (CnetDisplayProperties const &) |
QMap< QString, QString > | composeSerialNumbers (QStringList fileNames) |
void | nullify () |
Private Attributes | |
bool | useFileNames |
QMap< QString, QString > * | m_serialNumberToFileNameMap |
QFutureWatcher< QMap< QString, QString > > * | m_composeWatcher |
QTimer * | m_composeStatusPoller |
QAtomicInt * | m_composedCount |
QAtomicInt * | m_interruptFlag |
bool | m_curComposing |
bool | m_showFullPath |
QReadWriteLock * | m_readWriteLock |
Static Private Attributes | |
static CnetDisplayProperties * | m_instance = NULL |
Handles how control networks should be displayed to the user.
This class handles how control networks should be displayed to the user. For example, this class keeps track of whether cube serial numbers or file names should be displayed to the user, and provides an interface to translate between the two.
This class is a singleton.
Definition at line 41 of file CnetDisplayProperties.h.
QList< QString > Isis::CnetDisplayProperties::getCubeList | ( | ControlNet * | cnet | ) | const |
TODO comment me.
If a cube list is currently being loaded, this method will return an empty list. If there is no cube list, it will also return an empty list.
This method is thread safe.
Definition at line 114 of file CnetDisplayProperties.cpp.
References Isis::ControlNet::GetCubeSerials(), and getImageName().
QString Isis::CnetDisplayProperties::getImageName | ( | QString | cubeSerialNumber, |
bool | forceFullPaths = false |
||
) | const |
cubeSerialNumber | Cube serial number as a QString |
This method is thread safe!
Definition at line 154 of file CnetDisplayProperties.cpp.
Referenced by getCubeList().