GPSInterface_None Class Reference

Implements dummy "none" interface. More...

#include <GPSInterface_None.h>

Inheritance diagram for GPSInterface_None:

Inheritance graph
[legend]
Collaboration diagram for GPSInterface_None:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GPSInterface_None ()
 Constructor - do nothing.
virtual ~GPSInterface_None ()
 Destructor - do nothing.
virtual wxString Name ()
 Returns the name of this GPS interface (None).
virtual EGPSStatus GetData (wxGPSEvent *pGPSEvent)
 Always returns that GPS is disabled after sleeping for one second.
virtual wxString GetLastError ()
 Returns an explanation of the last error.
virtual EGPSStatus AutoDetect (wxThread *pThread)
 Always reports that autodetection is not supported on this class.

Private Attributes

wxString m_strLastError
 Last error message.


Detailed Description

Implements dummy "none" interface.

Definition at line 39 of file GPSInterface_None.h.


Constructor & Destructor Documentation

GPSInterface_None::GPSInterface_None (  ) 

Constructor - do nothing.

Definition at line 46 of file GPSInterface_None.cpp.

GPSInterface_None::~GPSInterface_None (  )  [virtual]

Destructor - do nothing.

Definition at line 55 of file GPSInterface_None.cpp.


Member Function Documentation

wxString GPSInterface_None::Name (  )  [virtual]

Returns the name of this GPS interface (None).

Implements IGPSInterface.

Definition at line 64 of file GPSInterface_None.cpp.

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

Always returns that GPS is disabled after sleeping for one second.

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

Implements IGPSInterface.

Definition at line 78 of file GPSInterface_None.cpp.

wxString GPSInterface_None::GetLastError (  )  [virtual]

Returns an explanation of the last error.

Implements IGPSInterface.

Definition at line 93 of file GPSInterface_None.cpp.

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

Always reports that autodetection is not supported on this class.

Implements IGPSInterface.

Definition at line 103 of file GPSInterface_None.cpp.


Member Data Documentation

Last error message.

Definition at line 52 of file GPSInterface_None.h.


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

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