OpenRTM-aist-Python 2.0.0
|
Public Member Functions | |
def | __init__ (self, name, var, def_val, trans=None) |
def | setCallback (self, cbf) |
def | notifyUpdate (self, key, val) |
def | update (self, val) |
def 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 |
def 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);
def 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);
def 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)