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

Temperature matching failed because there are not enough darks for the given temperature. More...

#include <noDarkForTempException.h>

Inheritance diagram for NoDarkForTempException:
Collaboration diagram for NoDarkForTempException:

Public Member Functions

 NoDarkForTempException (const char *msg, int temp, int needed, int available)
 Constructor.
int getTemp () const
 get temperature
int getNeeded () const
 get needed darks count
int getAvailable () const
 get available darks count

Protected Attributes

int _temp
 temperature
int _needed
 how many darks we needed
int _available
 how many darks are available

Additional Inherited Members

- Protected Member Functions inherited from MatchingException
 MatchingException (const char *msg)
 Constructor.

Detailed Description

Temperature matching failed because there are not enough darks for the given temperature.

Definition at line 29 of file noDarkForTempException.h.

Constructor & Destructor Documentation

NoDarkForTempException::NoDarkForTempException ( const char *  msg,
int  temp,
int  needed,
int  available 
)

Constructor.

Parameters
msgincorporated message
temptemperature for the error
neededhow much darks we needed
availablehow many darks are available

Definition at line 22 of file noDarkForTempException.cpp.

Member Function Documentation

int NoDarkForTempException::getAvailable ( ) const
inline

get available darks count

Returns
available darks count

Definition at line 63 of file noDarkForTempException.h.

Here is the caller graph for this function:

int NoDarkForTempException::getNeeded ( ) const
inline

get needed darks count

Returns
needed darks count

Definition at line 56 of file noDarkForTempException.h.

Here is the caller graph for this function:

int NoDarkForTempException::getTemp ( ) const
inline

get temperature

Returns
temperature

Definition at line 49 of file noDarkForTempException.h.

Here is the caller graph for this function:


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