#include <TdkGpsConnector.h>
Inheritance diagram for TdkGpsConnector:
Public Member Functions | |
TdkGpsConnector () | |
virtual | ~TdkGpsConnector () |
virtual void | setGpsPort (const TdkGpsPort &port) |
virtual const TdkGpsPort & | getGpsPort () |
virtual void | setFrequency (const int &frequency) |
virtual int | getFrequency () |
virtual void | setTimeOut (const int &timeout) |
virtual int | getTimeOut () |
virtual void | setBufferSize (const int &bufferSize) |
virtual int | getBufferSize () |
virtual void | setConnectorAgent (TdkGpsAgent *connectorAgent) |
virtual TdkGpsAgent * | getConnectorAgent () |
virtual void | connect () |
virtual void | disconnect () |
virtual void | abort () |
virtual bool | aborted () |
virtual bool | connected () |
virtual bool | gpsConnectionEstablished () |
virtual void | fireConnectionCreationError (const TdkGpsPort &port) |
virtual void | fireConnectionStateError (const TdkGpsPort &port) |
virtual void | fireConnectionTimeOutError (const TdkGpsPort &port) |
virtual void | fireConnectionReadingError (const TdkGpsPort &port) |
virtual void | fireConnecting (const TdkGpsPort &port) |
virtual void | fireConnectionAborted (const TdkGpsPort &port) |
virtual void | fireNoDataInPort (const TdkGpsPort &port) |
virtual void | fireConnected (const TdkGpsPort &port) |
virtual void | fireDisconnected (const TdkGpsPort &port) |
virtual void | fireGpsConnectionEstablished (const TdkGpsPort &port) |
virtual void | fireSentenceRead (const TdkGpsPort &port, const char *sentence, const int &size) |
Protected Attributes | |
TdkGpsPort | _port |
int | _frequency |
int | _timeout |
int | _bufferSize |
bool | _aborted |
bool | _connected |
bool | _gpsConnectionEstablished |
TdkGpsAgent * | _connectorAgent |
void * | _hCom |
TdkGpsConnector::TdkGpsConnector | ( | ) |
TdkGpsConnector::~TdkGpsConnector | ( | ) | [virtual] |
void TdkGpsConnector::setGpsPort | ( | const TdkGpsPort & | port | ) | [virtual] |
const TdkGpsPort & TdkGpsConnector::getGpsPort | ( | ) | [virtual] |
void TdkGpsConnector::setFrequency | ( | const int & | frequency | ) | [virtual] |
int TdkGpsConnector::getFrequency | ( | ) | [virtual] |
void TdkGpsConnector::setTimeOut | ( | const int & | timeout | ) | [virtual] |
int TdkGpsConnector::getTimeOut | ( | ) | [virtual] |
void TdkGpsConnector::setBufferSize | ( | const int & | bufferSize | ) | [virtual] |
int TdkGpsConnector::getBufferSize | ( | ) | [virtual] |
void TdkGpsConnector::setConnectorAgent | ( | TdkGpsAgent * | connectorAgent | ) | [virtual] |
TdkGpsAgent * TdkGpsConnector::getConnectorAgent | ( | ) | [virtual] |
void TdkGpsConnector::connect | ( | ) | [virtual] |
void TdkGpsConnector::disconnect | ( | ) | [virtual] |
void TdkGpsConnector::abort | ( | ) | [virtual] |
bool TdkGpsConnector::aborted | ( | ) | [virtual] |
bool TdkGpsConnector::connected | ( | ) | [virtual] |
bool TdkGpsConnector::gpsConnectionEstablished | ( | ) | [virtual] |
void TdkGpsConnector::fireConnectionCreationError | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireConnectionStateError | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireConnectionTimeOutError | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireConnectionReadingError | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireConnecting | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireConnectionAborted | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireNoDataInPort | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireConnected | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireDisconnected | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireGpsConnectionEstablished | ( | const TdkGpsPort & | port | ) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
void TdkGpsConnector::fireSentenceRead | ( | const TdkGpsPort & | port, | |
const char * | sentence, | |||
const int & | size | |||
) | [virtual] |
Reimplemented from TdkGpsConnectionObserver.
TdkGpsPort TdkGpsConnector::_port [protected] |
int TdkGpsConnector::_frequency [protected] |
int TdkGpsConnector::_timeout [protected] |
int TdkGpsConnector::_bufferSize [protected] |
bool TdkGpsConnector::_aborted [protected] |
bool TdkGpsConnector::_connected [protected] |
bool TdkGpsConnector::_gpsConnectionEstablished [protected] |
TdkGpsAgent* TdkGpsConnector::_connectorAgent [protected] |
void* TdkGpsConnector::_hCom [protected] |