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

Copies matched darks to specified folder. More...

#include <darkCopyCommand.h>

Inheritance diagram for DarkCopyCommand:
Collaboration diagram for DarkCopyCommand:

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...
- Signals inherited from AbstractCommand
void statusChanged (AbstractCommand *)
 Advertise status changes.
void progress (int)
 advertise progress
void progressMax (int)
 advertise max progress steps change
- 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

Copies matched darks to specified folder.

Definition at line 28 of file darkCopyCommand.h.

Member Function Documentation

void DarkCopyCommand::do_processing ( )
virtual

The actual processing payload of this command.

All sublasses MUST implement this function.

Implements AbstractCommand.

Definition at line 41 of file darkCopyCommand.cpp.

Here is the call graph for this function:


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