Package smach :: Module user_data :: Class UserData

Class UserData

source code


SMACH user data structure.

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
update(self, other_userdata)
Combine this userdata struct with another.
source code
 
extract(self, keys, remapping) source code
 
merge(self, ud, keys, remapping) source code
 
__getitem__(self, key) source code
 
__setitem__(self, key, item) source code
 
keys(self) source code
 
__contains__(self, key) source code
 
__getattr__(self, name)
Overload getattr to be thread safe.
source code
 
__setattr__(self, name, value)
Overload setattr to be thread safe.
source code

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

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

update(self, other_userdata)

source code 

Combine this userdata struct with another. This overwrites duplicate keys with values from other_userdata.

__setattr__(self, name, value)

source code 

Overload setattr to be thread safe.

Overrides: object.__setattr__