Package rospy :: Package impl :: Module registration :: Class RegistrationListeners

Class RegistrationListeners

source code

object --+
         |
        RegistrationListeners

Instance Methods
 
__init__(self)
ctor.
source code
 
add_listener(self, l)
Subscribe to notifications of pub/sub/service registration changes.
source code
 
notify_removed(self, resolved_name, data_type_or_uri, reg_type) source code
 
notify_added(self, resolved_name, data_type, reg_type) source code
 
clear(self)
Remove all registration listeners
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

ctor.

Overrides: object.__init__

add_listener(self, l)

source code 

Subscribe to notifications of pub/sub/service registration changes. This is an internal API used to notify higher level routines when to communicate with the master.

Parameters:
  • l (TopicListener) - listener to subscribe

notify_removed(self, resolved_name, data_type_or_uri, reg_type)

source code 
Parameters:

notify_added(self, resolved_name, data_type, reg_type)

source code 
Parameters: