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

Dispatches Qt Signals for all app objects. More...

#include <signalDispatcher.h>

Public Slots

void on_darkScanStarted ()
 A new dark scan has just started.
void on_darkScanDone (QList< ImageInfo > result)
 A dark scan has just finished.
void on_lightsScanDone (QList< ImageInfo > result)
 A lights scan has just finished.
void on_commandCreated (AbstractCommand *command)
 a command has just been created
void on_CommandStatusChange (AbstractCommand *command)
 A command just changed its status.
void on_darkSourcesChanged (QStringList sources)
 Dark sources have changed.
void on_createDarkScanCommand ()
 let's create a dark scan command
void on_darkListModelChanged ()
 dark list model changed
void on_createLightsScanCommand ()
 let's create a lights scan command
void on_createLightsCheckCommand ()
 let's create a lights check command
void on_createMatchDarksCommand ()
 let's create a dark match command
void on_createDarkCopyCommand ()
 let's create a darks copy command
void on_lightsScanStarted ()
 A new lights scan just started.
void on_consistencyResult (bool consistent)
 lights consistency result arrived
void on_createComputeBestMatchCommand ()
 A best match computation was requested.
void on_matchFound (QList< ImageInfo > matchedDarks)
 A match was found.
void on_bestMatchCount (int matchedDarksCount)
 A best match count is available.

Signals

void darkScanStarted ()
 A new dark scan has just started.
void lightsScanStarted ()
 A lights scan has just started.
void darkScanDone (QList< ImageInfo > result)
 A dark scan has just finished.
void lightsScanDone (QList< ImageInfo > result)
 A lights scan has just finished.
void commandCreated (AbstractCommand *command)
 a command has just been created
void commandStatusChange (AbstractCommand *command)
 A command just changed its status.
void darkSourcesChanged (QStringList sources)
 Dark sources have changed.
void createDarkScanCommand ()
 let's create a dark scan command
void darkListModelChanged ()
 the dark list model has been updated
void createLightsScanCommand ()
 let's create a ligts scan command
void createLightsCheckCommand ()
 let's create a lights check command
void createMatchDarksCommand ()
 let's create a darks match command
void createDarkCopyCommand ()
 let's create a darks copy command
void consistencyResult (bool consistent)
 advertize consistency check result
void createComputeBestMatchCommand ()
 let's create a best dark match command
void matchFound (QList< ImageInfo > matchedDarks)
 A match was found.
void bestMatchCount (int matchedDarksCount)
 A best match count is available.

Static Public Member Functions

static SignalDispatchergetInstance ()
 Get the single instance.

Detailed Description

Dispatches Qt Signals for all app objects.

Definition at line 32 of file signalDispatcher.h.

Member Function Documentation

void SignalDispatcher::bestMatchCount ( int  matchedDarksCount)
signal

A best match count is available.

Parameters
matchedDarksCountthe number of darks from found best match

Here is the caller graph for this function:

void SignalDispatcher::commandCreated ( AbstractCommand command)
signal

a command has just been created

Parameters
commandthe command

Here is the caller graph for this function:

void SignalDispatcher::commandStatusChange ( AbstractCommand command)
signal

A command just changed its status.

Parameters
commandthe command

Here is the caller graph for this function:

void SignalDispatcher::consistencyResult ( bool  consistent)
signal

advertize consistency check result

Parameters
consistenttrue if lights are consistents

Here is the caller graph for this function:

void SignalDispatcher::darkScanDone ( QList< ImageInfo result)
signal

A dark scan has just finished.

Parameters
resulta list of ImageInfo

Here is the caller graph for this function:

void SignalDispatcher::darkSourcesChanged ( QStringList  sources)
signal

Dark sources have changed.

Parameters
sourcesa list of folder paths

Here is the caller graph for this function:

SignalDispatcher * SignalDispatcher::getInstance ( )
static

Get the single instance.

Returns
the instance

Definition at line 29 of file signalDispatcher.cpp.

Here is the caller graph for this function:

void SignalDispatcher::lightsScanDone ( QList< ImageInfo result)
signal

A lights scan has just finished.

Parameters
resulta list of ImageInfo

Here is the caller graph for this function:

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

A match was found.

Parameters
matchedDarksa set of darks, matching current lights

Here is the caller graph for this function:

void SignalDispatcher::on_bestMatchCount ( int  matchedDarksCount)
inlineslot

A best match count is available.

Parameters
matchedDarksCountthe number of darks from found best match

Definition at line 200 of file signalDispatcher.h.

Here is the call graph for this function:

void SignalDispatcher::on_commandCreated ( AbstractCommand command)
inlineslot

a command has just been created

Parameters
commandthe command

Definition at line 149 of file signalDispatcher.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void SignalDispatcher::on_CommandStatusChange ( AbstractCommand command)
inlineslot

A command just changed its status.

Parameters
commandthe command

Definition at line 155 of file signalDispatcher.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void SignalDispatcher::on_darkScanDone ( QList< ImageInfo result)
inlineslot

A dark scan has just finished.

Parameters
resulta list of ImageInfo

Definition at line 137 of file signalDispatcher.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void SignalDispatcher::on_darkSourcesChanged ( QStringList  sources)
inlineslot

Dark sources have changed.

Parameters
sourcesa list of folder paths

Definition at line 161 of file signalDispatcher.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void SignalDispatcher::on_lightsScanDone ( QList< ImageInfo result)
inlineslot

A lights scan has just finished.

Parameters
resulta list of ImageInfo

Definition at line 143 of file signalDispatcher.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void SignalDispatcher::on_matchFound ( QList< ImageInfo matchedDarks)
inlineslot

A match was found.

Parameters
matchedDarksa set of darks, matching current lights

Definition at line 194 of file signalDispatcher.h.

Here is the call graph for this function:


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