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

Compute the size of the largest darks set that matches T° distribution with curerntly scanned lights. More...

#include <computeBestMatchCommand.h>

Inheritance diagram for ComputeBestMatchCommand:
Collaboration diagram for ComputeBestMatchCommand:

Signals

void matchFound (QList< ImageInfo > matchedDarks)
 A best match was found.
void bestMatchCount (int count)
 A best match was found.
- Signals inherited from AbstractCommand
void statusChanged (AbstractCommand *)
 Advertise status changes.
void progress (int)
 advertise progress
void progressMax (int)
 advertise max progress steps change

Public Member Functions

virtual void do_processing ()
 The actual processing payload of this command.
- 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.

Additional Inherited Members

- Public Types inherited from AbstractCommand
enum  Status { SCHEDULED, RUNNING, COMPLETE }
 The Status enum describes a command's running status. More...
- 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.
- Protected Attributes inherited from AbstractCommand
QString _description
 Command description.
QString _message
 Command progress message.
QStringList _reportMessages
 Command report messages.
Status _status
 Command running status.
QElapsedTimer _timer
 Timer used to get total running time.
qint64 _elapsed
 Command total running time.
int _serial
 Command serial number.
bool _error
 Flag used to tell if command encountered error during payload processing.
bool _warning
 Flag used to tell if command encountered warnings during payload processing.
CommandReport _commandReport
 The command's processing report.

Detailed Description

Compute the size of the largest darks set that matches T° distribution with curerntly scanned lights.

Definition at line 30 of file computeBestMatchCommand.h.

Member Function Documentation

void ComputeBestMatchCommand::bestMatchCount ( int  count)
signal

A best match was found.

Parameters
countthe size of our matched dark set

Here is the caller graph for this function:

void ComputeBestMatchCommand::do_processing ( )
virtual

The actual processing payload of this command.

All sublasses MUST implement this function.

Implements AbstractCommand.

Definition at line 51 of file computeBestMatchCommand.cpp.

Here is the call graph for this function:

void ComputeBestMatchCommand::matchFound ( QList< ImageInfo matchedDarks)
signal

A best match was found.

Parameters
matchedDarksa set of darks, matching current lights

Here is the caller graph for this function:


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