GPSInterface_Simulated Class Reference

Implements simulated gps interface. More...

#include <GPSInterface_Simulated.h>

Inheritance diagram for GPSInterface_Simulated:

Inheritance graph
[legend]
Collaboration diagram for GPSInterface_Simulated:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GPSInterface_Simulated ()
 Constructor - initialize all variables.
virtual ~GPSInterface_Simulated ()
 Destructor - do nothing.
virtual wxString Name ()
 Returns name of this GPS module.
virtual EGPSStatus GetData (wxGPSEvent *pGPSEvent)
 Returns simulated gps data.
virtual wxString GetLastError ()
 Returns an explanation of the last error.
virtual EGPSStatus AutoDetect (wxThread *pThread)
 Always reports that autodetection is not supported.

Private Attributes

double m_fHeading
 Simulated heading.
double m_fSpeed
 Simulated speed.
Point m_ptGPS
 Simulated coordinates.
wxString m_strLastError
 Last error message.


Detailed Description

Implements simulated gps interface.

Definition at line 46 of file GPSInterface_Simulated.h.


Constructor & Destructor Documentation

GPSInterface_Simulated::GPSInterface_Simulated (  ) 

Constructor - initialize all variables.

Definition at line 52 of file GPSInterface_Simulated.cpp.

GPSInterface_Simulated::~GPSInterface_Simulated (  )  [virtual]

Destructor - do nothing.

Definition at line 65 of file GPSInterface_Simulated.cpp.


Member Function Documentation

wxString GPSInterface_Simulated::Name (  )  [virtual]

Returns name of this GPS module.

Implements IGPSInterface.

Definition at line 74 of file GPSInterface_Simulated.cpp.

IGPSInterface::EGPSStatus GPSInterface_Simulated::GetData ( wxGPSEvent pGPSEvent  )  [virtual]

Returns simulated gps data.

Parameters:
pGPSEvent Receives updated gps data.
Returns:
Status - always returns GPSStatusOK.

Implements IGPSInterface.

Definition at line 88 of file GPSInterface_Simulated.cpp.

wxString GPSInterface_Simulated::GetLastError (  )  [virtual]

Returns an explanation of the last error.

Implements IGPSInterface.

Definition at line 126 of file GPSInterface_Simulated.cpp.

IGPSInterface::EGPSStatus GPSInterface_Simulated::AutoDetect ( wxThread *  pThread  )  [virtual]

Always reports that autodetection is not supported.

Parameters:
pThread Pointer to wxThread obtain this code is running in.
Returns:
Status - always returns GPSStatusAutoDetectionNotSupported.

Implements IGPSInterface.

Definition at line 142 of file GPSInterface_Simulated.cpp.


Member Data Documentation

Simulated heading.

Definition at line 59 of file GPSInterface_Simulated.h.

Simulated speed.

Definition at line 62 of file GPSInterface_Simulated.h.

Simulated coordinates.

Definition at line 65 of file GPSInterface_Simulated.h.

Last error message.

Definition at line 68 of file GPSInterface_Simulated.h.


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

Generated on Sun Jul 27 17:26:13 2008 for Roadnav by  doxygen 1.5.5