SDOPackage.idl
Simple Wiki Based Contents Management System
Home Projects Memo Misc Topics Software
関心分野 >> RTミドルウェア >> SDOPackage.idl

SDOPackage.idl

このファイルは、Super Distributed Object の仕様の記述のためのデータ型、インターフェース等が定義されている。
ここで定義されていものはすべて、SDOPackageモジュール内にある。

定義されているデータ型

  • typedef sequence<string> StringList;
    • (ulong, string x length)
  • typedef sequence<SDO> SDOList;
    • (ulong, objref x length)
  • typedef sequence<Organization> OrganizationList;
    • (ulong, objref x length)
  • typedef string UniqueIdentifier;
    • (ulong, char x length)
  • struct NameValue (string, any)
  • typedef sequence<NameValue> NVList;
    • (ulong, (string, any) x length)
  • enum NumericType{
       SHORT_TYPE,
       LONG_TYPE,
       FLOAT_TYPE,
       DOUBLE_TYPE
    
    };(ulong)
  • union Numeric switch (NumericType){
     case SHORT_TYPE:  short short_value;
     case LONG_TYPE: long long_value;
     case FLOAT_TYPE: float float_value;
     case DOUBLE_TYPE: double double_value;
    
    };
  • struct EnumerationType (StringList)
    • (ulong, string x length)
  • struct RangeType (Numeric x 2, boolean x 2)
  • struct IntervalType (Numeric x 2, boolean x 2, Numeric)
  • enum ComplexDataType{
    ENUMERATION,
    RANGE,
    INTERVAL
    
    };(ulong)
  • union AllowedValues switch (ComplexDataType){
     case ENUMERATION:    EnumerationType allowed_enum;
     case INTERVAL:       IntervalType allowed_interval;
     case RANGE:          RangeType   allowed_range;
    
    };
  • struct Parameter (string, CORBA::TypeCode, AllowedValues)
  • typedef sequence<Parameter> ParameterList;
    • (ulong, (string, CORBA::TypeCode, AllowedValues) x length)
  • struct OrganizationProperty (NVList)
    • (ulong, (string, any) x length)
  • enum DependencyType{
       OWN,
       OWNED,
       NO_DEPENDENCY
    
    };(ulong)
  • struct DeviceProfile (string x 4, NVList)
    • (string x 4, ulong, (string, any) x length)
  • struct ServiceProfile (string x 2, NVList, SDOService)
    • (string x 2, ulong, (string, any) x length, objref)
  • typedef sequence <ServiceProfile> ServiceProfileList;
    • (ulong, (string x 2, ulong, (string, any) x length1, objref) x length2)
  • struct ConfigurationSet (string x 2, NVList)
    • (string x 2, ulong, (string, any) x length)
  • typedef sequence<ConfigurationSet> ConfigurationSetList;
    • (ulong, (string x 2, ulong, (string, any) x length1) x length2)
  • exception NotAvailable exception_body;
  • exception InterfaceNotImplemented exception_body;
  • exception InvalidParameter exception_body;
  • exception InternalError exception_body;

定義されているインターフェース

  • SDOSystemElement
    • OrganizationList get_owned_organizations()
        raises (NotAvailable,InternalError);
      
  • SDO : SDOSystemElement
    • UniqueIdentifier get_sdo_id()
          raises (NotAvailable, InternalError);
      
    • string get_sdo_type()
         raises (NotAvailable, InternalError);
      
    • DeviceProfile get_device_profile ()
        raises (NotAvailable, InternalError);
      
    • ServiceProfileList get_service_profiles ()
        raises (NotAvailable, InternalError);
      
    • ServiceProfile get_service_profile (in UniqueIdentifier id)
       raises (InvalidParameter, NotAvailable, InternalError);
      
    • SDOService get_sdo_service (in UniqueIdentifier id)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • Configuration get_configuration ()
         raises (InterfaceNotImplemented, NotAvailable, InternalError);
      
    • Monitoring get_monitoring ()
         raises (InterfaceNotImplemented, NotAvailable, InternalError);
      
    • OrganizationList get_organizations ()
         raises (NotAvailable, InternalError);
      
    • NVList get_status_list ()
          raises (NotAvailable, InternalError);
      
    • any get_status (in string nme)
        raises (InvalidParameter, NotAvailable, InternalError);
      
  • Configuration
    • boolean set_device_profile (in DeviceProfile dProfile)
           raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean add_service_profile (in ServiceProfile sProfile)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean add_organization (in Organization organization_object)
           raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean remove_service_profile (in UniqueIdentifier id)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean remove_organization (in UniqueIdentifier organization_id)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • ParameterList get_configuration_parameters ()
          raises (NotAvailable, InternalError);
      
    • NVList get_configuration_parameter_values ()
          raises (NotAvailable, InternalError);
      
    • any get_configuration_parameter_value (in string name)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean set_configuration_parameter (in string name, in any value)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • ConfigurationSetList get_configuration_sets ()
           raises (NotAvailable, InternalError);
      
    • ConfigurationSet get_configuration_set (in UniqueIdentifier config_id)
          raises (NotAvailable, InternalError);
      
    • boolean set_configuration_set_values (in ConfigurationSet configuration_set)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • ConfigurationSet get_active_configuration_set ()
          raises (NotAvailable, InternalError);
      
    • boolean add_configuration_set (in ConfigurationSet configuration_set)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean remove_configuration_set (in UniqueIdentifier config_id)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean activate_configuration_set (in UniqueIdentifier config_id)
           raises (InvalidParameter, NotAvailable, InternalError);
      
  • Monitoring : CosNotifyComm::StructuredPushConsumer, CosNotifyComm::StructuredPushSupplier
    • any get_monitoring_parameter_value (in string name)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • ParameterList get_monitoring_parameters ()
           raises (NotAvailable, InternalError);
      
    • NVList get_monitoring_parameter_values ()
         raises (NotAvailable, InternalError);
      
  • SDOService
  • Organization
    • UniqueIdentifier get_organization_id ()
           raises (InvalidParameter, NotAvailable, InternalError);
      
    • OrganizationProperty get_organization_property ()
           raises (NotAvailable, InternalError);
      
    • any get_organization_property_value (in string name)
           raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean add_organization_property (in OrganizationProperty organization_property)
           raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean set_organization_property_value (in string name,in any value)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean remove_organization_property ( in string name )
           raises (InvalidParameter, NotAvailable, InternalError);
      
    • SDOSystemElement get_owner ()
           raises (NotAvailable, InternalError);
      
    • boolean set_owner (in SDOSystemElement sdo)
            raises (InvalidParameter, NotAvailable, InternalError);
      
    • SDOList get_members ()
           raises (NotAvailable, InternalError);
      
    • boolean set_members (in SDOList sdos)
            raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean add_members ( in SDOList sdo_list)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • boolean remove_member (in UniqueIdentifier id)
          raises (InvalidParameter, NotAvailable, InternalError);
      
    • DependencyType get_dependency()
           raises (NotAvailable, InternalError);
      
    • boolean set_dependency (in DependencyType dependency)
           raises (NotAvailable, InternalError);