Garmin Fleet Management Controller  2.19.0
ApplicationLayer.cpp
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * MODULE NAME:
4 * ApplicationLayer.cpp
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 
11 #include "stdafx.h"
12 #include "ApplicationLayer.h"
13 
14 //----------------------------------------------------------------------
18 //----------------------------------------------------------------------
20  : mTransportLayer( aTransportLayer )
21 {
23 }
24 
25 //----------------------------------------------------------------------
28 //----------------------------------------------------------------------
30 {
31  if( mTransportLayer )
32  {
34  }
35 }
36 
37 //----------------------------------------------------------------------
39 //----------------------------------------------------------------------
41 {
42  mTransportLayer = NULL;
43 }
virtual void disconnectTransportLayer()
Disconnect the TransportLayer from this ApplicationLayer.
ApplicationLayer(TransportLayer *aTransportLayer)
Construct an ApplicationLayer.
virtual ~ApplicationLayer()
ApplicationLayer destructor.
virtual void removeAppLayer(ApplicationLayer *aAppLayer)
Remove an app layer object from the callback list.
TransportLayer * mTransportLayer
The next layer down in the stack.
virtual void addAppLayer(ApplicationLayer *aAppLayer)
Add an app layer object to the callback list.
Abstract base class for transport layer in the OSI model.