OpenRTM-aist-Python 2.0.2
|
Public Member Functions | |
__init__ (self, name, var, def_val, trans=None) | |
setCallback (self, cbf) | |
notifyUpdate (self, key, val) | |
update (self, val) | |
OpenRTM_aist.ConfigAdmin.Config.__init__ | ( | self, | |
name, | |||
var, | |||
def_val, | |||
trans = None ) |
Constructor
Constructor
self | |
name | Configuration parameter name |
var | Configuration parameter variable |
def_val | Default value in string format |
trans | Function to transform into string format |
OpenRTM_aist.ConfigAdmin.Config.notifyUpdate | ( | self, | |
key, | |||
val ) |
Observer function to notify variable changed
This function notifies variable has been changed.
void notifyUpdate(const char* key, const char* val);
OpenRTM_aist.ConfigAdmin.Config.setCallback | ( | self, | |
cbf ) |
Setting callback
This member function sets callback function which is called when variable is changed.
void setCallback(CallbackFunc cbf);
OpenRTM_aist.ConfigAdmin.Config.update | ( | self, | |
val ) |
Update a bind parameter value
Update configuration paramater by the configuration value.
self | |
val | The parameter values converted into character string format |
virtual bool update(const char* val)