SGInterpolator Class Reference

Inheritance diagram for SGInterpolator:

SGSubsystem List of all members.

Public Member Functions

 SGInterpolator ()
virtual void init ()
 Initialize the subsystem.
virtual void update (double delta_time_sec)
 Update the subsystem.
void interpolate (SGPropertyNode *prop, double value, double dt_sec)
void interpolate (SGPropertyNode *prop, int nPoints, double *values, double *deltas)
void cancel (SGPropertyNode *prop)

Detailed Description

Definition at line 33 of file interpolator.hxx.


Member Function Documentation

virtual void SGInterpolator::init (  )  [inline, virtual]

Initialize the subsystem.

This method should set up the state of the subsystem, but should not bind any properties. Note that any dependencies on the state of other subsystems should be placed here rather than in the constructor, so that FlightGear can control the initialization order.

Reimplemented from SGSubsystem.

Definition at line 36 of file interpolator.hxx.

void SGInterpolator::update ( double  delta_time_sec  )  [virtual]

Update the subsystem.

FlightGear invokes this method every time the subsystem should update its state.

Parameters:
delta_time_sec The delta time, in seconds, since the last update. On first update, delta time will be 0.

Implements SGSubsystem.

Definition at line 81 of file interpolator.cxx.


The documentation for this class was generated from the following files:
Generated on Mon Dec 17 09:30:57 2007 for SimGear by  doxygen 1.5.1