Garmin Fleet Management Controller  2.19.0
StopListItem.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * StopListItem.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef _STOPLISTITEM_H
11 #define _STOPLISTITEM_H
12 
13 #include "ClientListItem.h"
14 #include "fmi.h"
15 
16 #if( FMI_SUPPORT_A603 )
17 
22 {
23 public:
24  typedef uint32 key_type;
25 
26  StopListItem();
27 
29 
30  virtual void readFromStream
31  (
32  std::istream &aStream
33  );
34 
35  void setCurrentName
36  (
37  CString aName
38  );
39 
40  void setStopStatus
41  (
43  );
44 
45  void setParent
46  (
48  );
49 
50 private:
57 
60 };
61 
62 #endif
63 
64 #endif
virtual void readFromStream(std::istream &aStream)
Read a ClientListItem from an input stream.
StopListItem()
Constructor.
Data structure to hold details of an A603 stop that the server needs to keep.
Definition: StopListItem.h:21
void setCurrentName(CString aName)
Set the current name of the stop.
void setParent(FileBackedMap< StopListItem > *aParent)
Set the parent.
uint32 key_type
Definition: StopListItem.h:24
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
unsigned long int uint32
32-bit unsigned integer
Definition: garmin_types.h:66