MGPS::SOURCE::OBSERVER Class Reference

Observer class to derive from to be notified of events on this source. More...

#include <mi32/mgps.h>

Inheritance diagram for MGPS::SOURCE::OBSERVER:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 OBSERVER (SOURCE *source)
virtual ~OBSERVER ()
void NotifyAdd (SOURCE *source)
void NotifyClose (SOURCE *source)
void NotifyOpen (SOURCE *source)
void NotifyPoll (const SOURCE *source, const REPORT &report)
void NotifyRemove (SOURCE *source)

Private Member Functions

virtual void v_OnAdd (SOURCE *source)
virtual void v_OnClose (SOURCE *source)
virtual void v_OnOpen (SOURCE *source)
virtual void v_OnPoll (const SOURCE *source, const REPORT &report)
virtual void v_OnRemove (SOURCE *source)

Detailed Description

Observer class to derive from to be notified of events on this source.


Constructor & Destructor Documentation

MGPS::SOURCE::OBSERVER::OBSERVER ( SOURCE source  )  [inline]

Constructor.

virtual MGPS::SOURCE::OBSERVER::~OBSERVER (  )  [virtual]

Destructor.


Member Function Documentation

void MGPS::SOURCE::OBSERVER::NotifyAdd ( SOURCE source  )  [inline]

Notify that new source was added.

void MGPS::SOURCE::OBSERVER::NotifyClose ( SOURCE source  )  [inline]

Notify that source has been 'closed'.

void MGPS::SOURCE::OBSERVER::NotifyOpen ( SOURCE source  )  [inline]

Notify that source has been 'opened'.

void MGPS::SOURCE::OBSERVER::NotifyPoll ( const SOURCE source,
const REPORT report 
) [inline]

Notify that source has been polled for new position.

void MGPS::SOURCE::OBSERVER::NotifyRemove ( SOURCE source  )  [inline]

Notify that source about to be removed from manager.

virtual void MGPS::SOURCE::OBSERVER::v_OnAdd ( SOURCE source  )  [private, virtual]

Called when new source added.

virtual void MGPS::SOURCE::OBSERVER::v_OnClose ( SOURCE source  )  [private, virtual]

Called when source has been 'closed'.

virtual void MGPS::SOURCE::OBSERVER::v_OnOpen ( SOURCE source  )  [private, virtual]

Called when source has been 'opened'.

virtual void MGPS::SOURCE::OBSERVER::v_OnPoll ( const SOURCE source,
const REPORT report 
) [private, virtual]

Called when source has been polled for new position.

virtual void MGPS::SOURCE::OBSERVER::v_OnRemove ( SOURCE source  )  [private, virtual]

Called when source about to be removed from manager.


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

Generated on Sun Oct 7 21:35:23 2012 for TNTsdk 2012 by  doxygen 1.6.1