#include <guiObservers.hxx>
Public Member Functions | |
SubjectInputPort (YACS::ENGINE::InputPort *port, Subject *parent) | |
virtual | ~SubjectInputPort () |
virtual void | clean (Command *command=0) |
void | localclean (Command *command=0) |
virtual bool | setValue (std::string value) |
virtual TypeOfElem | getType () |
Public Member Functions inherited from YACS::HMI::SubjectDataPort | |
SubjectDataPort (YACS::ENGINE::DataPort *port, Subject *parent) | |
virtual | ~SubjectDataPort () |
virtual std::string | getName () |
virtual bool | setName (std::string name) |
virtual YACS::ENGINE::DataPort * | getPort () |
void | localclean (Command *command=0) |
void | addSubjectLink (SubjectLink *subject) |
void | removeSubjectLink (SubjectLink *subject) |
std::list< SubjectLink * > | getListOfSubjectLink () |
void | setExecValue (std::string value) |
std::string | getExecValue () |
void | registerUndoDestroy () |
Public Member Functions inherited from YACS::HMI::Subject | |
Subject (Subject *parent=0) | |
virtual | ~Subject () |
virtual void | attach (GuiObserver *obs) |
virtual void | detach (GuiObserver *obs) |
virtual void | select (bool isSelected) |
virtual void | update (GuiEvent event, int type, Subject *son) |
virtual bool | setProperties (std::map< std::string, std::string > properties) |
virtual std::map< std::string, std::string > | getProperties () |
virtual std::vector< std::string > | knownProperties () |
virtual Subject * | getParent () |
virtual void | setParent (Subject *son) |
virtual bool | destroy (Subject *son) |
From user action in Ihm, destroy an object. More... | |
virtual void | loadChildren () |
virtual void | loadLinks () |
virtual void | addSubjectReference (Subject *ref) |
void | localclean (Command *command=0) |
void | registerUndoDestroy () |
void | askRegisterUndoDestroy () |
bool | isDestructible () |
virtual void | setProgress (std::string newProgress) |
virtual std::string | getProgress () |
Public Member Functions inherited from YACS::ENGINE::Observer | |
virtual void | notifyObserver (Node *object, const std::string &event) |
virtual void | notifyObserver2 (Node *object, const std::string &event, void *something) |
virtual | ~Observer () |
Protected Attributes | |
YACS::ENGINE::InputPort * | _inputPort |
Protected Attributes inherited from YACS::HMI::SubjectDataPort | |
YACS::ENGINE::DataPort * | _dataPort |
std::list< SubjectLink * > | _listSubjectLink |
std::string | _execValue |
Protected Attributes inherited from YACS::HMI::Subject | |
std::set< GuiObserver * > | _setObs |
Subject * | _parent |
bool | _destructible |
bool | _askRegisterUndo |
std::string | _progress |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::SubjectDataPort | |
static bool | tryCreateLink (SubjectDataPort *subOutport, SubjectDataPort *subInport, bool control=true) |
Definition at line 226 of file guiObservers.hxx.
SubjectInputPort::SubjectInputPort | ( | YACS::ENGINE::InputPort * | port, |
Subject * | parent | ||
) |
Definition at line 3728 of file guiObservers.cxx.
References YACS::HMI::Subject::_destructible, _inputPort, YACS::ENGINE::DataPort::getName(), and YACS::ENGINE::Port::getNode().
|
virtual |
Definition at line 3759 of file guiObservers.cxx.
References DEBTRACE, and YACS::HMI::SubjectDataPort::getName().
|
virtual |
Clean process prior to delete is redefined in derived classes: a local clean treatment relative to the derived class, then a call to the parent class clean method.
Reimplemented from YACS::HMI::SubjectDataPort.
Definition at line 3764 of file guiObservers.cxx.
References YACS::HMI::Subject::_askRegisterUndo, YACS::HMI::SubjectDataPort::clean(), localclean(), and YACS::HMI::SubjectDataPort::registerUndoDestroy().
|
inlinevirtual |
Reimplemented from YACS::HMI::Subject.
Definition at line 234 of file guiObservers.hxx.
References YACS::HMI::INPUTPORT.
void SubjectInputPort::localclean | ( | Command * | command = 0 | ) |
Definition at line 3775 of file guiObservers.cxx.
References YACS::HMI::Subject::_parent, DEBTRACE, and YACS::HMI::SubjectElementaryNode::removePort().
Referenced by clean().
|
virtual |
Generic method do nothing. Implementation in SubjectInputPort and SubjectOutputPort.
Reimplemented from YACS::HMI::SubjectDataPort.
Definition at line 3785 of file guiObservers.cxx.
References YACS::HMI::Invocator::add(), DEBTRACE, YACS::HMI::Command::execute(), YACS::ENGINE::ComposedNode::getChildName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getInvoc(), YACS::HMI::SubjectDataPort::getName(), YACS::HMI::SubjectDataPort::getPort(), and YACS::HMI::GuiContext::getProc().
|
protected |
Definition at line 236 of file guiObservers.hxx.
Referenced by SubjectInputPort().