Version: 8.3.0
SALOMEDS_SComponent_i Class Reference

#include <SALOMEDS_SComponent_i.hxx>

Inheritance diagram for SALOMEDS_SComponent_i:

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 charComponentDataType ()
 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 charGetID ()
 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 charName ()
 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 charGetName ()
 Function : GetName Purpose : More...
 
virtual charGetComment ()
 Function : GetComment Purpose : More...
 
virtual charGetIOR ()
 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
 

Constructor & Destructor Documentation

SALOMEDS_SComponent_i::SALOMEDS_SComponent_i ( const SALOMEDSImpl_SComponent theImpl,
CORBA::ORB_ptr  orb 
)

Function : constructor Purpose :

Referenced by New().

SALOMEDS_SComponent_i::~SALOMEDS_SComponent_i ( )
virtual

Function : destructor Purpose :

Member Function Documentation

PortableServer::POA_ptr SALOME::GenericObj_i::_default_POA ( )
virtualinherited

Get default POA for the servant object.

This function is implicitly called from "_this()" function. Default POA can be set via the constructor.

Returns
reference to the default POA for the servant

References SALOME::GenericObj_i::myPOA.

char * SALOMEDS_SComponent_i::ComponentDataType ( )
virtual

Function : ComponentDataType Purpose :

References SALOMEDS_SObject_i::_impl, and SALOMEDS::lock().

CORBA::Boolean SALOMEDS_SComponent_i::ComponentIOR ( CORBA::String_out  theID)
virtual

Function : ComponentIOR Purpose :

References SALOMEDS_SObject_i::_impl, and SALOMEDS::lock().

CORBA::Short SALOMEDS_SObject_i::Depth ( )
virtualinherited

Function : Depth Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::Depth(), and SALOMEDS::lock().

void SALOME::GenericObj_i::Destroy ( )
virtualinherited

Decrement reference counter.

Deprecated:
Use UnRegister() instead.

References MESSAGE, and SALOME::GenericObj_i::UnRegister().

CORBA::Boolean SALOMEDS_SObject_i::FindAttribute ( SALOMEDS::GenericAttribute_out  anAttribute,
const char aTypeOfAttribute 
)
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().

CORBA::Boolean SALOMEDS_SObject_i::FindSubObject ( CORBA::Long  atag,
SALOMEDS::SObject_out  obj 
)
virtualinherited
SALOMEDS::ListOfAttributes * SALOMEDS_SObject_i::GetAllAttributes ( )
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().

char * SALOMEDS_SObject_i::GetComment ( )
virtualinherited

Function : GetComment Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetComment(), and SALOMEDS::lock().

SALOMEDS::SObject_ptr SALOMEDS_SObject_i::GetFather ( )
virtualinherited
SALOMEDS::SComponent_ptr SALOMEDS_SObject_i::GetFatherComponent ( )
virtualinherited
char * SALOMEDS_SObject_i::GetID ( )
virtualinherited

Function :GetID Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetID(), and SALOMEDS::lock().

char * SALOMEDS_SObject_i::GetIOR ( )
virtualinherited

Function : GetIOR Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetIOR(), and SALOMEDS::lock().

CORBA::Short SALOMEDS_SObject_i::GetLastChildTag ( )
virtualinherited

Function : GetLastChildTag Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetLastChildTag(), and SALOMEDS::lock().

CORBA::LongLong SALOMEDS_SObject_i::GetLocalImpl ( const char theHostname,
CORBA::Long  thePID,
CORBA::Boolean &  isLocal 
)
virtualinherited
char * SALOMEDS_SObject_i::GetName ( )
virtualinherited

Function : GetName Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::GetName(), and SALOMEDS::lock().

CORBA::Object_ptr SALOMEDS_SObject_i::GetObject ( )
virtualinherited
SALOMEDS::Study_ptr SALOMEDS_SObject_i::GetStudy ( )
virtualinherited
CORBA::Boolean SALOMEDS_SObject_i::IsNull ( )
virtualinherited

Returns true if the SObject does not belong to any Study.

References SALOMEDS_SObject_i::_impl, SALOMEDSImpl_SObject::IsNull(), and SALOMEDS::lock().

char * SALOMEDS_SObject_i::Name ( )
virtualinherited

Function : Name Purpose : gets a name.

References SALOMEDS_SObject_i::_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Name().

void SALOMEDS_SObject_i::Name ( const char name)
virtualinherited

Function : Name Purpose : sets a name.

References SALOMEDS_SObject_i::_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Name().

CORBA::Boolean SALOMEDS_SObject_i::ReferencedObject ( SALOMEDS::SObject_out  obj)
virtualinherited
void SALOME::GenericObj_i::Register ( )
virtualinherited

Increment reference counter.

References IS_OBJ_IN_QUESTION, MESSAGE, MYDEBUG, and SALOME::GenericObj_i::myRefCounter.

void SALOMEDS_SObject_i::SetAttrString ( const char name,
const char value 
)
virtualinherited

Function : SetAttrString Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::SetAttrString().

CORBA::Short SALOMEDS_SObject_i::Tag ( )
virtualinherited

Function : Tag Purpose :

References SALOMEDS_SObject_i::_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Tag().

void SALOME::GenericObj_i::UnRegister ( )
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().

Field Documentation

PortableServer::POA_var SALOME::GenericObj_i::myPOA
protectedinherited
int SALOME::GenericObj_i::myRefCounter
protectedinherited