OpenASIP  2.0
Public Member Functions | List of all members
Listener Class Reference

#include <Listener.hh>

Inheritance diagram for Listener:
Inheritance graph
Collaboration diagram for Listener:
Collaboration graph

Public Member Functions

 Listener ()
 
virtual ~Listener ()
 
virtual void handleEvent (int event)
 
virtual void handleEvent ()
 

Detailed Description

Definition at line 40 of file Listener.hh.

Constructor & Destructor Documentation

◆ Listener()

Listener::Listener ( )

Constructor.

Definition at line 40 of file Listener.cc.

40  {
41 }

◆ ~Listener()

Listener::~Listener ( )
virtual

Destructor.

Definition at line 47 of file Listener.cc.

47  {
48 }

Member Function Documentation

◆ handleEvent() [1/2]

void Listener::handleEvent ( )
virtual

A function that is called every time the event the listener has registered to occurs.

Reimplemented in StopPointManager, RuntimeErrorReporter, BusTracker, ProcedureTransferTracker, ProximRuntimeErrorHandler, and ExecutionTracker.

Definition at line 70 of file Listener.cc.

70  {
71 }

Referenced by handleEvent().

◆ handleEvent() [2/2]

void Listener::handleEvent ( int  event)
virtual

A function that is called every time the event the listener has registered to occurs.

The default implementation passes the function call to the parameterless handleEvent(). This fucntion can be redefined in the derived class, if the implemented listener is interested in the event ids.

Reimplemented in RFAccessTracker, and ProximSimulationThread.

Definition at line 60 of file Listener.cc.

60  {
61  handleEvent();
62 }

References handleEvent().

Here is the call graph for this function:

The documentation for this class was generated from the following files:
Listener::handleEvent
virtual void handleEvent()
Definition: Listener.cc:70