The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cma.AssimCclasses Namespace Reference

Data Structures

class  cClass
 
class  pySwitchDiscovery
 
class  pyAssimObj
 
class  pyNetAddr
 
class  pyFrame
 
class  pyAddrFrame
 
class  pyIpPortFrame
 
class  pyCstringFrame
 
class  pyIntFrame
 
class  pyUnknownFrame
 
class  pySeqnoFrame
 
class  pySignFrame
 
class  pyNVpairFrame
 
class  pyFrameSet
 
class  pyPacketDecoder
 
class  pyConfigContext
 
class  pyConfigValue
 
class  pyNetIO
 
class  pyNetIOudp
 
class  pyReliableUDP
 
class  CMAlib
 

Functions

def CCref
 
def CCunref
 
def dump_c_objects
 

Function Documentation

def cma.AssimCclasses.CCref (   obj)
Increment the reference count to an AssimObj (_not_ a pyAssimObj)
Need to call CCref under the following circumstances:
    When we are creating an object that points to another underlying C-class object
    which already has a permanent reference to it somewhere else
    For example, if we're returning a pyNetAddr object that points to a NetAddr object
    that's in a ConfigContext object.  If we don't, then when our pyNetAddr object goes
    out of scope, then the underlying NetAddr object will be freed, even though there's
    a reference to it in the ConfigContext object.  Conversely, if the ConfigContext
    object goes out of scope first, then the our pyNetAddr object could become invalid.

Do not call it when you've constructed a new object that there were no previous pointers
    to.

Definition at line 99 of file AssimCclasses.py.

Referenced by cma.AssimCclasses.pyNetIO.boundaddr(), cma.AssimCclasses.pyFrame.Cstruct2Frame(), cma.AssimCclasses.pyConfigValue.get(), cma.AssimCclasses.pyConfigContext.getaddr(), cma.AssimCclasses.pyConfigContext.getarray(), and cma.AssimCclasses.pyConfigContext.getconfig().

Here is the caller graph for this function:

def cma.AssimCclasses.CCunref (   obj)

Definition at line 119 of file AssimCclasses.py.

Referenced by cma.AssimCclasses.pyAssimObj.__del__().

Here is the caller graph for this function:

def cma.AssimCclasses.dump_c_objects ( )

Definition at line 1574 of file AssimCclasses.py.

References proj_class_dump_live_objects(), and proj_class_live_object_count().

Referenced by cma.messagedispatcher.MessageDispatcher.dispatch().

Here is the call graph for this function:

Here is the caller graph for this function: