public class Configuration_impl extends ConfigurationPOA
| Modifier and Type | Field and Description | 
|---|---|
protected java.util.Map<java.lang.String,Properties> | 
m_configsetopts  | 
protected ConfigAdmin | 
m_configsets
 Information of configuration set 
 | 
protected java.lang.String | 
m_device_profile_lock  | 
protected DeviceProfile | 
m_deviceProfile
 DeviceProfile 
 | 
protected Configuration | 
m_objref
 Object reference 
 | 
protected OrganizationListHolder | 
m_organizations
 List of Organization 
 | 
protected ParameterListHolder | 
m_parameters
 List of  Parameter 
 | 
protected java.lang.String | 
m_parameters_lock  | 
protected SdoServiceAdmin | 
m_sdoservice
 SDO Service admin object with mutex lock 
 | 
protected java.lang.String | 
m_sdoservice_mutex  | 
protected ServiceProfileListHolder | 
m_serviceProfiles
 List of ServiceProfile 
 | 
protected Logbuf | 
rtcout
 Ojbect format for Logging 
 | 
| Constructor and Description | 
|---|
Configuration_impl(ConfigAdmin configsets,
                  SdoServiceAdmin sdoServiceAdmin)
 Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Configuration | 
_this()
 Gets the object reference. 
 | 
boolean | 
activate_configuration_set(java.lang.String config_id)
 [CORBA interface] Activate ConfigurationSet 
 | 
boolean | 
add_configuration_set(ConfigurationSet configuration_set)
 [CORBA interface] Adds ConfigurationSet. 
 | 
boolean | 
add_organization(Organization org)
 [CORBA interface] Adds Organization object. 
 | 
boolean | 
add_service_profile(ServiceProfile sProfile)
 [CORBA interface] Sets ServiceProfile of SDO. 
 | 
ConfigurationSet | 
get_active_configuration_set()
 [CROBA ingerface] Gets active ConfigurationSet. 
 | 
org.omg.CORBA.Any | 
get_configuration_parameter_value(java.lang.String name)
 [CORBA interface] Gets the value of Configuration parameter 
 | 
NameValue[] | 
get_configuration_parameter_values()
 [CORBA itnerface] Gets the list of Configuration paramter value 
 | 
Parameter[] | 
get_configuration_parameters()
 [CORBA interface] Gets the list of configuration parameter 
 | 
ConfigurationSet | 
get_configuration_set(java.lang.String config_id)
[CORBA interface] ConfigurationSet を取得します。 
このオペレーションは引数で指定された ConfigurationSet の ID に関連 付けられた ConfigurationSet を返します。  | 
ConfigurationSet[] | 
get_configuration_sets()
 [CORBA interface] Gets the list of ConfigurationSet 
 | 
DeviceProfile | 
getDeviceProfile()
 [CORBA interface] Gets DeviceProfie of SDO 
 | 
Configuration | 
getObjRef()
 Gets the object reference 
 | 
OrganizationListHolder | 
getOrganizations()
 [CORBA interface] Gets all Organization set 
 | 
boolean | 
remove_configuration_set(java.lang.String config_id)
 [CROBA interface] Deletes ConfigurationSet 
 | 
boolean | 
remove_organization(java.lang.String organization_id)
 [CORBA interface] Deletes Organization object reference 
 | 
boolean | 
remove_service_profile(java.lang.String id)
 [CORBA interface] Deletes ServiceProfile 
 | 
boolean | 
set_configuration_parameter(java.lang.String name,
                           org.omg.CORBA.Any value)
 [CORBA interface] Changes the Configuration parameter. 
 | 
boolean | 
set_configuration_set_values(ConfigurationSet configuration_set)
 [CORBA interface] Set ConfigurationSet 
 | 
boolean | 
set_device_profile(DeviceProfile dProfile)
 [CORBA interface] Sets DeviceProfile of SDO. 
 | 
_all_interfaces, _invoke, _thisprotected Configuration m_objref
protected DeviceProfile m_deviceProfile
protected final java.lang.String m_device_profile_lock
protected ServiceProfileListHolder m_serviceProfiles
protected ParameterListHolder m_parameters
protected final java.lang.String m_parameters_lock
protected ConfigAdmin m_configsets
protected java.util.Map<java.lang.String,Properties> m_configsetopts
protected SdoServiceAdmin m_sdoservice
protected java.lang.String m_sdoservice_mutex
protected OrganizationListHolder m_organizations
protected Logbuf rtcout
public Configuration_impl(ConfigAdmin configsets, SdoServiceAdmin sdoServiceAdmin)
configsets - 
   information of Configurationpublic Configuration _this()
_this in class ConfigurationPOApublic boolean set_device_profile(DeviceProfile dProfile) throws InvalidParameter, NotAvailable, InternalError
dProfile - 
   DeviceProfileNotAvailable - 
   There is no response though SDO exists.InvalidParameter - i
   
   Argument dProfile is null.InternalError - 
   An internal error occurred.public boolean add_service_profile(ServiceProfile sProfile) throws InvalidParameter, NotAvailable, InternalError
