#include <guiObservers.hxx>
Public Member Functions | |
SubjectObserver (Subject *ref) | |
virtual | ~SubjectObserver () |
virtual void | select (bool isSelected) |
virtual void | update (GuiEvent event, int type, Subject *son) |
Public Member Functions inherited from YACS::HMI::GuiObserver | |
GuiObserver () | |
virtual | ~GuiObserver () |
virtual void | incrementSubjects (Subject *subject) |
virtual void | decrementSubjects (Subject *subject) |
int | getNbSubjects () |
bool | isDestructible () |
Protected Attributes | |
Subject * | _reference |
Protected Attributes inherited from YACS::HMI::GuiObserver | |
std::set< Subject * > | _subjectSet |
bool | _destructible |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::GuiObserver | |
static std::string | eventName (GuiEvent event) |
static void | setEventMap () |
Static Protected Attributes inherited from YACS::HMI::GuiObserver | |
static std::map< int, std::string > | _eventNameMap |
Definition at line 173 of file guiObservers.hxx.
SubjectObserver::SubjectObserver | ( | Subject * | ref | ) |
Definition at line 437 of file guiObservers.cxx.
|
virtual |
Definition at line 440 of file guiObservers.cxx.
|
virtual |
Reimplemented from YACS::HMI::GuiObserver.
Definition at line 443 of file guiObservers.cxx.
References DEBTRACE.
Reimplemented from YACS::HMI::GuiObserver.
Definition at line 448 of file guiObservers.cxx.
References _reference, DEBTRACE, YACS::HMI::GuiObserver::eventName(), YACS::HMI::RENAME, and YACS::HMI::Subject::update().
Referenced by gui.graph.MyCanvas::customEvent().
|
protected |
Definition at line 181 of file guiObservers.hxx.
Referenced by update().