Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes
SALOME_PyNode.Generic Class Reference
Inheritance diagram for SALOME_PyNode.Generic:
Inheritance graph

List of all members.

Public Member Functions

def __init__
def Register
def UnRegister
def Destroy

Public Attributes


Detailed Description

A Python implementation of the GenericObj CORBA IDL

Definition at line 34 of file

Constructor & Destructor Documentation

def SALOME_PyNode.Generic.__init__ (   self,

Definition at line 36 of file

00037   def __init__(self,poa):
00038     self.poa=poa
00039     self.cnt=1

Member Function Documentation

Definition at line 49 of file

00050   def Destroy(self):
00051     print "WARNING SALOME::GenericObj::Destroy() function is obsolete! Use UnRegister() instead."
00052     self.UnRegister()

Here is the call graph for this function:

Definition at line 40 of file

00041   def Register(self):
00042     self.cnt+=1

Definition at line 43 of file

00044   def UnRegister(self):
00045     self.cnt-=1
00046     if self.cnt <= 0:
00047       oid=self.poa.servant_to_id(self)
00048       self.poa.deactivate_object(oid)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 38 of file

Definition at line 37 of file

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