Sets ServiceProfile of SDO that keeps Configuraition interface
sProfile - 
   ServiceProfileInvalidParameter - 
   Argument sProfile is null.NotAvailable - 
   There is no response though SDO exists.InternalError - 
   An internal error occurred.public boolean add_organization(Organization org) throws InvalidParameter, NotAvailable, InternalError
org - 
   OrganizationNotAvailable - 
   There is no response though SDO existis.InvalidParameter - 
   Argument organization is null.InternalError - 
   An internal error occureed.public boolean remove_service_profile(java.lang.String id)
                               throws InvalidParameter,
                                      NotAvailable,
                                      InternalError
id - 
   serviceID of ServiceProfileInvalidParameter - 
   Argument "id" is null.
   ServiceProfile related to "id" does not exist.NotAvailable - 
   There is no response though SDO exists.InternalError - 
   An internal error occurred.public boolean remove_organization(java.lang.String organization_id)
                            throws InvalidParameter,
                                   NotAvailable,
                                   InternalError
organization_id - 
   Unique ID of OrgnazaionInvalidParameter - 
   Argument "id" is null.
   Organization to related to  "id"  dose not existNotAvailable - 
   There is no response thorug SDO existsInternalError - 
   An internal erro occurredpublic Parameter[] get_configuration_parameters() throws NotAvailable, InternalError
NotAvailable - 
   There is no response though SDO existsInternalError - 
   An internal error occurredpublic NameValue[] get_configuration_parameter_values() throws NotAvailable, InternalError
Returns configuration paramter and value
NotAvailable - 
   There is no response though SDO existsInternalError - 
   An internal error occurredpublic org.omg.CORBA.Any get_configuration_parameter_value(java.lang.String name)
                                                    throws InvalidParameter,
                                                           NotAvailable,
                                                           InternalError
This operation returns the argument value specified by "Name".
name - 
   Name of paramter that demands value.InvalidParameter - 
   Argument "name" is null.NotAvailable - 
   There is no response though SDO exists.InternalError - 
   An internal error occurredpublic boolean set_configuration_parameter(java.lang.String name,
                                           org.omg.CORBA.Any value)
                                    throws InvalidParameter,
                                           NotAvailable,
                                           InternalError
name - value - InvalidParameterNotAvailableInternalErrorpublic ConfigurationSet[] get_configuration_sets() throws NotAvailable, InternalError
NotAvailable - SDOは存在するが応答がない。InternalError - 内部的エラーが発生した。public ConfigurationSet get_configuration_set(java.lang.String config_id) throws NotAvailable, InternalError
[CORBA interface] ConfigurationSet を取得します。
 このオペレーションは引数で指定された ConfigurationSet の ID に関連
 付けられた ConfigurationSet を返します。
config_id - ConfigurationSet の識別子。NotAvailable - SDOは存在するが応答がない。InternalError - 内部的エラーが発生した。public boolean set_configuration_set_values(ConfigurationSet configuration_set) throws InvalidParameter, NotAvailable, InternalError
This operation modifies the specified ConfigurationSet of an SDO. Note: The number of parameters differs between spec and IDL!!
configuration_set - 
   configuration_set ConfigurationSet to be replaced.InvalidParameter - 
   The parameter 'configurationSetID' is null
         or there is no ConfigurationSet stored with 
         such id.
         This exception is also raised if one of the 
         attributes defining ConfigurationSet is not 
         valid.SDONotExists - 
   The target SDO does not exist.(This exception 
         is mapped to CORBA standard system exception
         OBJECT_NOT_EXIST.)NotAvailable - 
   The target SDO is reachable but cannot respond.InternalError - 
   The target SDO cannot execute the operation
         completely due to some internal error.public ConfigurationSet get_active_configuration_set() throws NotAvailable, InternalError
In the following cases, it is considered that ConfigurationSet is not active.
NotAvailable - 
   There is no response though SDO exists.InternalError - 
   An internal error occurredpublic boolean add_configuration_set(ConfigurationSet configuration_set) throws InvalidParameter, NotAvailable, InternalError
Adds ConfigurationSet to ConfigurationProfile.
configuration_set - 
   ConfgurataionSetInvalidParameter - 
   Argument "configurations_set" is null.
         ConfigurationSet specified by the argument dose not existNotAvailable - 
   There is no rsponse though SDO existsInternalError - 
   An internal error occurredpublic boolean remove_configuration_set(java.lang.String config_id)
                                 throws InvalidParameter,
                                        NotAvailable,
                                        InternalError
config_id - 
   "id" of ConfigurationSetInvalidParameter - 
   Argument "configurationSetID" is null.
         ConfigurationSet specified by the argument doesn't exist.NotAvailable - 
   There is no response though SDO existsInternalError - 
   An internal error occurredpublic boolean activate_configuration_set(java.lang.String config_id)
                                   throws InvalidParameter,
                                          NotAvailable,
                                          InternalError
the configuration property of SDO is changed to the value of the value of the property that is set by ConfigurationSet.
config_id - 
   "id" of ConfigurationSetInvalidParameter - 
   Argument "config_id" is nill.
         ConfigurationSet specified by the argument doesn't exist.NotAvailable - 
   There is no response though SDO existsInternalError - 
   An internal error occurredpublic Configuration getObjRef()
public final DeviceProfile getDeviceProfile()
public final OrganizationListHolder getOrganizations()