Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

GPSDPosition Class Reference

#include <gpsd_position.hh>

Inheritance diagram for GPSDPosition:

Position Tracker List of all members.

Public Member Functions

Protected Attributes


Constructor & Destructor Documentation

GPSDPosition::GPSDPosition char *  host = "localhost",
int  port = GPSD_DEFAULT_PORT
throw (DeviceError)
 

Constructor: initializes values and oens socket to gpsd.

Definition at line 34 of file gpsd_position.cc.

GPSDPosition::~GPSDPosition  )  [virtual]
 

Destructor: closes socket.

Definition at line 58 of file gpsd_position.cc.


Member Function Documentation

void GPSDPosition::getPosition double *  x,
double *  y,
double *  z
throw (DeviceError) [virtual]
 

Read position from GPSD.

Implements Position.

Definition at line 85 of file gpsd_position.cc.

int GPSDPosition::getStatus  )  throw (DeviceError)
 

Get GPS status.

Definition at line 108 of file gpsd_position.cc.


Member Data Documentation

char* GPSDPosition::gpsd_host [protected]
 

Definition at line 46 of file gpsd_position.hh.

int GPSDPosition::gpsd_port [protected]
 

Definition at line 47 of file gpsd_position.hh.

int GPSDPosition::socket_fd [protected]
 

Definition at line 45 of file gpsd_position.hh.

Referenced by ~GPSDPosition().


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:54 2003 for Interreality Project - VOS by doxygen 1.3.2