Deleted.
Diff: ped.cpp
- Revision:
- 1:3fe0c7f27d97
- Parent:
- 0:9601fa787c8b
- Child:
- 2:27716f570c3d
--- a/ped.cpp Tue Feb 15 20:13:34 2011 +0000 +++ b/ped.cpp Sun Sep 25 18:31:45 2011 +0000 @@ -21,6 +21,9 @@ // Ped class ----------------------------------------------------------------- // $(components::Ped) ........................................................ +/// Ped (Pedestrian) active object. +/// +/// NOTE: The mbed borad does not provide a push button (at least not out of the box) to provide the PEDS_WAITING event to the system. Instead, to be able to run this example on a bare-bones mbed board, the Pedestrian is *simulated* as the Ped active object. class Ped : public QActive { private: QTimeEvt m_timeout; @@ -50,7 +53,7 @@ // @(/1/1/3/0) QState Ped::initial(Ped *me, QEvent const *e) { QS_OBJ_DICTIONARY(&l_Ped); - QS_OBJ_DICTIONARY(&me->m_timeout); + QS_OBJ_DICTIONARY(&l_Ped.m_timeout); QS_FUN_DICTIONARY(&Ped::initial); QS_FUN_DICTIONARY(&Ped::wait); @@ -112,4 +115,3 @@ } return Q_SUPER(&QHsm::top); } -