Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · 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.

Definition at line 76 of file StelObserver.hpp.


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.

Definition at line 87 of file StelObserver.hpp.

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.

Definition at line 85 of file StelObserver.hpp.

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

Get whether the location is a moving one.

Reimplemented from StelObserver.

Definition at line 86 of file StelObserver.hpp.

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

Update StelObserver info if needed. Default implementation does nothing.

Reimplemented from StelObserver.


The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:44 2013 for Stellarium by  doxygen 1.6.3