Version: 9.12.0
gui.CONNECTOR Namespace Reference

Classes

class  ConnectorError
 
class  CONNECTOR
 
class  BoundMethodWeakref
 
class  A
 
class  B
 

Functions

def ref (target, callback=None)
 
def f (a)
 

Variables

 _the_connector = CONNECTOR()
 
 Connect = _the_connector.Connect
 
 Emit = _the_connector.Emit
 
 Disconnect = _the_connector.Disconnect
 
 a = A()
 
 b = B()
 
 c = B()
 

Function Documentation

◆ f()

◆ ref()

def gui.CONNECTOR.ref (   target,
  callback = None 
)

Definition at line 120 of file CONNECTOR.py.

120 def ref(target,callback=None):
121  if hasattr(target,"im_self"):
122  return BoundMethodWeakref(target)
123  else:
124  return weakref.ref(target,callback)
125 
def ref(target, callback=None)
Definition: CONNECTOR.py:120

Referenced by YACS::HMI::SubjectProc.addContainer(), YACS::HMI::SubjectProc.addHPContainer(), YACS::HMI::Subject.addSubjectReference(), YACS::HMI::SubjectServiceNode.addSubjectReference(), YACS::outnodetypeParser< T >.buildAttr(), gui.CONNECTOR.CONNECTOR.Connect(), YACS::ENGINE::DistributedPythonNode.dealException(), YACS::ENGINE::AbstractPoint.IsCommonDirectSonOf(), YACS::HMI::CommandAddContainerBase.localExecute(), YACS::HMI::CommandSetContainerProperties.localExecute(), YACS::HMI::CommandSetComponentInstanceProperties.localExecute(), YACS::HMI::CommandSetContainerProperties.localReverse(), YACS::HMI::CommandSetComponentInstanceProperties.localReverse(), YACS::HMI::GenericGui.onSelectComponentInstance(), YACS::HMI::GenericGui.onSelectReference(), YACS::outnodetypeParser< T >.ref(), YACS::HMI::GuiExecutor.setEngineRef(), YACS::ENGINE::DataNode.setRef(), YACS::ENGINE::ServiceNode.setRef(), YACS::ENGINE::XmlNode.setRef(), YACS::HMI::SubjectReference.SubjectReference(), YACS::HMI::SchemaComponentItem.update(), YACS::HMI::SchemaContainerItem.update(), YACS::ENGINE::VisitorSaveSalomeSchema.visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema.visitPresetNode(), YACS::ENGINE::VisitorSaveSalomeSchema.visitStudyInNode(), and YACS::ENGINE::VisitorSaveSalomeSchema.visitStudyOutNode().

Variable Documentation

◆ _the_connector

gui.CONNECTOR._the_connector = CONNECTOR()
private

Definition at line 138 of file CONNECTOR.py.

◆ a

◆ b

◆ c

◆ Connect

gui.CONNECTOR.Connect = _the_connector.Connect

Definition at line 139 of file CONNECTOR.py.

◆ Disconnect

gui.CONNECTOR.Disconnect = _the_connector.Disconnect

Definition at line 141 of file CONNECTOR.py.

◆ Emit

gui.CONNECTOR.Emit = _the_connector.Emit

Definition at line 140 of file CONNECTOR.py.