Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

CommandSetTimeRate Class Reference

#include <command.h>

Inheritance diagram for CommandSetTimeRate:

Inheritance graph
Collaboration diagram for CommandSetTimeRate:

Collaboration graph
List of all members.

Public Member Functions

 CommandSetTimeRate (double)
void process (ExecutionEnvironment &)

Private Attributes

double rate

Constructor & Destructor Documentation

CommandSetTimeRate::CommandSetTimeRate double   ) 
 

Definition at line 341 of file command.cpp.

00341                                                    : rate(_rate)
00342 {
00343 }


Member Function Documentation

void CommandSetTimeRate::process ExecutionEnvironment  )  [virtual]
 

Implements InstantaneousCommand.

Definition at line 345 of file command.cpp.

References rate.

00346 {
00347     env.getSimulation()->setTimeScale(rate);
00348 }


Member Data Documentation

double CommandSetTimeRate::rate [private]
 

Definition at line 298 of file command.h.

Referenced by process().


The documentation for this class was generated from the following files:
Generated on Sat Jan 14 22:33:15 2006 for Celestia by  doxygen 1.4.1