Public Member Functions | |
def | __init__ |
Constructor. | |
def | setCallback |
Setting callback. | |
def | notifyUpdate |
Observer function to notify variable changed. | |
def | update |
Update a bind parameter value. |
Config class.
Class to hold the configuration parameter information.
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)