#include <SALOMEDS_SObject_i.hxx>
Public Member Functions | |
SALOMEDS_SObject_i (const SALOMEDSImpl_SObject &, CORBA::ORB_ptr) | |
Function : constructor Purpose : More... | |
virtual | ~SALOMEDS_SObject_i () |
Function : destructor Purpose : More... | |
virtual PortableServer::POA_ptr | _default_POA () |
Get default POA for the servant object. More... | |
virtual CORBA::Boolean | IsNull () |
Returns true if the SObject does not belong to any Study. More... | |
virtual char * | GetID () |
Function :GetID Purpose : More... | |
virtual SALOMEDS::SComponent_ptr | GetFatherComponent () |
Function : GetFatherComponent Purpose : More... | |
virtual SALOMEDS::SObject_ptr | GetFather () |
Function : GetFather Purpose : More... | |
virtual CORBA::Boolean | FindAttribute (SALOMEDS::GenericAttribute_out anAttribute, const char *aTypeOfAttribute) |
Function : FindAttribute Purpose : Find attribute of given type on this SObject. More... | |
virtual CORBA::Boolean | ReferencedObject (SALOMEDS::SObject_out obj) |
Function : ReferencedObject Purpose : More... | |
virtual CORBA::Boolean | FindSubObject (CORBA::Long atag, SALOMEDS::SObject_out obj) |
Function : FindSubObject Purpose : More... | |
virtual char * | Name () |
Function : Name Purpose : gets a name. More... | |
virtual void | Name (const char *) |
Function : Name Purpose : sets a name. More... | |
virtual SALOMEDS::ListOfAttributes * | GetAllAttributes () |
Function : GetAllAttributes Purpose : Returns list of all attributes for this sobject. More... | |
virtual CORBA::Object_ptr | GetObject () |
Function : GetObject Purpose : More... | |
virtual char * | GetName () |
Function : GetName Purpose : More... | |
virtual char * | GetComment () |
Function : GetComment Purpose : More... | |
virtual char * | GetIOR () |
Function : GetIOR Purpose : More... | |
virtual void | SetAttrString (const char *, const char *) |
Function : SetAttrString Purpose : More... | |
virtual CORBA::Short | Tag () |
Function : Tag Purpose : More... | |
virtual CORBA::Short | GetLastChildTag () |
Function : GetLastChildTag Purpose : More... | |
virtual CORBA::Short | Depth () |
Function : Depth Purpose : More... | |
virtual CORBA::LongLong | GetLocalImpl (const char *theHostname, CORBA::Long thePID, CORBA::Boolean &isLocal) |
virtual void | Register () |
Increment reference counter. More... | |
virtual void | UnRegister () |
Decrement reference counter. More... | |
virtual void | Destroy () |
Decrement reference counter. More... | |
Static Public Member Functions | |
static SALOMEDS::SObject_ptr | New (const SALOMEDSImpl_SObject &, CORBA::ORB_ptr) |
Protected Attributes | |
CORBA::ORB_var | _orb |
SALOMEDSImpl_SObject * | _impl |
PortableServer::POA_var | myPOA |
int | myRefCounter |
SALOMEDS_SObject_i::SALOMEDS_SObject_i | ( | const SALOMEDSImpl_SObject & | impl, |
CORBA::ORB_ptr | orb | ||
) |
Function : constructor Purpose :
References _impl, _orb, SALOMEDSImpl_SComponent::GetPersistentCopy(), SALOMEDSImpl_SObject::GetPersistentCopy(), SALOMEDSImpl_SObject::IsComponent(), SALOMEDSImpl_SObject::IsNull(), and salome::orb.
Referenced by New().
|
virtual |
Function : destructor Purpose :
References _impl.
|
virtual |
Get default POA for the servant object.
This function is implicitly called from "_this()" function. Default POA can be set via the constructor.
Reimplemented from SALOME::GenericObj_i.
References SALOMEDS_Study_i::GetThePOA(), and SALOME::GenericObj_i::myPOA.
|
virtual |
Function : Depth Purpose :
< TODO: conversion from int to CORBA::Short
References _impl, SALOMEDSImpl_SObject::Depth(), and SALOMEDS::lock().
|
virtualinherited |
Decrement reference counter.
References MESSAGE, and SALOME::GenericObj_i::UnRegister().
|
virtual |
Function : FindAttribute Purpose : Find attribute of given type on this SObject.
References _impl, _orb, SALOMEDS_GenericAttribute_i::CreateAttribute(), SALOMEDSImpl_SObject::FindAttribute(), and SALOMEDS::lock().
|
virtual |
Function : FindSubObject Purpose :
References _impl, _orb, SALOMEDSImpl_SObject::FindSubObject(), SALOMEDS::lock(), New(), and KERNEL_PY.batchmode_salome::obj.
|
virtual |
Function : GetAllAttributes Purpose : Returns list of all attributes for this sobject.
< TODO: conversion from size_t to int
References _impl, _orb, SALOMEDS_GenericAttribute_i::CreateAttribute(), SALOMEDSImpl_SObject::GetAllAttributes(), and SALOMEDS::lock().
|
virtual |
Function : GetComment Purpose :
References _impl, SALOMEDSImpl_SObject::GetComment(), and SALOMEDS::lock().
|
virtual |
Function : GetFather Purpose :
References _impl, _orb, SALOMEDSImpl_SObject::GetFather(), SALOMEDS::lock(), and New().
|
virtual |
Function : GetFatherComponent Purpose :
References _impl, _orb, SALOMEDSImpl_SObject::GetFatherComponent(), SALOMEDS::lock(), and SALOMEDS_SComponent_i::New().
|
virtual |
Function :GetID Purpose :
References _impl, SALOMEDSImpl_SObject::GetID(), and SALOMEDS::lock().
|
virtual |
Function : GetIOR Purpose :
References _impl, SALOMEDSImpl_SObject::GetIOR(), and SALOMEDS::lock().
|
virtual |
Function : GetLastChildTag Purpose :
References _impl, SALOMEDSImpl_SObject::GetLastChildTag(), and SALOMEDS::lock().
|
virtual |
References _impl, and Kernel_Utils::GetHostname().
|
virtual |
Function : GetName Purpose :
References _impl, SALOMEDSImpl_SObject::GetName(), and SALOMEDS::lock().
|
virtual |
Function : GetObject Purpose :
References _impl, _orb, SALOMEDSImpl_SObject::GetIOR(), SALOMEDS::lock(), and KERNEL_PY.batchmode_salome::obj.
|
virtual |
Returns true if the SObject does not belong to any Study.
References _impl, SALOMEDSImpl_SObject::IsNull(), and SALOMEDS::lock().
|
virtual |
Function : Name Purpose : gets a name.
References _impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Name().
|
virtual |
Function : Name Purpose : sets a name.
References _impl, SALOMEDS::lock(), pythfilter::name, and SALOMEDSImpl_SObject::Name().
|
static |
References SALOMEDS_SObject_i().
Referenced by SALOMEDS_UseCaseBuilder_i::AddUseCase(), SALOMEDS_Driver_i::CanCopy(), SALOMEDS_Driver_i::CopyFrom(), SALOMEDS_Study_i::CreateObjectID(), SALOMEDS_Study_i::FindObject(), SALOMEDS_Study_i::FindObjectByName(), SALOMEDS_Study_i::FindObjectByPath(), SALOMEDS_Study_i::FindObjectID(), SALOMEDS_Study_i::FindObjectIOR(), FindSubObject(), SALOMEDS_AttributeTarget_i::Get(), SALOMEDS_UseCaseBuilder_i::GetCurrentObject(), GetFather(), SALOMEDS_UseCaseBuilder_i::GetFather(), SALOMEDS_GenericAttribute_i::GetSObject(), SALOMEDS_SObject::GetSObject(), SALOMEDS_Driver_i::IORToLocalPersistentID(), SALOMEDS_Driver_i::LocalPersistentIDToIOR(), SALOMEDS_StudyBuilder_i::NewObject(), SALOMEDS_StudyBuilder_i::NewObjectToTag(), SALOMEDS_Study_i::Paste(), SALOMEDS_Driver_i::PasteInto(), ReferencedObject(), SALOMEDS_ChildIterator_i::Value(), and SALOMEDS_UseCaseIterator_i::Value().
|
virtual |
Function : ReferencedObject Purpose :
References _impl, _orb, SALOMEDS::lock(), New(), KERNEL_PY.batchmode_salome::obj, and SALOMEDSImpl_SObject::ReferencedObject().
|
virtualinherited |
Increment reference counter.
References IS_OBJ_IN_QUESTION, MESSAGE, and SALOME::GenericObj_i::myRefCounter.
|
virtual |
Function : SetAttrString Purpose :
References _impl, SALOMEDS::lock(), pythfilter::name, and SALOMEDSImpl_SObject::SetAttrString().
|
virtual |
Function : Tag Purpose :
< TODO: conversion from int to CORBA::Short
References _impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Tag().
|
virtualinherited |
Decrement reference counter.
As soon as reference counter goes to zero, the object is automatically deactivated.
References IS_OBJ_IN_QUESTION, MESSAGE, SALOME::GenericObj_i::myPOA, and SALOME::GenericObj_i::myRefCounter.
Referenced by SALOME::GenericObj_i::Destroy(), and SALOME_PyNode.Generic::Destroy().
|
protected |
Referenced by SALOMEDS_SComponent_i::ComponentDataType(), SALOMEDS_SComponent_i::ComponentIOR(), Depth(), FindAttribute(), FindSubObject(), GetAllAttributes(), GetComment(), GetFather(), GetFatherComponent(), GetID(), GetIOR(), GetLastChildTag(), GetLocalImpl(), GetName(), GetObject(), IsNull(), Name(), ReferencedObject(), SALOME_Embedded_NamingService.SALOME_Embedded_NamingService::Register(), SALOME_Embedded_NamingService.SALOME_Embedded_NamingService::Resolve(), SALOMEDS_SObject_i(), SetAttrString(), Tag(), and ~SALOMEDS_SObject_i().
|
protected |
Referenced by SALOME_Container.SALOME_Container_i::__init__(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::__init__(), SALOME_ContainerPy.SALOME_ContainerPy_i::__init__(), SALOME_ComponentPy.SALOME_ComponentPy_Gen_i::__init__(), SALOME_NamingServicePy.SALOME_NamingServicePy_i::__init__(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::create_component_instance(), SALOME_Container.SALOME_Container_i::create_component_instance(), SALOME_Container.SALOME_Container_i::create_pynode(), SALOME_Container.SALOME_Container_i::create_pyscriptnode(), FindAttribute(), FindSubObject(), GetAllAttributes(), GetFather(), GetFatherComponent(), GetObject(), ReferencedObject(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy::Register(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy::Resolve(), SALOMEDS_SObject_i(), and SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::Shutdown().
|
protectedinherited |
Referenced by SALOME::GenericObj_i::_default_POA(), SALOMEDS_ChildIterator_i::_default_POA(), SALOMEDS_GenericAttribute_i::_default_POA(), SALOMEDS_SComponentIterator_i::_default_POA(), _default_POA(), SALOMEDS_UseCaseBuilder_i::_default_POA(), SALOMEDS_UseCaseIterator_i::_default_POA(), SALOME::GenericObj_i::GenericObj_i(), and SALOME::GenericObj_i::UnRegister().
|
protectedinherited |
Referenced by SALOME::GenericObj_i::Register(), and SALOME::GenericObj_i::UnRegister().