Organization implementation class. More...
Classes | |
class | nv_name |
class | sdo_id |
Public Member Functions | |
def | __init__ |
def | add_members |
[CORBA interface] Add the menebr SDOs | |
def | add_organization_property |
[CORBA interface] Set OrganizationProperty | |
def | get_dependency |
[CORBA interface] Get the DependencyType of the Organization | |
def | get_members |
[CORBA interface] Get a menber list of the Organization | |
def | get_organization_id |
[CORBA interface] Get Organization Id | |
def | get_organization_property |
[CORBA interface] Get OrganizationProperty | |
def | get_organization_property_value |
[CORBA interface] Get specified value of OrganizationProperty | |
def | get_owner |
[CORBA interface] Get the owner of the SDO | |
def | getObjRef |
def | remove_member |
[CORBA interface] Remove menber SDO from Organization | |
def | remove_organization_property |
[CORBA interface] Remove specified OrganizationProperty | |
def | set_dependency |
[CORBA interface] Set the DependencyType of the Organization | |
def | set_members |
[CORBA interface] Set SDO's ServiceProfile | |
def | set_organization_property_value |
[CORBA interface] Set specified value of OrganizationProperty | |
def | set_owner |
[CORBA interface] Set the orner of the Organization | |
Private Attributes | |
__rtcout | |
_dependency | |
_memberList | |
_objref | |
_org_mutex | |
_orgProperty | |
_pId | |
_varOwner |
Organization implementation class.
The Organization interface is used to manage the Organization attribute.
Definition at line 47 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.__init__ | ( | self, | |
sdo | |||
) |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECOrganization.
Definition at line 61 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.add_members | ( | self, | |
sdo_list | |||
) |
[CORBA interface] Add the menebr SDOs
This operation adds a member that is an SDO to the organization. The member to be added is specified by argument "sdo."
self | |
sdo | The member to be added to the organization. |
SDONotExists | if 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. |
InvalidParameter | The argument "sdo" is null. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECOrganization.
Definition at line 631 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.add_organization_property | ( | self, | |
org_property | |||
) |
[CORBA interface] Set OrganizationProperty
This operation adds the OrganizationProperty to an Organization. The OrganizationProperty is the property description of an Organization.
self | |
org_property | The type of organization to be added. |
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
InvalidParameter | The argument "organizationProperty" is null. |
NotAvailable | The target SDO is reachable but cannot respond. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Definition at line 258 of file SdoOrganization.py.
[CORBA interface] Get the DependencyType of the Organization
This operation gets the relationship "DependencyType" of the Organization.
self |
SDONotExists | if 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. |
Definition at line 743 of file SdoOrganization.py.
[CORBA interface] Get a menber list of the Organization
This operation returns a list of SDOs that are members of an Organization. An empty list is returned if the Organization does not have any members.
self |
SDONotExists | if 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. |
Definition at line 525 of file SdoOrganization.py.
[CORBA interface] Get Organization Id
This operation returns the 'id' of the Organization.
self |
SDONotExists | if 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. |
Definition at line 110 of file SdoOrganization.py.
[CORBA interface] Get OrganizationProperty
This operation returns the OrganizationProperty that an Organization has. An empty OrganizationProperty is returned if the Organization does not have any properties.
self |
SDONotExists | if 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. |
Definition at line 150 of file SdoOrganization.py.
[CORBA interface] Get specified value of OrganizationProperty
This operation returns a value in the OrganizationProperty. The value to be returned is specified by argument "name."
self | |
name | The name of the value to be returned. |
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
InvalidParameter | If there are no Property stored with argument "name". |
NotAvailable | The target SDO is reachable but cannot respond. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Definition at line 197 of file SdoOrganization.py.
[CORBA interface] Get the owner of the SDO
This operation returns the SDOSystemElement that is owner of the Organization.
self |
SDONotExists | if 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. |
Definition at line 429 of file SdoOrganization.py.
Definition at line 806 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.remove_member | ( | self, | |
id | |||
) |
[CORBA interface] Remove menber SDO from Organization
This operation removes a member from the organization. The member to be removed is specified by argument "id."
self | |
id | Id of the SDO to be removed from the organization. |
SDONotExists | if 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. |
InvalidParameter | The argument "id" is null or does not exist. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECOrganization.
Definition at line 683 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.remove_organization_property | ( | self, | |
name | |||
) |
[CORBA interface] Remove specified OrganizationProperty
This operation removes a property of Organization from NVList of the OrganizationProperty. The property to be removed is specified by argument "name."
self | |
name | The name of the property to be removed. |
SDONotExists | if 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. |
InvalidParameter | The property that is specified by argument "name" does not exist. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Definition at line 376 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.set_dependency | ( | self, | |
dependency | |||
) |
[CORBA interface] Set the DependencyType of the Organization
This operation sets the relationship "DependencyType" of the Organization. The value to be set is specified by argument "dependency."
self | |
dependency | The relationship of the Organization as DependencyType. DependencyType is defined in Section 2.2.2, "Data Structures Used by Resource Data Model," on page 2-3. |
SDONotExists | if 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. |
InvalidParameter | The argument "dependency" is null. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Definition at line 791 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.set_members | ( | self, | |
sdos | |||
) |
[CORBA interface] Set SDO's ServiceProfile
This operation assigns a list of SDOs to an Organization as its members. If the Organization has already maintained a member SDO(s) when it is called, the operation replaces the member(s) with specified list of SDOs.
self | |
sdos | Member SDOs to be assigned. |
SDONotExists | if 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. |
InvalidParameter | The argument "SDOList" is null, or if the object that is specified by the argument "sdos" does not exist. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECOrganization.
Definition at line 578 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.set_organization_property_value | ( | self, | |
name, | |||
value | |||
) |
[CORBA interface] Set specified value of OrganizationProperty
This operation adds or updates a pair of name and value as a property of Organization to/in NVList of the OrganizationProperty. The name and the value to be added/updated are specified by argument "name" and "value."
self | |
name | The name of the property to be added/updated. |
value | The value of the property to be added/updated. |
SDONotExists | if 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. |
InvalidParameter | The property that is specified by argument "name" does not exist. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Definition at line 319 of file SdoOrganization.py.
def OpenRTM_aist.SdoOrganization.Organization_impl.set_owner | ( | self, | |
sdo | |||
) |
[CORBA interface] Set the orner of the Organization
This operation sets an SDOSystemElement to the owner of the Organization. The SDOSystemElement to be set is specified by argument "sdo."
self | |
sdo | Reference of owner object. |
SDONotExists | if 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. |
InvalidParameter | The argument "sdo" is null, or the object that is specified by "sdo" in argument "sdo" does not exist. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
Definition at line 475 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.
Definition at line 61 of file SdoOrganization.py.