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

CommandSetTime Class Reference

#include <command.h>

Inheritance diagram for CommandSetTime:

Inheritance graph
Collaboration diagram for CommandSetTime:

Collaboration graph
List of all members.

Public Member Functions

 CommandSetTime (double _jd)
void process (ExecutionEnvironment &)

Private Attributes

double jd

Constructor & Destructor Documentation

CommandSetTime::CommandSetTime double  _jd  ) 
 

Definition at line 327 of file command.cpp.

00327                                          : jd(_jd)
00328 {
00329 }


Member Function Documentation

void CommandSetTime::process ExecutionEnvironment  )  [virtual]
 

Implements InstantaneousCommand.

Definition at line 331 of file command.cpp.

References jd.

00332 {
00333     env.getSimulation()->setTime(jd);
00334 }


Member Data Documentation

double CommandSetTime::jd [private]
 

Definition at line 287 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