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

CommandSetUrl Class Reference

#include <command.h>

Inheritance diagram for CommandSetUrl:

Inheritance graph
Collaboration diagram for CommandSetUrl:

Collaboration graph
List of all members.

Public Member Functions

 CommandSetUrl (const std::string &_url)
void process (ExecutionEnvironment &)

Private Attributes

std::string url

Constructor & Destructor Documentation

CommandSetUrl::CommandSetUrl const std::string _url  ) 
 

Definition at line 136 of file command.cpp.

00136                                                   :
00137     url(_url)
00138 {
00139 }


Member Function Documentation

void CommandSetUrl::process ExecutionEnvironment  )  [virtual]
 

Implements InstantaneousCommand.

Definition at line 141 of file command.cpp.

References url.

00142 {
00143     env.getCelestiaCore()->goToUrl(url);
00144 }


Member Data Documentation

std::string CommandSetUrl::url [private]
 

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