PyFrame::Registry::Registry Class Reference

List of all members.

Classes

class  Singleton
 Class used with this Python singleton design pattern. More...

Public Member Functions

def __init__
 The constructor.
def __getattr__
 Delegate access to implementation.
def __setattr__
 Delegate access to implementation.


Member Function Documentation

def PyFrame::Registry::Registry::__getattr__ (   self,
  aAttr 
)

Delegate access to implementation.

Parameters:
self The object pointer.
attr Attribute wanted.
Returns:
Attribute
00031                                     :
00032                 return getattr(self._iInstance, aAttr)
00033  
        ## Delegate access to implementation.

def PyFrame::Registry::Registry::__init__ (   self  ) 

The constructor.

Parameters:
self The object pointer.
00017                             :
00018                 # Check whether we already have an instance
00019                 if Registry._iInstance is None:
00020                         # Create and remember instanc
00021                         Registry._iInstance = Registry.Singleton()
00022 
00023                 # Store instance reference as the only member in the handle
00024                 self.__dict__['_EventHandler_instance'] = Registry._iInstance
00025     
00026     
        ## Delegate access to implementation.

def PyFrame::Registry::Registry::__setattr__ (   self,
  aAttr,
  aValue 
)

Delegate access to implementation.

Parameters:
self The object pointer.
attr Attribute wanted.
value Vaule to be set.
Returns:
Result of operation.
00039                                             :
00040                 return setattr(self._iInstance, aAttr, aValue)
                return setattr(self._iInstance, aAttr, aValue)


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

Generated on Wed Oct 14 16:45:09 2009 for PyFrame by  doxygen 1.5.8