#include <guiContext.hxx>
Public Member Functions | |
GuiContext () | |
virtual | ~GuiContext () |
virtual void | setProc (YACS::ENGINE::Proc *proc) |
long | getNewId (YACS::HMI::TypeOfElem type) |
YACS::ENGINE::Catalog * | getBuiltinCatalog () |
YACS::ENGINE::Catalog * | getSessionCatalog () |
YACS::ENGINE::Catalog * | getProcCatalog () |
YACS::ENGINE::Catalog * | getCurrentCatalog () |
YACS::ENGINE::Proc * | getProc () |
YACS::HMI::ProcInvoc * | getInvoc () |
YACS::HMI::SubjectProc * | getSubjectProc () |
long | getNewId () |
std::string | getXMLSchema () |
std::pair< std::string, std::string > | getYACSCont () |
bool | isNotSaved () |
bool | isLoading () |
void | setSessionCatalog (YACS::ENGINE::Catalog *cata) |
void | setProcCatalog (YACS::ENGINE::Catalog *cata) |
void | setCurrentCatalog (YACS::ENGINE::Catalog *cata) |
void | setXMLSchema (std::string xmlSchema) |
void | setYACSContainer (std::pair< std::string, std::string > yc) |
void | setNotSaved (bool isNotSaved) |
void | setLoading (bool isLoading) |
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::string | getName () |
virtual bool | setName (std::string name) |
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) |
virtual void | clean (Command *command=0) |
void | localclean (Command *command=0) |
void | registerUndoDestroy () |
void | askRegisterUndoDestroy () |
bool | isDestructible () |
virtual TypeOfElem | getType () |
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 () |
Static Public Member Functions | |
static GuiContext * | getCurrent () |
static void | setCurrent (GuiContext *context) |
Static Public Member Functions inherited from YACS::HMI::Subject | |
static void | erase (Subject *sub, Command *command=0, bool post=false) |
Public Attributes | |
std::map< YACS::ENGINE::Node *, YACS::HMI::SubjectNode * > | _mapOfSubjectNode |
std::map < YACS::ENGINE::DataPort *, YACS::HMI::SubjectDataPort * > | _mapOfSubjectDataPort |
std::map< std::pair < YACS::ENGINE::OutPort *, YACS::ENGINE::InPort * > , YACS::HMI::SubjectLink * > | _mapOfSubjectLink |
std::map< std::pair < YACS::ENGINE::Node *, YACS::ENGINE::Node * > , YACS::HMI::SubjectControlLink * > | _mapOfSubjectControlLink |
std::map < YACS::ENGINE::ComponentInstance *, YACS::HMI::SubjectComponent * > | _mapOfSubjectComponent |
std::map < YACS::ENGINE::Container *, YACS::HMI::SubjectContainerBase * > | _mapOfSubjectContainer |
std::map< std::string, YACS::HMI::SubjectDataType * > | _mapOfSubjectDataType |
std::map< int, YACS::HMI::SubjectNode * > | _mapOfExecSubjectNode |
std::map< std::string, YACS::ENGINE::ComponentInstance * > | _mapOfLastComponentInstance |
std::string | _lastErrorMessage |
Protected Attributes | |
YACS::ENGINE::Catalog * | _builtinCatalog |
YACS::ENGINE::Catalog * | _sessionCatalog |
YACS::ENGINE::Catalog * | _procCatalog |
YACS::ENGINE::Catalog * | _currentCatalog |
YACS::ENGINE::Proc * | _proc |
YACS::HMI::ProcInvoc * | _invoc |
YACS::HMI::SubjectProc * | _subjectProc |
long | _numItem |
bool | _isNotSaved |
bool | _isLoading |
std::string | _xmlSchema |
std::pair< std::string, std::string > | _YACSEngineContainer |
Protected Attributes inherited from YACS::HMI::Subject | |
std::set< GuiObserver * > | _setObs |
Subject * | _parent |
bool | _destructible |
bool | _askRegisterUndo |
std::string | _progress |
Static Protected Attributes | |
static GuiContext * | _current = 0 |
Definition at line 37 of file guiContext.hxx.
GuiContext::GuiContext | ( | ) |
Definition at line 39 of file guiContext.cxx.
References _builtinCatalog, _currentCatalog, _invoc, _isLoading, _isNotSaved, _lastErrorMessage, _mapOfExecSubjectNode, _mapOfLastComponentInstance, _mapOfSubjectComponent, _mapOfSubjectContainer, _mapOfSubjectControlLink, _mapOfSubjectDataPort, _mapOfSubjectDataType, _mapOfSubjectLink, _mapOfSubjectNode, _numItem, _proc, _procCatalog, _sessionCatalog, _subjectProc, _xmlSchema, _YACSEngineContainer, YACS::ENGINE::Runtime::getBuiltinCatalog(), and YACS::ENGINE::getSALOMERuntime().
|
virtual |
Definition at line 68 of file guiContext.cxx.
References _current, _invoc, _subjectProc, and YACS::HMI::SubjectProc::clean().
|
inline |
Definition at line 45 of file guiContext.hxx.
|
inlinestatic |
Definition at line 67 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectProc::addComponent(), YACS::HMI::SubjectProc::addComSubjectDataType(), YACS::HMI::SubjectProc::addContainer(), YACS::HMI::SubjectProc::addDataType(), YACS::HMI::SubjectProc::addHPContainer(), YACS::HMI::SubjectElementaryNode::addIDSPort(), YACS::HMI::SubjectElementaryNode::addInputPort(), YACS::HMI::SubjectComposedNode::addNode(), YACS::HMI::SubjectForLoop::addNode(), YACS::HMI::SubjectWhileLoop::addNode(), YACS::HMI::SubjectSwitch::addNode(), YACS::HMI::SubjectDynParaLoop::addNode(), YACS::HMI::SubjectElementaryNode::addODSPort(), YACS::HMI::SubjectElementaryNode::addOutputPort(), YACS::HMI::SubjectProc::addSubjectComponent(), YACS::HMI::SubjectProc::addSubjectContainer(), YACS::HMI::SubjectComposedNode::addSubjectControlLink(), YACS::HMI::SubjectProc::addSubjectDataType(), YACS::HMI::SubjectNode::addSubjectIDSPort(), YACS::HMI::SubjectNode::addSubjectInputPort(), YACS::HMI::SubjectComposedNode::addSubjectLink(), YACS::HMI::SubjectComposedNode::addSubjectNode(), YACS::HMI::SubjectNode::addSubjectODSPort(), YACS::HMI::SubjectNode::addSubjectOutputPort(), YACS::HMI::SceneBlocItem::arrangeCanvasNodes(), YACS::HMI::SceneComposedNodeItem::arrangeNodes(), YACS::HMI::SubjectServiceNode::associateToComponent(), YACS::HMI::SubjectComponent::associateToContainer(), YACS::HMI::EditionComponent::changeContainer(), YACS::HMI::EditionScript::changeContainer(), YACS::HMI::EditionSalomeNode::changeContainer(), YACS::HMI::EditionSalomeNode::changeInstance(), YACS::HMI::SubjectNode::copy(), YACS::HMI::SubjectComposedNode::createNode(), YACS::HMI::Subject::destroy(), YACS::HMI::EditionSalomeNode::fillComponentPanel(), YACS::HMI::EditionComponent::fillContainerPanel(), YACS::HMI::EditionScript::fillContainerPanel(), YACS::HMI::EditionSalomeNode::fillContainerPanel(), YACS::HMI::SubjectComposedNode::getLowestCommonAncestor(), YACS::HMI::SceneBlocItem::getNodesInfo(), YACS::HMI::CommandAddDataTypeFromCatalog::getTypeCode(), YACS::HMI::SubjectProc::loadComponents(), YACS::HMI::SubjectProc::loadContainers(), YACS::HMI::SubjectComposedNode::loadLinks(), YACS::HMI::SubjectContainerBase::localclean(), YACS::HMI::SubjectComponent::localclean(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), YACS::HMI::CommandReparentNode::localExecute(), YACS::HMI::CommandPutInComposedNode::localExecute(), YACS::HMI::CommandCopyNode::localExecute(), YACS::HMI::CommandRenameNode::localExecute(), YACS::HMI::CommandRenameContainer::localExecute(), YACS::HMI::CommandRenameInDataPort::localExecute(), YACS::HMI::CommandRenameOutDataPort::localExecute(), YACS::HMI::CommandAddDataTypeFromCatalog::localExecute(), YACS::HMI::CommandAddInputPortFromCatalog::localExecute(), YACS::HMI::CommandAddOutputPortFromCatalog::localExecute(), YACS::HMI::CommandAddIDSPortFromCatalog::localExecute(), YACS::HMI::CommandAddODSPortFromCatalog::localExecute(), YACS::HMI::CommandOrderInputPorts::localExecute(), YACS::HMI::CommandOrderOutputPorts::localExecute(), YACS::HMI::CommandSetInPortValue::localExecute(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandSetSwitchSelect::localExecute(), YACS::HMI::CommandSetSwitchCase::localExecute(), YACS::HMI::CommandSetForLoopSteps::localExecute(), YACS::HMI::CommandSetWhileCondition::localExecute(), YACS::HMI::CommandSetForEachBranch::localExecute(), YACS::HMI::CommandSetAlgo::localExecute(), YACS::HMI::CommandAddLink::localExecute(), YACS::HMI::CommandAddControlLink::localExecute(), YACS::HMI::CommandAddContainerBase::localExecute(), YACS::HMI::CommandSetContainerProperties::localExecute(), YACS::HMI::CommandSetNodeProperties::localExecute(), YACS::HMI::CommandSetComponentInstanceProperties::localExecute(), YACS::HMI::CommandSetDSPortProperties::localExecute(), YACS::HMI::CommandSetLinkProperties::localExecute(), YACS::HMI::CommandSetFuncNodeFunctionName::localExecute(), YACS::HMI::CommandSetInlineNodeScript::localExecute(), YACS::HMI::CommandAddComponentInstance::localExecute(), YACS::HMI::CommandSetExecutionMode::localExecute(), YACS::HMI::CommandSetContainer::localExecute(), YACS::HMI::CommandAssociateComponentToContainer::localExecute(), YACS::HMI::CommandAssociateServiceToComponent::localExecute(), YACS::HMI::CommandAddComponentFromCatalog::localExecute(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandAddNodeFromCatalog::localReverse(), YACS::HMI::CommandReparentNode::localReverse(), YACS::HMI::CommandPutInComposedNode::localReverse(), YACS::HMI::CommandCopyNode::localReverse(), YACS::HMI::CommandRenameNode::localReverse(), YACS::HMI::CommandRenameContainer::localReverse(), YACS::HMI::CommandRenameInDataPort::localReverse(), YACS::HMI::CommandRenameOutDataPort::localReverse(), YACS::HMI::CommandAddDataTypeFromCatalog::localReverse(), YACS::HMI::CommandAddInputPortFromCatalog::localReverse(), YACS::HMI::CommandAddOutputPortFromCatalog::localReverse(), YACS::HMI::CommandAddIDSPortFromCatalog::localReverse(), YACS::HMI::CommandAddODSPortFromCatalog::localReverse(), YACS::HMI::CommandOrderInputPorts::localReverse(), YACS::HMI::CommandOrderOutputPorts::localReverse(), YACS::HMI::CommandSetInPortValue::localReverse(), YACS::HMI::CommandSetOutPortValue::localReverse(), YACS::HMI::CommandSetSwitchSelect::localReverse(), YACS::HMI::CommandSetSwitchCase::localReverse(), YACS::HMI::CommandSetForLoopSteps::localReverse(), YACS::HMI::CommandSetWhileCondition::localReverse(), YACS::HMI::CommandSetForEachBranch::localReverse(), YACS::HMI::CommandSetAlgo::localReverse(), YACS::HMI::CommandAddLink::localReverse(), YACS::HMI::CommandAddControlLink::localReverse(), YACS::HMI::CommandAddContainerBase::localReverse(), YACS::HMI::CommandSetContainerProperties::localReverse(), YACS::HMI::CommandSetNodeProperties::localReverse(), YACS::HMI::CommandSetComponentInstanceProperties::localReverse(), YACS::HMI::CommandSetDSPortProperties::localReverse(), YACS::HMI::CommandSetLinkProperties::localReverse(), YACS::HMI::CommandSetFuncNodeFunctionName::localReverse(), YACS::HMI::CommandSetInlineNodeScript::localReverse(), YACS::HMI::CommandAddComponentInstance::localReverse(), YACS::HMI::CommandSetExecutionMode::localReverse(), YACS::HMI::CommandSetContainer::localReverse(), YACS::HMI::CommandAssociateComponentToContainer::localReverse(), YACS::HMI::CommandAssociateServiceToComponent::localReverse(), YACS::HMI::CommandAddComponentFromCatalog::localReverse(), YACS::HMI::EditionScript::onApply(), YACS::HMI::EditionContainer::onApply(), YACS::HMI::SubjectElementaryNode::OrderDataPorts(), YACS::HMI::SubjectNode::putInComposedNode(), YACS::HMI::SubjectDataPort::registerUndoDestroy(), YACS::HMI::SubjectInputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectOutputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectNode::registerUndoDestroy(), YACS::HMI::SubjectContainer::registerUndoDestroy(), YACS::HMI::SubjectHPContainer::registerUndoDestroy(), YACS::HMI::SubjectLink::registerUndoDestroy(), YACS::HMI::SubjectControlLink::registerUndoDestroy(), YACS::HMI::SubjectComposedNode::removeControlLink(), YACS::HMI::SubjectNode::removeExternalLinks(), YACS::HMI::SubjectComposedNode::removeLink(), YACS::HMI::SubjectProc::removeSubjectContainer(), YACS::HMI::SubjectProc::removeSubjectDataType(), YACS::HMI::SubjectNode::reparent(), YACS::HMI::SubjectNode::restoreLinks(), YACS::HMI::SubjectOptimizerLoop::setAlgorithm(), YACS::HMI::SubjectSwitch::setCase(), YACS::HMI::SubjectServiceNode::setComponent(), YACS::HMI::SubjectServiceNode::setComponentFromCatalog(), YACS::HMI::SubjectWhileLoop::setCondition(), YACS::HMI::SubjectComponent::setContainer(), YACS::HMI::SubjectInlineNode::setContainer(), YACS::HMI::SubjectInlineNode::setExecutionMode(), YACS::HMI::SubjectPyFuncNode::setFunctionName(), YACS::HMI::SubjectDataPort::setName(), YACS::HMI::SubjectNode::setName(), YACS::HMI::SubjectContainerBase::setName(), YACS::HMI::SubjectDynParaLoop::setNbBranches(), YACS::HMI::SubjectForLoop::setNbSteps(), YACS::HMI::SubjectInputDataStreamPort::setProperties(), YACS::HMI::SubjectOutputDataStreamPort::setProperties(), YACS::HMI::SubjectNode::setProperties(), YACS::HMI::SubjectContainerBase::setProperties(), YACS::HMI::SubjectComponent::setProperties(), YACS::HMI::SubjectLink::setProperties(), YACS::HMI::SubjectInlineNode::setScript(), YACS::HMI::SubjectSwitch::setSelect(), YACS::HMI::SubjectInputPort::setValue(), YACS::HMI::SubjectOutputPort::setValue(), YACS::HMI::SubjectDataPort::tryCreateLink(), YACS::HMI::SubjectNode::tryCreateLink(), YACS::HMI::SchemaComponentItem::update(), YACS::HMI::SchemaComposedNodeItem::update(), YACS::HMI::SceneComposedNodeItem::update(), YACS::HMI::SubjectComponent::~SubjectComponent(), YACS::HMI::SubjectContainerBase::~SubjectContainerBase(), YACS::HMI::SubjectNode::~SubjectNode(), and YACS::HMI::SubjectServiceNode::~SubjectServiceNode().
|
inline |
Definition at line 48 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectProc::addComSubjectDataType(), and YACS::HMI::TablePortsEdition::oncb_insert_activated().
|
inline |
Definition at line 51 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectProc::addComponent(), YACS::HMI::SubjectProc::addComSubjectDataType(), YACS::HMI::SubjectProc::addContainer(), YACS::HMI::SubjectProc::addDataType(), YACS::HMI::SubjectProc::addHPContainer(), YACS::HMI::SubjectElementaryNode::addIDSPort(), YACS::HMI::SubjectElementaryNode::addInputPort(), YACS::HMI::SubjectElementaryNode::addODSPort(), YACS::HMI::SubjectElementaryNode::addOutputPort(), YACS::HMI::SubjectServiceNode::associateToComponent(), YACS::HMI::SubjectComponent::associateToContainer(), YACS::HMI::SubjectNode::copy(), YACS::HMI::SubjectComposedNode::createNode(), YACS::HMI::Subject::destroy(), YACS::HMI::ItemEditionBase::ItemEditionBase(), YACS::HMI::SubjectElementaryNode::OrderDataPorts(), YACS::HMI::SubjectNode::putInComposedNode(), YACS::HMI::SubjectDataPort::registerUndoDestroy(), YACS::HMI::SubjectInputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectOutputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectNode::registerUndoDestroy(), YACS::HMI::SubjectContainer::registerUndoDestroy(), YACS::HMI::SubjectHPContainer::registerUndoDestroy(), YACS::HMI::SubjectLink::registerUndoDestroy(), YACS::HMI::SubjectControlLink::registerUndoDestroy(), YACS::HMI::SubjectNode::reparent(), YACS::HMI::SubjectOptimizerLoop::setAlgorithm(), YACS::HMI::SubjectSwitch::setCase(), YACS::HMI::SubjectServiceNode::setComponentFromCatalog(), YACS::HMI::SubjectWhileLoop::setCondition(), YACS::HMI::SubjectInlineNode::setContainer(), YACS::HMI::SubjectInlineNode::setExecutionMode(), YACS::HMI::SubjectPyFuncNode::setFunctionName(), YACS::HMI::SubjectDataPort::setName(), YACS::HMI::SubjectNode::setName(), YACS::HMI::SubjectContainerBase::setName(), YACS::HMI::SubjectDynParaLoop::setNbBranches(), YACS::HMI::SubjectForLoop::setNbSteps(), YACS::HMI::SubjectInputDataStreamPort::setProperties(), YACS::HMI::SubjectOutputDataStreamPort::setProperties(), YACS::HMI::SubjectNode::setProperties(), YACS::HMI::SubjectContainerBase::setProperties(), YACS::HMI::SubjectComponent::setProperties(), YACS::HMI::SubjectLink::setProperties(), YACS::HMI::SubjectInlineNode::setScript(), YACS::HMI::SubjectSwitch::setSelect(), YACS::HMI::SubjectInputPort::setValue(), YACS::HMI::SubjectOutputPort::setValue(), YACS::HMI::SubjectDataPort::tryCreateLink(), and YACS::HMI::SubjectNode::tryCreateLink().
long GuiContext::getNewId | ( | YACS::HMI::TypeOfElem | type | ) |
Definition at line 107 of file guiContext.cxx.
References _numItem.
|
inline |
Definition at line 53 of file guiContext.hxx.
|
inline |
Definition at line 50 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectElementaryNode::addIDSPort(), YACS::HMI::SubjectElementaryNode::addInputPort(), YACS::HMI::SubjectElementaryNode::addODSPort(), YACS::HMI::SubjectElementaryNode::addOutputPort(), YACS::HMI::SubjectProc::addSubjectDataType(), YACS::HMI::SceneBlocItem::arrangeCanvasNodes(), YACS::HMI::SubjectServiceNode::associateToComponent(), YACS::HMI::EditionComponent::changeContainer(), YACS::HMI::EditionScript::changeContainer(), YACS::HMI::EditionSalomeNode::changeContainer(), YACS::HMI::EditionSalomeNode::changeInstance(), YACS::HMI::SubjectNode::copy(), YACS::HMI::SubjectComposedNode::createNode(), YACS::HMI::Subject::destroy(), YACS::HMI::EditionNode::EditionNode(), YACS::HMI::EditionSalomeNode::fillComponentPanel(), YACS::HMI::EditionComponent::fillContainerPanel(), YACS::HMI::EditionScript::fillContainerPanel(), YACS::HMI::EditionSalomeNode::fillContainerPanel(), YACS::HMI::SceneBlocItem::getNodesInfo(), YACS::HMI::CommandAddDataTypeFromCatalog::getTypeCode(), YACS::HMI::SubjectProc::loadComponents(), YACS::HMI::SubjectProc::loadContainers(), YACS::HMI::SubjectContainerBase::localclean(), YACS::HMI::SubjectComponent::localclean(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), YACS::HMI::CommandReparentNode::localExecute(), YACS::HMI::CommandPutInComposedNode::localExecute(), YACS::HMI::CommandCopyNode::localExecute(), YACS::HMI::CommandRenameNode::localExecute(), YACS::HMI::CommandRenameContainer::localExecute(), YACS::HMI::CommandRenameInDataPort::localExecute(), YACS::HMI::CommandRenameOutDataPort::localExecute(), YACS::HMI::CommandAddDataTypeFromCatalog::localExecute(), YACS::HMI::CommandAddInputPortFromCatalog::localExecute(), YACS::HMI::CommandAddOutputPortFromCatalog::localExecute(), YACS::HMI::CommandAddIDSPortFromCatalog::localExecute(), YACS::HMI::CommandAddODSPortFromCatalog::localExecute(), YACS::HMI::CommandOrderInputPorts::localExecute(), YACS::HMI::CommandOrderOutputPorts::localExecute(), YACS::HMI::CommandSetInPortValue::localExecute(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandSetSwitchSelect::localExecute(), YACS::HMI::CommandSetSwitchCase::localExecute(), YACS::HMI::CommandSetForLoopSteps::localExecute(), YACS::HMI::CommandSetWhileCondition::localExecute(), YACS::HMI::CommandSetForEachBranch::localExecute(), YACS::HMI::CommandSetAlgo::localExecute(), YACS::HMI::CommandAddLink::localExecute(), YACS::HMI::CommandAddControlLink::localExecute(), YACS::HMI::CommandAddContainerBase::localExecute(), YACS::HMI::CommandSetContainerProperties::localExecute(), YACS::HMI::CommandSetNodeProperties::localExecute(), YACS::HMI::CommandSetComponentInstanceProperties::localExecute(), YACS::HMI::CommandSetDSPortProperties::localExecute(), YACS::HMI::CommandSetLinkProperties::localExecute(), YACS::HMI::CommandSetFuncNodeFunctionName::localExecute(), YACS::HMI::CommandSetInlineNodeScript::localExecute(), YACS::HMI::CommandAddComponentInstance::localExecute(), YACS::HMI::CommandSetExecutionMode::localExecute(), YACS::HMI::CommandSetContainer::localExecute(), YACS::HMI::CommandAssociateComponentToContainer::localExecute(), YACS::HMI::CommandAssociateServiceToComponent::localExecute(), YACS::HMI::CommandAddComponentFromCatalog::localExecute(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandAddNodeFromCatalog::localReverse(), YACS::HMI::CommandReparentNode::localReverse(), YACS::HMI::CommandPutInComposedNode::localReverse(), YACS::HMI::CommandCopyNode::localReverse(), YACS::HMI::CommandRenameNode::localReverse(), YACS::HMI::CommandRenameContainer::localReverse(), YACS::HMI::CommandRenameInDataPort::localReverse(), YACS::HMI::CommandRenameOutDataPort::localReverse(), YACS::HMI::CommandAddInputPortFromCatalog::localReverse(), YACS::HMI::CommandAddOutputPortFromCatalog::localReverse(), YACS::HMI::CommandAddIDSPortFromCatalog::localReverse(), YACS::HMI::CommandAddODSPortFromCatalog::localReverse(), YACS::HMI::CommandOrderInputPorts::localReverse(), YACS::HMI::CommandOrderOutputPorts::localReverse(), YACS::HMI::CommandSetInPortValue::localReverse(), YACS::HMI::CommandSetOutPortValue::localReverse(), YACS::HMI::CommandSetSwitchSelect::localReverse(), YACS::HMI::CommandSetSwitchCase::localReverse(), YACS::HMI::CommandSetForLoopSteps::localReverse(), YACS::HMI::CommandSetWhileCondition::localReverse(), YACS::HMI::CommandSetForEachBranch::localReverse(), YACS::HMI::CommandSetAlgo::localReverse(), YACS::HMI::CommandAddLink::localReverse(), YACS::HMI::CommandAddControlLink::localReverse(), YACS::HMI::CommandAddContainerBase::localReverse(), YACS::HMI::CommandSetContainerProperties::localReverse(), YACS::HMI::CommandSetNodeProperties::localReverse(), YACS::HMI::CommandSetComponentInstanceProperties::localReverse(), YACS::HMI::CommandSetDSPortProperties::localReverse(), YACS::HMI::CommandSetLinkProperties::localReverse(), YACS::HMI::CommandSetFuncNodeFunctionName::localReverse(), YACS::HMI::CommandSetInlineNodeScript::localReverse(), YACS::HMI::CommandAddComponentInstance::localReverse(), YACS::HMI::CommandSetExecutionMode::localReverse(), YACS::HMI::CommandSetContainer::localReverse(), YACS::HMI::CommandAssociateComponentToContainer::localReverse(), YACS::HMI::CommandAssociateServiceToComponent::localReverse(), YACS::HMI::CommandAddComponentFromCatalog::localReverse(), YACS::HMI::SubjectElementaryNode::OrderDataPorts(), YACS::HMI::SubjectNode::putInComposedNode(), YACS::HMI::SubjectDataPort::registerUndoDestroy(), YACS::HMI::SubjectInputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectOutputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectNode::registerUndoDestroy(), YACS::HMI::SubjectLink::registerUndoDestroy(), YACS::HMI::SubjectControlLink::registerUndoDestroy(), YACS::HMI::SubjectProc::removeSubjectDataType(), YACS::HMI::SubjectNode::reparent(), YACS::HMI::SubjectOptimizerLoop::setAlgorithm(), YACS::HMI::SubjectSwitch::setCase(), YACS::HMI::SubjectServiceNode::setComponent(), YACS::HMI::SubjectServiceNode::setComponentFromCatalog(), YACS::HMI::SubjectWhileLoop::setCondition(), YACS::HMI::SubjectInlineNode::setContainer(), YACS::HMI::SubjectInlineNode::setExecutionMode(), YACS::HMI::SubjectPyFuncNode::setFunctionName(), YACS::HMI::SubjectDataPort::setName(), YACS::HMI::SubjectNode::setName(), YACS::HMI::SubjectDynParaLoop::setNbBranches(), YACS::HMI::SubjectForLoop::setNbSteps(), YACS::HMI::SubjectInputDataStreamPort::setProperties(), YACS::HMI::SubjectOutputDataStreamPort::setProperties(), YACS::HMI::SubjectNode::setProperties(), YACS::HMI::SubjectLink::setProperties(), YACS::HMI::SubjectInlineNode::setScript(), YACS::HMI::SubjectSwitch::setSelect(), YACS::HMI::SubjectInputPort::setValue(), YACS::HMI::SubjectOutputPort::setValue(), YACS::HMI::EditionProc::synchronize(), YACS::HMI::SchemaNodeItem::toggleState(), YACS::HMI::SubjectDataPort::tryCreateLink(), YACS::HMI::SubjectNode::tryCreateLink(), YACS::HMI::SchemaComponentItem::update(), YACS::HMI::EditionNode::update(), YACS::HMI::EditionProc::update(), YACS::HMI::SubjectComponent::~SubjectComponent(), and YACS::HMI::SubjectContainerBase::~SubjectContainerBase().
|
inline |
Definition at line 47 of file guiContext.hxx.
|
inline |
Definition at line 46 of file guiContext.hxx.
|
inline |
Definition at line 52 of file guiContext.hxx.
Referenced by YACS::HMI::SchemaDirContainersItem::addComponentItem(), YACS::HMI::SubjectNode::addSubjectIDSPort(), YACS::HMI::SubjectNode::addSubjectInputPort(), YACS::HMI::SubjectNode::addSubjectODSPort(), YACS::HMI::SubjectNode::addSubjectOutputPort(), YACS::HMI::SceneBlocItem::arrangeCanvasNodes(), YACS::HMI::SubjectContainerBase::localclean(), YACS::HMI::CommandAddDataTypeFromCatalog::localExecute(), YACS::HMI::CommandAddContainerBase::localExecute(), YACS::HMI::CommandAddComponentInstance::localExecute(), YACS::HMI::CommandAddComponentFromCatalog::localExecute(), YACS::HMI::CommandPutInComposedNode::localReverse(), YACS::HMI::CommandAddDataTypeFromCatalog::localReverse(), YACS::HMI::CommandAddContainerBase::localReverse(), YACS::HMI::CommandAssociateServiceToComponent::localReverse(), YACS::HMI::SceneNodeItem::mouseReleaseEvent(), YACS::HMI::GraphicsView::onViewFitAll(), YACS::HMI::SceneElementaryNodeItem::reorganizeShrinkExpand(), YACS::HMI::SceneComposedNodeItem::reorganizeShrinkExpand(), YACS::HMI::TreeView::resizeColumns(), YACS::HMI::SubjectServiceNode::setComponent(), YACS::HMI::SubjectComponent::setContainer(), YACS::HMI::ItemEdition::setEdited(), YACS::HMI::SceneComposedNodeItem::update(), YACS::HMI::SceneElementaryNodeItem::update(), YACS::HMI::TablePortsEdition::upOrDown(), YACS::HMI::VisitorSaveGuiSchema::writePresentation(), YACS::HMI::SubjectContainerBase::~SubjectContainerBase(), and YACS::HMI::SubjectServiceNode::~SubjectServiceNode().
|
inline |
Definition at line 54 of file guiContext.hxx.
|
inline |
Definition at line 55 of file guiContext.hxx.
|
inline |
Definition at line 57 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectComponent::associateToContainer(), YACS::HMI::SceneComposedNodeItem::autoPosNewChild(), YACS::HMI::SubjectInlineNode::setContainer(), and YACS::HMI::SubjectInlineNode::setExecutionMode().
|
inline |
Definition at line 56 of file guiContext.hxx.
|
inlinestatic |
Definition at line 68 of file guiContext.hxx.
|
inline |
Definition at line 61 of file guiContext.hxx.
Referenced by YACS::HMI::GenericGui::createContext(), and YACS::HMI::CommandAddNodeFromCatalog::localExecute().
|
inline |
|
inline |
Definition at line 64 of file guiContext.hxx.
|
virtual |
Reimplemented in YACS::HMI::QtGuiContext.
Definition at line 81 of file guiContext.cxx.
References _lastErrorMessage, _mapOfLastComponentInstance, _mapOfSubjectComponent, _mapOfSubjectContainer, _mapOfSubjectControlLink, _mapOfSubjectDataPort, _mapOfSubjectDataType, _mapOfSubjectLink, _mapOfSubjectNode, _proc, _subjectProc, DEBTRACE, YACS::HMI::ENDLOAD, YACS::HMI::Subject::erase(), YACS::HMI::SubjectProc::loadProc(), YACS::HMI::NEWROOT, and YACS::HMI::Subject::update().
Referenced by YACS::HMI::QtGuiContext::setProc().
|
inline |
Definition at line 60 of file guiContext.hxx.
|
inline |
|
inline |
Definition at line 62 of file guiContext.hxx.
|
inline |
Definition at line 63 of file guiContext.hxx.
|
protected |
Definition at line 82 of file guiContext.hxx.
Referenced by GuiContext().
|
staticprotected |
Definition at line 92 of file guiContext.hxx.
Referenced by ~GuiContext(), and YACS::HMI::QtGuiContext::~QtGuiContext().
|
protected |
Definition at line 85 of file guiContext.hxx.
Referenced by GuiContext().
|
protected |
Definition at line 87 of file guiContext.hxx.
Referenced by GuiContext(), ~GuiContext(), and YACS::HMI::QtGuiContext::~QtGuiContext().
|
protected |
Definition at line 91 of file guiContext.hxx.
Referenced by GuiContext().
|
protected |
Definition at line 90 of file guiContext.hxx.
Referenced by GuiContext().
std::string YACS::HMI::GuiContext::_lastErrorMessage |
Definition at line 79 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectProc::addContainer(), YACS::HMI::SubjectProc::addHPContainer(), YACS::HMI::SubjectComposedNode::addNode(), YACS::HMI::SubjectForLoop::addNode(), YACS::HMI::SubjectWhileLoop::addNode(), YACS::HMI::SubjectSwitch::addNode(), YACS::HMI::SubjectDynParaLoop::addNode(), YACS::HMI::SubjectProc::addSubjectDataType(), YACS::HMI::SubjectNode::copy(), YACS::HMI::Subject::destroy(), GuiContext(), YACS::HMI::CommandReparentNode::localExecute(), YACS::HMI::CommandPutInComposedNode::localExecute(), YACS::HMI::CommandRenameContainer::localExecute(), YACS::HMI::CommandAddDataTypeFromCatalog::localExecute(), YACS::HMI::CommandAddInputPortFromCatalog::localExecute(), YACS::HMI::CommandAddOutputPortFromCatalog::localExecute(), YACS::HMI::CommandAddIDSPortFromCatalog::localExecute(), YACS::HMI::CommandAddODSPortFromCatalog::localExecute(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandAddControlLink::localExecute(), YACS::HMI::CommandAddContainerBase::localExecute(), YACS::HMI::CommandSetContainerProperties::localExecute(), YACS::HMI::CommandSetNodeProperties::localExecute(), YACS::HMI::CommandSetComponentInstanceProperties::localExecute(), YACS::HMI::CommandSetFuncNodeFunctionName::localExecute(), YACS::HMI::CommandSetInlineNodeScript::localExecute(), YACS::HMI::CommandSetExecutionMode::localExecute(), YACS::HMI::CommandSetContainer::localExecute(), YACS::HMI::CommandAssociateComponentToContainer::localExecute(), YACS::HMI::CommandAssociateServiceToComponent::localExecute(), YACS::HMI::CommandReparentNode::localReverse(), YACS::HMI::CommandSetOutPortValue::localReverse(), YACS::HMI::CommandSetContainerProperties::localReverse(), YACS::HMI::CommandSetNodeProperties::localReverse(), YACS::HMI::CommandSetComponentInstanceProperties::localReverse(), YACS::HMI::CommandSetFuncNodeFunctionName::localReverse(), YACS::HMI::CommandSetInlineNodeScript::localReverse(), YACS::HMI::CommandSetExecutionMode::localReverse(), YACS::HMI::CommandSetContainer::localReverse(), YACS::HMI::CommandAssociateComponentToContainer::localReverse(), YACS::HMI::CommandAssociateServiceToComponent::localReverse(), YACS::HMI::SubjectNode::reparent(), setProc(), and YACS::HMI::SubjectDataPort::tryCreateLink().
std::map<int,YACS::HMI::SubjectNode*> YACS::HMI::GuiContext::_mapOfExecSubjectNode |
Definition at line 77 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectComposedNode::addSubjectNode(), and GuiContext().
std::map<std::string, YACS::ENGINE::ComponentInstance*> YACS::HMI::GuiContext::_mapOfLastComponentInstance |
Definition at line 78 of file guiContext.hxx.
Referenced by GuiContext(), YACS::HMI::SubjectProc::loadComponents(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), and setProc().
std::map<YACS::ENGINE::ComponentInstance*, YACS::HMI::SubjectComponent*> YACS::HMI::GuiContext::_mapOfSubjectComponent |
Definition at line 74 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectProc::addSubjectComponent(), YACS::HMI::EditionSalomeNode::changeInstance(), GuiContext(), YACS::HMI::SubjectProc::loadComponents(), YACS::HMI::SubjectContainerBase::localclean(), YACS::HMI::CommandSetComponentInstanceProperties::localExecute(), YACS::HMI::CommandAssociateComponentToContainer::localExecute(), YACS::HMI::CommandAssociateServiceToComponent::localExecute(), YACS::HMI::CommandAddComponentFromCatalog::localExecute(), YACS::HMI::CommandSetComponentInstanceProperties::localReverse(), YACS::HMI::CommandAddComponentInstance::localReverse(), YACS::HMI::CommandAssociateComponentToContainer::localReverse(), YACS::HMI::CommandAssociateServiceToComponent::localReverse(), YACS::HMI::CommandAddComponentFromCatalog::localReverse(), YACS::HMI::SubjectNode::registerUndoDestroy(), YACS::HMI::SubjectServiceNode::setComponent(), setProc(), YACS::HMI::SubjectComponent::~SubjectComponent(), YACS::HMI::SubjectContainerBase::~SubjectContainerBase(), and YACS::HMI::SubjectServiceNode::~SubjectServiceNode().
std::map<YACS::ENGINE::Container*, YACS::HMI::SubjectContainerBase*> YACS::HMI::GuiContext::_mapOfSubjectContainer |
Definition at line 75 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectProc::addSubjectContainer(), YACS::HMI::EditionComponent::changeContainer(), GuiContext(), YACS::HMI::SubjectProc::loadContainers(), YACS::HMI::SubjectComponent::localclean(), YACS::HMI::CommandSetContainer::localExecute(), YACS::HMI::CommandAssociateComponentToContainer::localExecute(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandAddContainerBase::localReverse(), YACS::HMI::CommandAddComponentInstance::localReverse(), YACS::HMI::CommandSetContainer::localReverse(), YACS::HMI::CommandAssociateComponentToContainer::localReverse(), YACS::HMI::CommandAddComponentFromCatalog::localReverse(), YACS::HMI::SubjectComponent::setContainer(), setProc(), and YACS::HMI::SubjectContainerBase::~SubjectContainerBase().
std::map<std::pair<YACS::ENGINE::Node*, YACS::ENGINE::Node*>,YACS::HMI::SubjectControlLink*> YACS::HMI::GuiContext::_mapOfSubjectControlLink |
Definition at line 73 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectComposedNode::addSubjectControlLink(), YACS::HMI::LinkMatrix::getListOfCtrlLinkDef(), GuiContext(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandAddLink::localReverse(), YACS::HMI::CommandAddControlLink::localReverse(), YACS::HMI::SubjectComposedNode::removeControlLink(), and setProc().
std::map<YACS::ENGINE::DataPort*,YACS::HMI::SubjectDataPort*> YACS::HMI::GuiContext::_mapOfSubjectDataPort |
Definition at line 71 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectNode::addSubjectIDSPort(), YACS::HMI::SubjectNode::addSubjectInputPort(), YACS::HMI::SubjectNode::addSubjectODSPort(), YACS::HMI::SubjectNode::addSubjectOutputPort(), YACS::HMI::LinkMatrix::cellFrom(), YACS::HMI::LinkMatrix::cellTo(), GuiContext(), YACS::HMI::SubjectComposedNode::loadLinks(), YACS::HMI::CommandRenameInDataPort::localExecute(), YACS::HMI::CommandRenameOutDataPort::localExecute(), YACS::HMI::CommandOrderInputPorts::localExecute(), YACS::HMI::CommandOrderOutputPorts::localExecute(), YACS::HMI::CommandSetInPortValue::localExecute(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandSetForEachBranch::localExecute(), YACS::HMI::CommandSetAlgo::localExecute(), YACS::HMI::CommandAddLink::localExecute(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandRenameInDataPort::localReverse(), YACS::HMI::CommandRenameOutDataPort::localReverse(), YACS::HMI::CommandAddInputPortFromCatalog::localReverse(), YACS::HMI::CommandAddOutputPortFromCatalog::localReverse(), YACS::HMI::CommandAddIDSPortFromCatalog::localReverse(), YACS::HMI::CommandAddODSPortFromCatalog::localReverse(), YACS::HMI::CommandOrderInputPorts::localReverse(), YACS::HMI::CommandOrderOutputPorts::localReverse(), YACS::HMI::CommandSetInPortValue::localReverse(), YACS::HMI::CommandSetOutPortValue::localReverse(), YACS::HMI::CommandSetForEachBranch::localReverse(), YACS::HMI::CommandSetAlgo::localReverse(), YACS::HMI::EditionForEachLoop::onModifyCollection(), YACS::HMI::EditionOptimizerLoop::onModifyInitFile(), YACS::HMI::SceneElementaryNodeItem::reorganize(), YACS::HMI::SubjectNode::restoreLinks(), setProc(), YACS::HMI::SchemaNodeItem::update(), and YACS::HMI::EditionLoop::update().
std::map<std::string, YACS::HMI::SubjectDataType*> YACS::HMI::GuiContext::_mapOfSubjectDataType |
Definition at line 76 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectProc::addSubjectDataType(), GuiContext(), YACS::HMI::SubjectProc::removeSubjectDataType(), and setProc().
std::map<std::pair<YACS::ENGINE::OutPort*, YACS::ENGINE::InPort*>,YACS::HMI::SubjectLink*> YACS::HMI::GuiContext::_mapOfSubjectLink |
Definition at line 72 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectComposedNode::addSubjectLink(), YACS::HMI::LinkMatrix::getListOfDataLinkDef(), GuiContext(), YACS::HMI::SubjectComposedNode::loadLinks(), YACS::HMI::CommandSetLinkProperties::localExecute(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandAddLink::localReverse(), YACS::HMI::CommandSetLinkProperties::localReverse(), YACS::HMI::SubjectNode::registerUndoDestroy(), YACS::HMI::SubjectNode::removeExternalLinks(), YACS::HMI::SubjectComposedNode::removeLink(), setProc(), and YACS::HMI::SceneNodeItem::showOutScopeLinks().
std::map<YACS::ENGINE::Node*,YACS::HMI::SubjectNode*> YACS::HMI::GuiContext::_mapOfSubjectNode |
Definition at line 68 of file guiContext.hxx.
Referenced by YACS::HMI::SubjectComposedNode::addSubjectNode(), YACS::HMI::SceneBlocItem::arrangeCanvasNodes(), YACS::HMI::SceneComposedNodeItem::arrangeNodes(), YACS::HMI::LinkMatrix::cellFrom(), YACS::HMI::LinkMatrix::cellTo(), YACS::HMI::SubjectComposedNode::getLowestCommonAncestor(), YACS::HMI::SceneBlocItem::getNodesInfo(), GuiContext(), YACS::HMI::SubjectComposedNode::loadLinks(), YACS::HMI::SubjectComponent::localclean(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), YACS::HMI::CommandReparentNode::localExecute(), YACS::HMI::CommandPutInComposedNode::localExecute(), YACS::HMI::CommandCopyNode::localExecute(), YACS::HMI::CommandRenameNode::localExecute(), YACS::HMI::CommandAddInputPortFromCatalog::localExecute(), YACS::HMI::CommandAddOutputPortFromCatalog::localExecute(), YACS::HMI::CommandAddIDSPortFromCatalog::localExecute(), YACS::HMI::CommandAddODSPortFromCatalog::localExecute(), YACS::HMI::CommandOrderInputPorts::localExecute(), YACS::HMI::CommandOrderOutputPorts::localExecute(), YACS::HMI::CommandSetSwitchSelect::localExecute(), YACS::HMI::CommandSetSwitchCase::localExecute(), YACS::HMI::CommandSetForLoopSteps::localExecute(), YACS::HMI::CommandSetWhileCondition::localExecute(), YACS::HMI::CommandSetForEachBranch::localExecute(), YACS::HMI::CommandSetAlgo::localExecute(), YACS::HMI::CommandAddLink::localExecute(), YACS::HMI::CommandAddControlLink::localExecute(), YACS::HMI::CommandSetNodeProperties::localExecute(), YACS::HMI::CommandSetInlineNodeScript::localExecute(), YACS::HMI::CommandSetExecutionMode::localExecute(), YACS::HMI::CommandSetContainer::localExecute(), YACS::HMI::CommandAssociateServiceToComponent::localExecute(), YACS::HMI::CommandAddComponentFromCatalog::localExecute(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandAddNodeFromCatalog::localReverse(), YACS::HMI::CommandReparentNode::localReverse(), YACS::HMI::CommandPutInComposedNode::localReverse(), YACS::HMI::CommandCopyNode::localReverse(), YACS::HMI::CommandRenameNode::localReverse(), YACS::HMI::CommandOrderInputPorts::localReverse(), YACS::HMI::CommandOrderOutputPorts::localReverse(), YACS::HMI::CommandSetSwitchSelect::localReverse(), YACS::HMI::CommandSetSwitchCase::localReverse(), YACS::HMI::CommandSetForLoopSteps::localReverse(), YACS::HMI::CommandSetWhileCondition::localReverse(), YACS::HMI::CommandSetForEachBranch::localReverse(), YACS::HMI::CommandSetAlgo::localReverse(), YACS::HMI::CommandSetNodeProperties::localReverse(), YACS::HMI::CommandSetInlineNodeScript::localReverse(), YACS::HMI::CommandSetExecutionMode::localReverse(), YACS::HMI::CommandSetContainer::localReverse(), YACS::HMI::CommandAssociateServiceToComponent::localReverse(), YACS::HMI::CommandAddComponentFromCatalog::localReverse(), YACS::HMI::SubjectNode::restoreLinks(), setProc(), YACS::HMI::SchemaComposedNodeItem::update(), YACS::HMI::SceneComposedNodeItem::update(), YACS::HMI::VisitorSaveGuiSchema::writePresentation(), and YACS::HMI::SubjectNode::~SubjectNode().
|
protected |
Definition at line 89 of file guiContext.hxx.
Referenced by getNewId(), and GuiContext().
|
protected |
Definition at line 86 of file guiContext.hxx.
Referenced by GuiContext(), setProc(), and YACS::HMI::QtGuiContext::~QtGuiContext().
|
protected |
Definition at line 84 of file guiContext.hxx.
Referenced by GuiContext().
|
protected |
Definition at line 83 of file guiContext.hxx.
Referenced by GuiContext().
|
protected |
Definition at line 88 of file guiContext.hxx.
Referenced by GuiContext(), setProc(), ~GuiContext(), and YACS::HMI::QtGuiContext::~QtGuiContext().
|
protected |
Definition at line 93 of file guiContext.hxx.
Referenced by GuiContext().
|
protected |
Definition at line 94 of file guiContext.hxx.
Referenced by GuiContext().