uvsim::FlightPlan Class Reference

FlightPlan Class. More...

#include <FlightPlan.h>

List of all members.

Public Member Functions

 FlightPlan ()
 Constructor.
 ~FlightPlan ()
 Destructor.
void open (std::string file_name)
 Opens Waypoints data from file_name.
void save (std::string file_name)
 Saves Waypoints data to file_name.
void display ()
 Displays list of Waypoints.

Friends

std::ostream & operator<< (std::ostream &out, FlightPlan &flightPlan)
 Prints the resulting output to the screen.

Detailed Description

FlightPlan Class.

This class is derived from vector of GeoCoord class type so it can get the ability of standard vector (like push_back, pop_back, etc) and the ability of GeoCoord class type.

This class also enables opening from file, saving into file, and produces output stream to the command window.

Definition at line 34 of file FlightPlan.h.


Constructor & Destructor Documentation

uvsim::FlightPlan::FlightPlan (  ) 

Constructor.

Definition at line 30 of file FlightPlan.cc.

uvsim::FlightPlan::~FlightPlan (  ) 

Destructor.

Definition at line 34 of file FlightPlan.cc.


Member Function Documentation

void uvsim::FlightPlan::display (  ) 

Displays list of Waypoints.

Definition at line 104 of file FlightPlan.cc.

void uvsim::FlightPlan::open ( std::string  file_name  ) 

Opens Waypoints data from file_name.

Parameters:
file_name : the name of the file that contains the waypoints.

Definition at line 38 of file FlightPlan.cc.

void uvsim::FlightPlan::save ( std::string  file_name  ) 

Saves Waypoints data to file_name.

Parameters:
file_name : the name of the file that is the destination of writing waypoints.

Definition at line 87 of file FlightPlan.cc.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
FlightPlan flightPlan 
) [friend]

Prints the resulting output to the screen.

Parameters:
out : Reference to the output stream.
flightPlan : Reference to object flightPlan from FlightPlan class.
Returns:
Output stream which consists of the entire list of waypoints in the screen.

The documentation for this class was generated from the following files:

Generated on Mon Nov 9 12:57:19 2009 for uvsim by  doxygen 1.6.1