#include <guiObservers.hxx>
Public Member Functions | |
SubjectOutputDataStreamPort (YACS::ENGINE::OutputDataStreamPort *port, Subject *parent) | |
virtual | ~SubjectOutputDataStreamPort () |
virtual bool | setProperties (std::map< std::string, std::string > properties) |
virtual std::map< std::string, std::string > | getProperties () |
virtual void | clean (Command *command=0) |
void | localclean (Command *command=0) |
virtual TypeOfElem | getType () |
void | registerUndoDestroy () |
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 () |
virtual bool | setValue (std::string value) |
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 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::OutputDataStreamPort * | _outputDataStreamPort |
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 268 of file guiObservers.hxx.
SubjectOutputDataStreamPort::SubjectOutputDataStreamPort | ( | YACS::ENGINE::OutputDataStreamPort * | port, |
Subject * | parent | ||
) |
Definition at line 3932 of file guiObservers.cxx.
|
virtual |
Definition at line 3938 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 3962 of file guiObservers.cxx.
References YACS::HMI::Subject::_askRegisterUndo, YACS::HMI::SubjectDataPort::clean(), localclean(), and registerUndoDestroy().
|
virtual |
Reimplemented from YACS::HMI::Subject.
Definition at line 3943 of file guiObservers.cxx.
References _outputDataStreamPort, and YACS::ENGINE::DataStreamPort::getProperties().
Referenced by registerUndoDestroy().
|
inlinevirtual |
Reimplemented from YACS::HMI::Subject.
Definition at line 277 of file guiObservers.hxx.
References YACS::HMI::OUTPUTDATASTREAMPORT.
void SubjectOutputDataStreamPort::localclean | ( | Command * | command = 0 | ) |
void SubjectOutputDataStreamPort::registerUndoDestroy | ( | ) |
Definition at line 3978 of file guiObservers.cxx.
References YACS::HMI::Invocator::add(), DEBTRACE, YACS::ENGINE::ComposedNode::getChildName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getInvoc(), YACS::HMI::SubjectDataPort::getName(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::Subject::getParent(), YACS::HMI::GuiContext::getProc(), getProperties(), YACS::HMI::SubjectDataPort::registerUndoDestroy(), and YASSERT.
Referenced by clean().
|
virtual |
Reimplemented from YACS::HMI::Subject.
Definition at line 3948 of file guiObservers.cxx.
References YACS::HMI::Invocator::add(), 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 280 of file guiObservers.hxx.
Referenced by getProperties().