Garmin Fleet Management Controller
2.19.0
Main Page
Related Pages
Classes
Files
File List
File Members
EventListener.h
Go to the documentation of this file.
1
/*********************************************************************
2
*
3
* HEADER NAME:
4
* EventListener.h
5
*
6
* Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7
*---------------------------------------------------------------------
8
* $NoKeywords$
9
*********************************************************************/
10
#ifndef EventListener_H
11
#define EventListener_H
12
13
class
EventListener
;
14
15
#include "
Event.h
"
16
17
//----------------------------------------------------------------------
23
//----------------------------------------------------------------------
24
class
EventListener
25
{
26
public
:
27
EventListener
();
28
virtual
~EventListener
();
29
30
//----------------------------------------------------------------------
38
//----------------------------------------------------------------------
39
virtual
void
onEvent
40
(
41
EventId
aEventId,
42
uint32
aEventData,
43
void
* aEventDataPtr,
44
BOOL handleNow
45
) = 0;
46
};
47
48
#endif
EventListener::onEvent
virtual void onEvent(EventId aEventId, uint32 aEventData, void *aEventDataPtr, BOOL handleNow)=0
Callback for when an event is posted.
EventListener::EventListener
EventListener()
Construct a new EventListener.
Definition:
EventListener.cpp:19
EventListener::~EventListener
virtual ~EventListener()
Destructor.
Definition:
EventListener.cpp:29
EventId
EventId
Events generated by the FMI PC Application.
Definition:
EventId.h:19
Event.h
uint32
unsigned long int uint32
32-bit unsigned integer
Definition:
garmin_types.h:66
EventListener
Base class for objects that take action in response to an Event being posted.
Definition:
EventListener.h:24
EventListener.h
Generated by
1.8.11