20 #ifndef METEORSHOWERS_HPP_ 21 #define METEORSHOWERS_HPP_ 23 #include "MeteorShower.hpp" 24 #include "MeteorShowersMgr.hpp" 26 typedef QSharedPointer<MeteorShower> MeteorShowerP;
55 virtual void update(
double deltaTime);
68 QList<SearchResult>
searchEvents(QDate dateFrom, QDate dateTo)
const;
76 virtual QStringList
listMatchingObjects(
const QString& objPrefix,
int maxNbItem=5,
bool useStartOfWords=
false,
bool inEnglish=
true)
const;
78 virtual QString getName()
const {
return "Meteor Showers"; }
82 QList<MeteorShowerP> m_meteorShowers;
virtual ~MeteorShowers()
Destructor.
virtual void update(double deltaTime)
Update.
virtual void draw(StelCore *core)
Draw.
virtual StelObjectP searchByName(const QString &name) const
Return the matching StelObject if exists or the empty StelObject if not found.
MeteorShowers(MeteorShowersMgr *mgr)
Constructor.
This class manages a collection of MeteorShower objects.
Main class for Stellarium core processing.
Main class of the Meteor Showers plugin, inherits from StelObjectModule.
QList< SearchResult > searchEvents(QDate dateFrom, QDate dateTo) const
Find all meteor_shower events in a given date interval.
virtual StelObjectP searchByNameI18n(const QString &nameI18n) const
Find a StelObject by name.
virtual QStringList listAllObjects(bool inEnglish) const
List all StelObjects.
virtual QStringList listMatchingObjects(const QString &objPrefix, int maxNbItem=5, bool useStartOfWords=false, bool inEnglish=true) const
Find and return the list of at most maxNbItem objects auto-completing passed object name...
void loadMeteorShowers(const QVariantMap &map)
Loads all meteor showers contained in a QVariantMap.
virtual QList< StelObjectP > searchAround(const Vec3d &v, double limitFov, const StelCore *core) const
Search for StelObject in an area around a specifid point.