Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes
Superv_Component_i::superv_port_t Struct Reference
Collaboration diagram for Superv_Component_i::superv_port_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 superv_port_t ()
 ~superv_port_t ()

Public Attributes

uses_portu_ref
provides_portp_ref

Detailed Description

Definition at line 273 of file Superv_Component_i.hxx.


Constructor & Destructor Documentation

Definition at line 274 of file Superv_Component_i.hxx.

:u_ref(NULL),p_ref(NULL){};

Definition at line 275 of file Superv_Component_i.hxx.

    {
      if(u_ref)delete u_ref;
      if(p_ref)
        {
          // do not delete CORBA servant : deactivate it and then call _remove_ref or delete
          PortableServer::ServantBase* servant=dynamic_cast<PortableServer::ServantBase*>(p_ref);
          if(servant)
            {
              PortableServer::POA_var poa =servant->_default_POA();
              PortableServer::ObjectId_var oid = poa->servant_to_id(servant);
              poa->deactivate_object(oid);
              servant->_remove_ref();
            }
        }
    };

Member Data Documentation

Definition at line 294 of file Superv_Component_i.hxx.

Definition at line 290 of file Superv_Component_i.hxx.


The documentation for this struct was generated from the following file: