A MeteorShower object represents one meteor shower on the sky.
More...
#include <MeteorShower.hpp>
|
enum | Status {
INVALID,
UNDEFINED,
INACTIVE,
ACTIVE_CONFIRMED,
ACTIVE_GENERIC
} |
|
A MeteorShower object represents one meteor shower on the sky.
Details about the meteor showers are passed using a QVariant which contains a map of data from the json file.
Definition at line 37 of file MeteorShower.hpp.
Constructor.
- Parameters
-
map | QVariantMap containing all the data about a Meteor Shower. |
MeteorShower::~MeteorShower |
( |
| ) |
|
void MeteorShower::draw |
( |
StelCore * |
core | ) |
|
bool MeteorShower::enabled |
( |
| ) |
const |
Checks if this meteor shower is being displayed or not.
- Returns
- true if it's being displayed
QString MeteorShower::getDesignation |
( |
| ) |
const |
Gets the meteor shower id //!
- Returns
- designation
QDate MeteorShower::getPeak |
( |
| ) |
|
|
inline |
Status MeteorShower::getStatus |
( |
| ) |
|
|
inline |
Gets the current meteor shower status.
- Returns
- status
Definition at line 94 of file MeteorShower.hpp.
int MeteorShower::getZHR |
( |
| ) |
|
|
inline |
Activity MeteorShower::hasConfirmedShower |
( |
QDate |
date, |
|
|
bool & |
found |
|
) |
| const |
Checks if we have confirmed data for a given date.
- Parameters
-
- Returns
- Activity
Activity MeteorShower::hasGenericShower |
( |
QDate |
date, |
|
|
bool & |
found |
|
) |
| const |
Checks if we have generic data for a given date.
- Parameters
-
- Returns
- Activity
void MeteorShower::update |
( |
StelCore * |
core, |
|
|
double |
deltaTime |
|
) |
| |
Update.
- Parameters
-
deltaTime | the time increment in seconds since the last call. |
The documentation for this class was generated from the following file: