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

Command factory in charge of instanciating all command types in a static function for each type. More...

#include <commandFactory.h>

Static Public Member Functions

static AbstractCommandcreateScanDarkSourceCommand (const QStringList &sources)
 Create a ScanDarkSourceCommand.
static AbstractCommandcreateScanLightsCommand (const QString dir)
 Create a ScanLightsCommand.
static AbstractCommandcreateLightsCheckCommand ()
 Create a LightsCheckCommand.
static AbstractCommandcreateMatchDarksCommand ()
 Create a MatchDarksCommand.
static AbstractCommandcreateComputeBestMatchCommand ()
 Create a ComputeBestMatchCommand.
static AbstractCommandcreateDarkCopyCommand ()
 Create a ComputeBestMatchCommand.

Detailed Description

Command factory in charge of instanciating all command types in a static function for each type.

Definition at line 29 of file commandFactory.h.

Member Function Documentation

AbstractCommand * CommandFactory::createComputeBestMatchCommand ( )
static

Create a ComputeBestMatchCommand.

Returns
a pointer to the newly created command

Definition at line 55 of file commandFactory.cpp.

Here is the caller graph for this function:

AbstractCommand * CommandFactory::createDarkCopyCommand ( )
static

Create a ComputeBestMatchCommand.

Returns
a pointer to the newly created command

Definition at line 60 of file commandFactory.cpp.

Here is the caller graph for this function:

AbstractCommand * CommandFactory::createLightsCheckCommand ( )
static

Create a LightsCheckCommand.

Returns
a pointer to the newly created command

Definition at line 45 of file commandFactory.cpp.

Here is the caller graph for this function:

AbstractCommand * CommandFactory::createMatchDarksCommand ( )
static

Create a MatchDarksCommand.

Returns
a pointer to the newly created command

Definition at line 50 of file commandFactory.cpp.

Here is the caller graph for this function:

AbstractCommand * CommandFactory::createScanDarkSourceCommand ( const QStringList &  sources)
static

Create a ScanDarkSourceCommand.

Parameters
sourcesa list of dark frame source folder paths
Returns
a pointer to the newly created command

Definition at line 35 of file commandFactory.cpp.

Here is the caller graph for this function:

AbstractCommand * CommandFactory::createScanLightsCommand ( const QString  dir)
static

Create a ScanLightsCommand.

Parameters
dirthe directory to scan
Returns
a pointer to the newly created command

Definition at line 40 of file commandFactory.cpp.

Here is the caller graph for this function:


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