AstRawDark
Manage your astrophoto dark frames
 All Classes Functions Variables Enumerations Enumerator Pages
ScanDarkSourceCommand Class Reference

Command that fetches all dark frames metadata. More...

#include <scanDarkSourceCommand.h>

Inheritance diagram for ScanDarkSourceCommand:
Collaboration diagram for ScanDarkSourceCommand:

Signals

void scanDone (QList< ImageInfo > result)
 tell everyone we completed the scan
void scanStarted ()
 tell everyone we just started scanning

Public Member Functions

 ScanDarkSourceCommand (const QStringList sources)
 Constructor.
virtual ~ScanDarkSourceCommand ()
 Destructor.
- Public Member Functions inherited from AbstractScanCommand
virtual ~AbstractScanCommand ()
 Destructor.
- Public Member Functions inherited from AbstractCommand
virtual ~AbstractCommand ()
 Default destructor.
void execute ()
 execute command payload
const QString & getDescription () const
 get command's description displayed in command log
const StatusgetStatus () const
 get command's running status
qint64 getElapsed () const
 Get command's total execution time.
int getSerial () const
 Get command's serial number.
bool hasErrors () const
 Tells if this command encountered errors during execution.
bool hasWarning () const
 Tells if this command encountered warnings during execution.
const QStringList & getReportMessages () const
 Get command's report messages.
const QString & getProgessMessage () const
 Get command's progress message.
const CommandReportgetCommandReport () const
 Get command's processing report.
const QString getStatusString () const
 Get a string representation of a command's status.

Protected Member Functions

virtual void do_processing ()
 processing payload
- Protected Member Functions inherited from AbstractScanCommand
 AbstractScanCommand (const QStringList sources)
 Constructor.
void getRawPathsInDirectory (const QString directory)
 Get a list of Canon RAW file paths located inside a directory.
void retrieveExifMetadata ()
 Retrieve EXIF metadata for a list of file path.
void checkForErrors ()
 check for scan errors
- Protected Member Functions inherited from AbstractCommand
 AbstractCommand ()
 Default constructor.
virtual void setup ()
 Any subclass can redefine this function to make any necessary preparation before acutal payload processing.
virtual void cleanup ()
 Any subclass can redefine this function to make any necessary cleanup before acutal payload processing.

Additional Inherited Members

- Public Types inherited from AbstractCommand
enum  Status { SCHEDULED, RUNNING, COMPLETE }
 The Status enum describes a command's running status. More...
- Protected Attributes inherited from AbstractScanCommand
const QStringList _sources
 Dark source folder paths.
QStringList _badFilesPaths
 Paths of invalid files.
QStringList _shortFilesPaths
 Paths of short exposure files.
QList< QString > _imagePaths
 A list of RAW file paths.
QList< ImageInfo_imageInfos
 A list of ImageInfo, result of EXIF metadata retrieval.

Detailed Description

Command that fetches all dark frames metadata.

Definition at line 28 of file scanDarkSourceCommand.h.

Constructor & Destructor Documentation

ScanDarkSourceCommand::ScanDarkSourceCommand ( const QStringList  sources)
explicit

Constructor.

Parameters
sourcesdark source folder paths

Definition at line 31 of file scanDarkSourceCommand.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files: