Orxonox: orxonox::TimeFactorListener Class Reference

# orxonox::TimeFactorListener Class Reference

`#include <src/orxonox/interfaces/TimeFactorListener.h>`

Inheritance diagram for orxonox::TimeFactorListener:

List of all members.

## Public Member Functions

| TimeFactorListener ()
virtual | ~TimeFactorListener ()

## Protected Member Functions

virtual void | changedTimeFactor (float factor_new, float factor_old)
float | getTimeFactor () const

## Static Private Attributes

static float | timefactor_s = 1.0f

## Friends

class | GSRoot

## Constructor & Destructor Documentation

orxonox::TimeFactorListener::TimeFactorListener | ( |  | ) |

References RegisterRootObject.

virtual orxonox::TimeFactorListener::~TimeFactorListener | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual void orxonox::TimeFactorListener::changedTimeFactor | ( | float | factor_new,
|  | float | factor_old |
| ) |  |  | `[inline, protected, virtual]`

Reimplemented in orxonox::Backlight, and orxonox::ParticleInterface.

float orxonox::TimeFactorListener::getTimeFactor | ( |  | ) | const`[inline, protected]`

References timefactor_s.

Referenced by orxonox::ParticleInterface::setSpeedFactor(), orxonox::TimerBase::tick(), and orxonox::Backlight::update_lifetime().

## Friends And Related Function Documentation

friend class GSRoot`[friend]`

## Member Data Documentation

float orxonox::TimeFactorListener::timefactor_s = 1.0f`[static, private]`

Referenced by getTimeFactor(), and orxonox::GSRoot::setTimeFactor().

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

- src/orxonox/interfaces/TimeFactorListener.h
- src/orxonox/interfaces/InterfaceCompilation.cc