#include <SALOMEDS_SComponent_i.hxx>
Public Member Functions | |
SALOMEDS_SComponent_i (const SALOMEDSImpl_SComponent &, CORBA::ORB_ptr) | |
Function : constructor Purpose : More... | |
virtual | ~SALOMEDS_SComponent_i () |
Function : destructor Purpose : More... | |
virtual char * | ComponentDataType () |
Function : ComponentDataType Purpose : More... | |
virtual CORBA::Boolean | ComponentIOR (CORBA::String_out theID) |
Function : ComponentIOR Purpose : 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 SALOMEDS::Study_ptr | GetStudy () |
Function : 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 PortableServer::POA_ptr | _default_POA () |
Get default POA for the servant object. More... | |
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::SComponent_ptr | New (const SALOMEDSImpl_SComponent &, CORBA::ORB_ptr) |
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_SComponent_i::SALOMEDS_SComponent_i | ( | const SALOMEDSImpl_SComponent & | theImpl, |
CORBA::ORB_ptr | orb | ||
) |
Function : constructor Purpose :
Referenced by New().
|
virtual |
Function : destructor Purpose :
|
virtualinherited |
Get default POA for the servant object.
This function is implicitly called from "_this()" function. Default POA can be set via the constructor.
References SALOME::GenericObj_i::myPOA.
|
virtual |
Function : ComponentDataType Purpose :
References SALOMEDS_SObject_i::_impl, and SALOMEDS::lock().
|
virtual |
Function : ComponentIOR Purpose :
References SALOMEDS_SObject_i::_impl, and SALOMEDS::lock().
|
virtualinherited |
Function : Depth Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::Depth(), and SALOMEDS::lock().
|
virtualinherited |
Decrement reference counter.
References MESSAGE, and SALOME::GenericObj_i::UnRegister().
|
virtualinherited |
Function : FindAttribute Purpose : Find attribute of given type on this SObject.
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, SALOMEDS_GenericAttribute_i::CreateAttribute(), SALOMEDSImpl_SObject::FindAttribute(), and SALOMEDS::lock().
|
virtualinherited |
Function : FindSubObject Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, SALOMEDSImpl_SObject::FindSubObject(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
|
virtualinherited |
Function : GetAllAttributes Purpose : Returns list of all attributes for this sobject.
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, SALOMEDS_GenericAttribute_i::CreateAttribute(), SALOMEDSImpl_SObject::GetAllAttributes(), and SALOMEDS::lock().
|
virtualinherited |
Function : GetComment Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetComment(), and SALOMEDS::lock().
|
virtualinherited |
Function : GetFather Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, SALOMEDSImpl_SObject::GetFather(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
|
virtualinherited |
Function : GetFatherComponent Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, SALOMEDSImpl_SObject::GetFatherComponent(), SALOMEDS::lock(), and New().
|
virtualinherited |
Function :GetID Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetID(), and SALOMEDS::lock().
|
virtualinherited |
Function : GetIOR Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetIOR(), and SALOMEDS::lock().
|
virtualinherited |
Function : GetLastChildTag Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetLastChildTag(), and SALOMEDS::lock().
|
virtualinherited |
References SALOMEDS_SObject_i::_impl, and Kernel_Utils::GetHostname().
|
virtualinherited |
Function : GetName Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetName(), and SALOMEDS::lock().
|
virtualinherited |
Function : GetObject Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, SALOMEDSImpl_SObject::GetIOR(), and SALOMEDS::lock().
|
virtualinherited |
Function : Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, ASSERT, SALOMEDSImpl_SObject::GetStudy(), SALOMEDSImpl_Study::GetTransientReference(), SALOMEDS::lock(), and MESSAGE.
|
virtualinherited |
Returns true if the SObject does not belong to any Study.
References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::IsNull(), and SALOMEDS::lock().
|
virtualinherited |
Function : Name Purpose : gets a name.
References SALOMEDS_SObject_i::_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Name().
|
virtualinherited |
Function : Name Purpose : sets a name.
References SALOMEDS_SObject_i::_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Name().
|
static |
References SALOMEDS_SComponent_i().
Referenced by SALOMEDS_Driver_i::Close(), SALOMEDS_Study_i::FindComponent(), SALOMEDS_Study_i::FindComponentID(), SALOMEDS_Study_i::FindObject(), SALOMEDS_SObject_i::GetFatherComponent(), SALOMEDS_SComponent::GetSComponent(), SALOMEDS_Driver_i::Load(), SALOMEDS_Driver_i::LoadASCII(), SALOMEDS_StudyBuilder_i::NewComponent(), SALOMEDS_Driver_i::Save(), SALOMEDS_Driver_i::SaveASCII(), and SALOMEDS_SComponentIterator_i::Value().
|
staticinherited |
References SALOMEDS_SObject_i::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(), SALOMEDS_SObject_i::FindSubObject(), SALOMEDS_AttributeTarget_i::Get(), SALOMEDS_UseCaseBuilder_i::GetCurrentObject(), SALOMEDS_SObject_i::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_StudyManager_i::Paste(), SALOMEDS_Driver_i::PasteInto(), SALOMEDS_SObject_i::ReferencedObject(), SALOMEDS_UseCaseIterator_i::Value(), and SALOMEDS_ChildIterator_i::Value().
|
virtualinherited |
Function : ReferencedObject Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDS_SObject_i::_orb, SALOMEDS::lock(), SALOMEDS_SObject_i::New(), and SALOMEDSImpl_SObject::ReferencedObject().
|
virtualinherited |
Increment reference counter.
References IS_OBJ_IN_QUESTION, MESSAGE, MYDEBUG, and SALOME::GenericObj_i::myRefCounter.
Function : SetAttrString Purpose :
References SALOMEDS_SObject_i::_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::SetAttrString().
|
virtualinherited |
Function : Tag Purpose :
References SALOMEDS_SObject_i::_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, MYDEBUG, SALOME::GenericObj_i::myPOA, and SALOME::GenericObj_i::myRefCounter.
Referenced by SALOME::GenericObj_i::Destroy().
|
protectedinherited |
Referenced by ComponentDataType(), ComponentIOR(), SALOMEDS_SObject_i::Depth(), SALOMEDS_SObject_i::FindAttribute(), SALOMEDS_SObject_i::FindSubObject(), SALOMEDS_SObject_i::GetAllAttributes(), SALOMEDS_SObject_i::GetComment(), SALOMEDS_SObject_i::GetFather(), SALOMEDS_SObject_i::GetFatherComponent(), SALOMEDS_SObject_i::GetID(), SALOMEDS_SObject_i::GetIOR(), SALOMEDS_SObject_i::GetLastChildTag(), SALOMEDS_SObject_i::GetLocalImpl(), SALOMEDS_SObject_i::GetName(), SALOMEDS_SObject_i::GetObject(), SALOMEDS_SObject_i::GetStudy(), SALOMEDS_SObject_i::IsNull(), SALOMEDS_SObject_i::Name(), SALOMEDS_SObject_i::ReferencedObject(), SALOMEDS_SObject_i::SALOMEDS_SObject_i(), SALOMEDS_SObject_i::SetAttrString(), SALOMEDS_SObject_i::Tag(), and SALOMEDS_SObject_i::~SALOMEDS_SObject_i().
|
protectedinherited |
Referenced by SALOMEDS_SObject_i::FindAttribute(), SALOMEDS_SObject_i::FindSubObject(), SALOMEDS_SObject_i::GetAllAttributes(), SALOMEDS_SObject_i::GetFather(), SALOMEDS_SObject_i::GetFatherComponent(), SALOMEDS_SObject_i::GetObject(), SALOMEDS_SObject_i::GetStudy(), SALOMEDS_SObject_i::ReferencedObject(), and SALOMEDS_SObject_i::SALOMEDS_SObject_i().
|
protectedinherited |
|
protectedinherited |
Referenced by SALOME::GenericObj_i::Register(), and SALOME::GenericObj_i::UnRegister().