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

CommandSetSurface Class Reference

#include <command.h>

Inheritance diagram for CommandSetSurface:

Inheritance graph
Collaboration diagram for CommandSetSurface:

Collaboration graph
List of all members.

Public Member Functions

 CommandSetSurface (const std::string &)
void process (ExecutionEnvironment &)

Private Attributes

std::string surfaceName

Constructor & Destructor Documentation

CommandSetSurface::CommandSetSurface const std::string  ) 
 

Definition at line 254 of file command.cpp.

00254                                                                :
00255     surfaceName(_surfaceName)
00256 {
00257 }


Member Function Documentation

void CommandSetSurface::process ExecutionEnvironment  )  [virtual]
 

Implements InstantaneousCommand.

Definition at line 259 of file command.cpp.

References surfaceName.

00260 {
00261     env.getSimulation()->getActiveObserver()->setDisplayedSurface(surfaceName);
00262 }


Member Data Documentation

std::string CommandSetSurface::surfaceName [private]
 

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