Stellarium 0.11.4
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

SpaceShipObserver Class Reference

An observer which moves from from one position to another one and/or from one planet to another one. More...

#include <StelObserver.hpp>

List of all members.

Public Member Functions

 SpaceShipObserver (const StelLocation &startLoc, const StelLocation &target, double transitSeconds=1.f)
virtual void update (double deltaTime)
 Update StelObserver info if needed. Default implementation does nothing.
virtual const QSharedPointer
< Planet
getHomePlanet () const
virtual bool isObserverLifeOver () const
 Get whether the life of this observer is over, and therefore that it should be changed to the next one provided by the getNextObserver() method.
virtual bool isTraveling () const
 Get whether the location is a moving one.
virtual StelObservergetNextObserver () const
 Get the next observer to use once the life of this one is over.

Detailed Description

An observer which moves from from one position to another one and/or from one planet to another one.


Member Function Documentation

virtual StelObserver* SpaceShipObserver::getNextObserver (  )  const [inline, virtual]

Get the next observer to use once the life of this one is over.

Reimplemented from StelObserver.

virtual bool SpaceShipObserver::isObserverLifeOver (  )  const [inline, virtual]

Get whether the life of this observer is over, and therefore that it should be changed to the next one provided by the getNextObserver() method.

Reimplemented from StelObserver.

virtual bool SpaceShipObserver::isTraveling (  )  const [inline, virtual]

Get whether the location is a moving one.

Reimplemented from StelObserver.

virtual void SpaceShipObserver::update ( double  deltaTime  )  [virtual]

Update StelObserver info if needed. Default implementation does nothing.

Reimplemented from StelObserver.

Generated on Sat Aug 25 22:13:32 2012 for Stellarium by  doxygen 1.6.3