20 #ifndef RTC_SDOCONFIGURATION_H 21 #define RTC_SDOCONFIGURATION_H 27 #include <coil/Mutex.h> 28 #include <coil/Guard.h> 31 #include <rtm/idl/SDOPackageSkel.h> 55 #pragma warning( disable : 4290 ) 155 :
public virtual POA_SDOPackage::Configuration,
156 public virtual PortableServer::RefCountServantBase
246 throw (CORBA::SystemException,
247 InvalidParameter, NotAvailable, InternalError);
295 throw (CORBA::SystemException,
296 InvalidParameter, NotAvailable, InternalError);
334 throw (CORBA::SystemException,
335 InvalidParameter, NotAvailable, InternalError);
380 throw (CORBA::SystemException,
381 InvalidParameter, NotAvailable, InternalError);
423 throw (CORBA::SystemException,
424 InvalidParameter, NotAvailable, InternalError);
459 throw (CORBA::SystemException,
460 NotAvailable, InternalError);
493 throw (CORBA::SystemException,
494 NotAvailable, InternalError);
537 throw (CORBA::SystemException,
538 InvalidParameter, NotAvailable, InternalError);
583 const CORBA::Any& value)
584 throw (CORBA::SystemException,
585 InvalidParameter, NotAvailable, InternalError);
622 throw (CORBA::SystemException,
623 NotAvailable, InternalError);
666 throw (CORBA::SystemException,
667 NotAvailable, InternalError);
718 throw (CORBA::SystemException,
719 NotAvailable, InternalError);
762 virtual CORBA::Boolean
764 throw (CORBA::SystemException,
765 InvalidParameter, NotAvailable, InternalError);
818 virtual CORBA::Boolean
820 throw (CORBA::SystemException,
821 InvalidParameter, NotAvailable, InternalError);
862 throw (CORBA::SystemException,
863 InvalidParameter, NotAvailable, InternalError);
916 throw (CORBA::SystemException,
917 InvalidParameter, NotAvailable, InternalError);
1141 return m_name == std::string(nv.name);
1158 CORBA::String_var
id(o->get_organization_id());
1159 return m_id == (
const char *)
id;
1176 std::string
id(c.id);
1185 #pragma warning( default : 4290 ) 1188 #endif // RTC_SDOCONFIGURATION_H
virtual CORBA::Boolean add_configuration_set(const ConfigurationSet &configuration_set)
[CORBA interface] Add ConfigurationSet
virtual CORBA::Boolean set_configuration_set_values(const ConfigurationSet &configuration_set)
[CORBA interface] Set ConfigurationSet
virtual NVList * get_configuration_parameter_values()
[CORBA interface] Get a list of the value of configuration parameters
Functor for Organization.
virtual ConfigurationSet * get_active_configuration_set()
[CORBA interface] Get active ConfigurationSet
nv_name(const char *name)
config_id(const char *id)
RT component logger class.
std::vector< std::pair< std::string, std::string > > NVList
virtual CORBA::Boolean set_configuration_parameter(const char *name, const CORBA::Any &value)
[CORBA interface] Modify the configuration parameter value
const std::string getUUID() const
Generate UUID.
Configuration_impl(RTC::ConfigAdmin &configAdmin, RTC::SdoServiceAdmin &sdoServiceAdmin)
Constructor.
Configuration Administration classes.
virtual CORBA::Boolean remove_organization(const char *organization_id)
[CORBA interface] Remove the reference of Organization
virtual CORBA::Boolean add_organization(Organization_ptr org)
[CORBA interface] Add Organization
virtual CORBA::Boolean add_service_profile(const ServiceProfile &sProfile)
[CORBA interface] Set SDO's ServiceProfile
virtual CORBA::Any * get_configuration_parameter_value(const char *name)
[CORBA interface] Get the value of configuration parameter
virtual CORBA::Boolean activate_configuration_set(const char *config_id)
[CORBA interface] Activate ConfigurationSet
SDO service administration class.
bool operator()(const NameValue &nv)
const OrganizationList getOrganizations()
Get a list of Organization of SDO.
Configuration_var m_objref
The reference to CORBA object.
OrganizationList m_organizations
SDO OrganizationList with mutex lock.
virtual CORBA::Boolean set_device_profile(const DeviceProfile &dProfile)
[CORBA interface] Set DeviceProfile of SDO
virtual ConfigurationSetList * get_configuration_sets()
[CORBA interface] Get a list of ConfigurationSet
Functor for ConfigurationSet.
virtual ConfigurationSet * get_configuration_set(const char *config_id)
[CORBA interface] Get a ConfigurationSet
RTC::SdoServiceAdmin & m_sdoservice
SDO Service admin object with mutex lock.
DeviceProfile m_deviceProfile
SDO DeviceProfile with mutex lock.
coil::Guard< Mutex > Guard
Configuration implementation class.
ParameterList m_parameters
SDO Parameter.
Configuration_ptr getObjRef()
Get object reference.
RTC::ConfigAdmin & m_configsets
SDO ConfigurationSetList with mutex lock.
bool operator()(const ConfigurationSet &c)
const DeviceProfile getDeviceProfile()
Get the DeviceProfile of SDO.
virtual CORBA::Boolean remove_service_profile(const char *id)
[CORBA interface] Remove ServiceProfile
bool operator()(const Organization_ptr &o)
virtual ParameterList * get_configuration_parameters()
[CORBA interface] Get a list of configuration parameters
virtual ~Configuration_impl(void)
Virtual destractor.
virtual CORBA::Boolean remove_configuration_set(const char *config_id)
[CORBA interface] Remove ConfigurationSet