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

Manages commands, from creation to queueing and execution. More...

#include <commandManager.h>

Public Slots

void on_createDarkScanCommand ()
 Slot triggered by dark library scan requests.
void on_createLightsScanCommand ()
 Slot triggered by lights folder scan requests.
void on_createLightsCheckCommand ()
 Slot triggered by lights check requests.
void on_createMatchDarksCommand ()
 Slot triggered by darks matching requests.
void on_createComputeBestMatchCommand ()
 Slot triggered by request of best dark match.
void on_createDarkCopyCommand ()
 Slot triggered by request of dark copy.

Public Member Functions

 CommandManager (QObject *parent=0)
 Constructor.
 ~CommandManager ()
 Destructor.
const AbstractCommandgetCommand (int serial)
 Get a command by its serial number.

Detailed Description

Manages commands, from creation to queueing and execution.

It is mostly in charge of recieving command creation requests from the GUI It enqueues those commands before they are picked up by the CommandExecutor.

Definition at line 36 of file commandManager.h.

Constructor & Destructor Documentation

CommandManager::CommandManager ( QObject *  parent = 0)
explicit

Constructor.

Parameters
parentQt parent

Definition at line 33 of file commandManager.cpp.

Here is the call graph for this function:

Member Function Documentation

const AbstractCommand * CommandManager::getCommand ( int  serial)

Get a command by its serial number.

Parameters
serialthe command's serial number
Returns
the command

Definition at line 83 of file commandManager.cpp.

Here is the call graph for this function:


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