daemon/core/emane/emane.py
def addobj(self, obj):
        ''' add a new EmaneNode object to this Emane controller object
        '''
        self._objslock.acquire()
        if obj.objid in self._objs:
            self._objslock.release()
            raise KeyError, "non-unique EMANE object id %s for %s" % \
                (obj.objid, obj)
        self._objs[obj.objid] = obj
        self._objslock.release()
 add a new EmaneNode object to this Emane controller object
        
add a new EmaneNode object to this Emane controller object
add a new EmaneNode object to this Emane controller object
def addobj(self, obj):
        self._objslock.acquire()
        if obj.objid in self._objs:
            self._objslock.release()
            raise KeyError, "non-unique EMANE object id %s for %s" % \
                (obj.objid, obj)
        self._objs[obj.objid] = obj
        self._objslock.release()
def addobj ( self , obj ) : self . _objslock . acquire ( ) if obj . objid in self . _objs : self . _objslock . release ( ) raise KeyError , "non-unique EMANE object id %s for %s" % ( obj . objid , obj ) self . _objs [ obj . objid ] = obj self . _objslock . release ( )
add a new EmaneNode object to this Emane controller object
add a new EmaneNode object to this Emane controller object
''' add a new EmaneNode object to this Emane controller object
        '''
self
obj