openETCS
case study for the European Train Control System developed for the authors dissertation
|
observer interface for the DMI More...
#include <EVCStateMachine.h>
Public Member Functions | |
CDMIObserver (oETCS::DF::CEVCStateMachine *const pStateMachine) throw () | |
general constructor | |
virtual void | Detached ()=0 throw () |
notifies an observer about it was detached by the EVC state machine | |
virtual void | Update ()=0 throw () |
updates the observer representation |
Protected Attributes | |
oETCS::DF::CEVCStateMachine *const | m_pStateMachine |
pointer to the related state machine |
observer interface for the DMI
Must be reimplemented by any concrete observer.
Definition at line 1493 of file EVCStateMachine.h.
oETCS::DF::CDMIObserver::CDMIObserver | ( | oETCS::DF::CEVCStateMachine *const | pStateMachine | ) | throw () |
general constructor
Attaches the concrete obsever to the EVC state machine.
[in] | pStateMachine | pointer to the related state machine |
Definition at line 1608 of file EVCStateMachine.cpp.
|
pure virtual |
notifies an observer about it was detached by the EVC state machine
Implemented in oETCS::DF::CDMIQWidget.
|
pure virtual |
updates the observer representation
Implemented in oETCS::DF::CDMIQWidget.
|
protected |
pointer to the related state machine
Definition at line 1526 of file EVCStateMachine.h.
Referenced by oETCS::DF::CDMIQWidget::UpdateSlot().
Copyright (C) 2010-2012 Johannes Feuser (feuser@uni-bremen.de)
The openETCS library is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or any later version.
The openETCS library is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with the openETCS library. If not, see
"http://www.gnu.org/licenses/.