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

CommandCenter Class Reference

#include <command.h>

Inheritance diagram for CommandCenter:

Inheritance graph
Collaboration diagram for CommandCenter:

Collaboration graph
List of all members.

Public Member Functions

 CommandCenter (double t)
void process (ExecutionEnvironment &)
 ~CommandCenter ()

Private Attributes

double centerTime

Constructor & Destructor Documentation

CommandCenter::CommandCenter double  t  ) 
 

Definition at line 150 of file command.cpp.

00150                                      : centerTime(t)
00151 {
00152 }

CommandCenter::~CommandCenter  ) 
 

Definition at line 154 of file command.cpp.

00155 {
00156 }


Member Function Documentation

void CommandCenter::process ExecutionEnvironment  )  [virtual]
 

Implements InstantaneousCommand.

Definition at line 158 of file command.cpp.

References centerTime.

00159 {
00160     env.getSimulation()->centerSelection(centerTime);
00161 }


Member Data Documentation

double CommandCenter::centerTime [private]
 

Definition at line 146 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:11 2006 for Celestia by  doxygen 1.4.1