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

CommandSelect Class Reference

#include <command.h>

Inheritance diagram for CommandSelect:

Inheritance graph
Collaboration diagram for CommandSelect:

Collaboration graph
List of all members.

Public Member Functions

 CommandSelect (std::string _target)
void process (ExecutionEnvironment &)
 ~CommandSelect ()

Private Attributes

std::string target

Constructor & Destructor Documentation

CommandSelect::CommandSelect std::string  _target  ) 
 

Definition at line 41 of file command.cpp.

00041                                            : target(_target)
00042 {
00043 }

CommandSelect::~CommandSelect  ) 
 

Definition at line 45 of file command.cpp.

00046 {
00047 }


Member Function Documentation

void CommandSelect::process ExecutionEnvironment  )  [virtual]
 

Implements InstantaneousCommand.

Definition at line 49 of file command.cpp.

References target.

00050 {
00051     Selection sel = env.getSimulation()->findObjectFromPath(target);
00052     env.getSimulation()->setSelection(sel);
00053 }


Member Data Documentation

std::string CommandSelect::target [private]
 

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