Garmin Fleet Management Controller  2.19.0
StopListItem.cpp
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * MODULE NAME:
4 * StopListItem.cpp
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 
11 #include "StopListItem.h"
12 
13 //----------------------------------------------------------------------
15 //----------------------------------------------------------------------
17 {
19 }
20 
21 void StopListItem::readFromStream( std::istream &aStream )
22 {
25 }
26 
27 //----------------------------------------------------------------------
30 //----------------------------------------------------------------------
32 {
33  return mStopStatus;
34 }
35 
36 //----------------------------------------------------------------------
39 //----------------------------------------------------------------------
41  (
43  )
44 {
45  mStopStatus = aStatus;
46 }
47 
48 //----------------------------------------------------------------------
51 //----------------------------------------------------------------------
53  (
55  )
56 {
57  mParent = aParent;
58 }
59 
60 //----------------------------------------------------------------------
63 //----------------------------------------------------------------------
65  (
66  CString aName
67  )
68 {
69  mCurrentName = aName;
70 }
virtual void readFromStream(std::istream &aStream)
Read a ClientListItem from an input stream.
virtual void readFromStream(std::istream &aStream)
Read a ClientListItem from an input stream.
StopListItem()
Constructor.
void setCurrentName(CString aName)
Set the current name of the stop.
CString mCurrentName
The last name acknowledged by the client.
void setParent(FileBackedMap< StopListItem > *aParent)
Set the parent.
Stores the name associated with a list item that is sent to the client.
uint16 stop_status_status_type
Enumeration for Stop Status protocol.
Definition: fmi.h:962
void setStopStatus(stop_status_status_type aStatus)
Set the stop status.
stop_status_status_type getStopStatus() const
Get the stop status.
FileBackedMap< StopListItem > * mParent
The map that this item belongs to, or NULL if none.
Definition: StopListItem.h:59
stop_status_status_type mStopStatus
The last known stop status for this stop.
Definition: StopListItem.h:56