ot::DGPSIP_Handler Class Reference

#include <DGPSIP_Handler.h>

Inheritance diagram for ot::DGPSIP_Handler:

Inheritance graph
[legend]
Collaboration diagram for ot::DGPSIP_Handler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DGPSIP_Handler ()
 default constructor for ace framework. Do not use !
 DGPSIP_Handler (GPSDriver *parent_)
virtual ~DGPSIP_Handler ()
virtual int open (void *factory)
virtual int handle_input (ACE_HANDLE fd)
virtual void newData (const GPResult *point, const char *line, void *userData)
virtual int handle_close (ACE_HANDLE fd=ACE_INVALID_HANDLE, ACE_Reactor_Mask mask=ACE_Event_Handler::ALL_EVENTS_MASK)

Protected Attributes

bool isReconnecting
GPSDriverparent
int counter
ACE_INET_Addr remoteAddr

Constructor & Destructor Documentation

ot::DGPSIP_Handler::DGPSIP_Handler  )  [inline]
 

default constructor for ace framework. Do not use !

ot::DGPSIP_Handler::DGPSIP_Handler GPSDriver parent_  ) 
 

ot::DGPSIP_Handler::~DGPSIP_Handler  )  [virtual]
 


Member Function Documentation

int ot::DGPSIP_Handler::handle_close ACE_HANDLE  fd = ACE_INVALID_HANDLE,
ACE_Reactor_Mask  mask = ACE_Event_Handler::ALL_EVENTS_MASK
[virtual]
 

int ot::DGPSIP_Handler::handle_input ACE_HANDLE  fd  )  [virtual]
 

void ot::DGPSIP_Handler::newData const GPResult point,
const char *  line,
void *  userData
[virtual]
 

This is the callback method called by the GPSDriver class, whenever new data arrives. Any subclasses of GPSListener must override it to receive the data.

Parameters:
point pointer to the GPResult object that represents the parsed data.
line the corresponding string received from the GPS receiver.
uderData a pointer to user data stored when registering the listener.

Implements ot::GPSListener.

int ot::DGPSIP_Handler::open void *  factory  )  [virtual]
 


Member Data Documentation

int ot::DGPSIP_Handler::counter [protected]
 

bool ot::DGPSIP_Handler::isReconnecting [protected]
 

GPSDriver* ot::DGPSIP_Handler::parent [protected]
 

ACE_INET_Addr ot::DGPSIP_Handler::remoteAddr [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:31:17 2007 for NaviTrack by  doxygen 1.4.6