Version: 8.3.0
YACS::HMI::GuiContext Class Reference

#include <guiContext.hxx>

Inheritance diagram for YACS::HMI::GuiContext:
Collaboration diagram for YACS::HMI::GuiContext:

Public Member Functions

 GuiContext ()
 
virtual ~GuiContext ()
 
virtual void setProc (YACS::ENGINE::Proc *proc)
 
long getNewId (YACS::HMI::TypeOfElem type)
 
YACS::ENGINE::CataloggetBuiltinCatalog ()
 
YACS::ENGINE::CataloggetSessionCatalog ()
 
YACS::ENGINE::CataloggetProcCatalog ()
 
YACS::ENGINE::CataloggetCurrentCatalog ()
 
YACS::ENGINE::ProcgetProc ()
 
YACS::HMI::ProcInvocgetInvoc ()
 
YACS::HMI::SubjectProcgetSubjectProc ()
 
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 SubjectgetParent ()
 
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 GuiContextgetCurrent ()
 
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
 

Detailed Description

Definition at line 37 of file guiContext.hxx.

Constructor & Destructor Documentation

GuiContext::~GuiContext ( )
virtual

Definition at line 68 of file guiContext.cxx.

References _current, _invoc, _subjectProc, and YACS::HMI::SubjectProc::clean().

69 {
70  if (_invoc) delete _invoc;
71  _invoc = 0;
72  if (_subjectProc)
73  {
75  delete _subjectProc;
76  _subjectProc = 0;
77  }
78  _current = 0;
79 }

Member Function Documentation

YACS::ENGINE::Catalog* YACS::HMI::GuiContext::getBuiltinCatalog ( )
inline

Definition at line 45 of file guiContext.hxx.

45 {return _builtinCatalog; };
static GuiContext* YACS::HMI::GuiContext::getCurrent ( )
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().

67 {return _current; };
YACS::ENGINE::Catalog* YACS::HMI::GuiContext::getCurrentCatalog ( )
inline
YACS::HMI::ProcInvoc* YACS::HMI::GuiContext::getInvoc ( )
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().

51 {return _invoc; };
long GuiContext::getNewId ( YACS::HMI::TypeOfElem  type)

Definition at line 107 of file guiContext.cxx.

References _numItem.

108 {
109  return _numItem++;
110 }
long YACS::HMI::GuiContext::getNewId ( )
inline

Definition at line 53 of file guiContext.hxx.

53 {return _numItem++; };
YACS::ENGINE::Proc* YACS::HMI::GuiContext::getProc ( )
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().

50 {return _proc; };
YACS::ENGINE::Catalog* YACS::HMI::GuiContext::getProcCatalog ( )
inline

Definition at line 47 of file guiContext.hxx.

47 {return _procCatalog; };
YACS::ENGINE::Catalog* YACS::HMI::GuiContext::getSessionCatalog ( )
inline

Definition at line 46 of file guiContext.hxx.

46 {return _sessionCatalog; };
YACS::HMI::SubjectProc* YACS::HMI::GuiContext::getSubjectProc ( )
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().

52 {return _subjectProc; };
std::string YACS::HMI::GuiContext::getXMLSchema ( )
inline

Definition at line 54 of file guiContext.hxx.

54 {return _xmlSchema; };
std::pair<std::string, std::string> YACS::HMI::GuiContext::getYACSCont ( )
inline

Definition at line 55 of file guiContext.hxx.

55 {return _YACSEngineContainer; }
bool YACS::HMI::GuiContext::isNotSaved ( )
inline

Definition at line 56 of file guiContext.hxx.

56 {return _isNotSaved; };
static void YACS::HMI::GuiContext::setCurrent ( GuiContext context)
inlinestatic

Definition at line 68 of file guiContext.hxx.

68 { _current=context; };
void YACS::HMI::GuiContext::setCurrentCatalog ( YACS::ENGINE::Catalog cata)
inline
void YACS::HMI::GuiContext::setLoading ( bool  isLoading)
inline

Definition at line 65 of file guiContext.hxx.

Referenced by YACS::HMI::GenericGui::createContext().

65 {_isLoading = isLoading; };
void YACS::HMI::GuiContext::setNotSaved ( bool  isNotSaved)
inline

Definition at line 64 of file guiContext.hxx.

void YACS::HMI::GuiContext::setProcCatalog ( YACS::ENGINE::Catalog cata)
inline

Definition at line 60 of file guiContext.hxx.

60 {_procCatalog = cata; };
void YACS::HMI::GuiContext::setSessionCatalog ( YACS::ENGINE::Catalog cata)
inline

Definition at line 59 of file guiContext.hxx.

Referenced by YACS::HMI::GenericGui::createContext().

59 {_sessionCatalog = cata; };
void YACS::HMI::GuiContext::setXMLSchema ( std::string  xmlSchema)
inline

Definition at line 62 of file guiContext.hxx.

62 {_xmlSchema = xmlSchema; };
void YACS::HMI::GuiContext::setYACSContainer ( std::pair< std::string, std::string >  yc)
inline

Definition at line 63 of file guiContext.hxx.

63 {_YACSEngineContainer = yc; };

Member Data Documentation

YACS::ENGINE::Catalog* YACS::HMI::GuiContext::_builtinCatalog
protected

Definition at line 82 of file guiContext.hxx.

Referenced by GuiContext().

GuiContext * GuiContext::_current = 0
staticprotected

Definition at line 92 of file guiContext.hxx.

Referenced by ~GuiContext(), and YACS::HMI::QtGuiContext::~QtGuiContext().

YACS::ENGINE::Catalog* YACS::HMI::GuiContext::_currentCatalog
protected

Definition at line 85 of file guiContext.hxx.

Referenced by GuiContext().

YACS::HMI::ProcInvoc* YACS::HMI::GuiContext::_invoc
protected

Definition at line 87 of file guiContext.hxx.

Referenced by GuiContext(), ~GuiContext(), and YACS::HMI::QtGuiContext::~QtGuiContext().

bool YACS::HMI::GuiContext::_isLoading
protected

Definition at line 91 of file guiContext.hxx.

Referenced by GuiContext().

bool YACS::HMI::GuiContext::_isNotSaved
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
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
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().

long YACS::HMI::GuiContext::_numItem
protected

Definition at line 89 of file guiContext.hxx.

Referenced by getNewId(), and GuiContext().

YACS::ENGINE::Proc* YACS::HMI::GuiContext::_proc
protected

Definition at line 86 of file guiContext.hxx.

Referenced by GuiContext(), setProc(), and YACS::HMI::QtGuiContext::~QtGuiContext().

YACS::ENGINE::Catalog* YACS::HMI::GuiContext::_procCatalog
protected

Definition at line 84 of file guiContext.hxx.

Referenced by GuiContext().

YACS::ENGINE::Catalog* YACS::HMI::GuiContext::_sessionCatalog
protected

Definition at line 83 of file guiContext.hxx.

Referenced by GuiContext().

YACS::HMI::SubjectProc* YACS::HMI::GuiContext::_subjectProc
protected
std::string YACS::HMI::GuiContext::_xmlSchema
protected

Definition at line 93 of file guiContext.hxx.

Referenced by GuiContext().

std::pair<std::string, std::string> YACS::HMI::GuiContext::_YACSEngineContainer
protected

Definition at line 94 of file guiContext.hxx.

Referenced by GuiContext().


The documentation for this class was generated from the following files: