OpenRTM_aist.ConfigAdmin.Config Class Reference

Config class. More...

List of all members.

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.

Detailed Description

Config class.

Class to hold the configuration parameter information.

Since:
0.4.0

Member Function Documentation

def OpenRTM_aist.ConfigAdmin.Config.__init__ (   self,
  name,
  var,
  def_val,
  trans = None 
)

Constructor.

Constructor

Parameters:
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.

Parameters:
self 
val The parameter values converted into character string format
Returns:
Update result (Successful:true, Failed:false)

virtual bool update(const char* val)


The documentation for this class was generated from the following file:
Generated on Mon Mar 2 14:14:03 2015 for OpenRTM-aist-1.1.0-Python by  doxygen 1.6.3