Classes | Public Member Functions | Private Attributes
OpenRTM_aist.SdoOrganization.Organization_impl Class Reference

Organization implementation class. More...

Inheritance diagram for OpenRTM_aist.SdoOrganization.Organization_impl:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Organization implementation class.

The Organization interface is used to manage the Organization attribute.

Since:
0.4.0

Definition at line 47 of file SdoOrganization.py.


Constructor & Destructor Documentation


Member Function Documentation

[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."

Parameters:
self
sdoThe member to be added to the organization.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe argument "sdo" is null.
InternalErrorThe 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.

[CORBA interface] Set OrganizationProperty

This operation adds the OrganizationProperty to an Organization. The OrganizationProperty is the property description of an Organization.

Parameters:
self
org_propertyThe type of organization to be added.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
InvalidParameterThe argument "organizationProperty" is null.
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe 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.

Parameters:
self
Returns:
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 of OMG SDO Specification.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe 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.

Parameters:
self
Returns:
Member SDOs that are contained in the Organization object.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe 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.

Parameters:
self
Returns:
The id of the Organization defined in the resource data model.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe 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.

Parameters:
self
Returns:
The list with properties of the organization.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe 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."

Parameters:
self
nameThe name of the value to be returned.
Returns:
The value of property which is specified by argument "name".
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
InvalidParameterIf there are no Property stored with argument "name".
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe 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.

Parameters:
self
Returns:
Reference of owner object.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe 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.

[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."

Parameters:
self
idId of the SDO to be removed from the organization.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe argument "id" is null or does not exist.
InternalErrorThe 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.

[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."

Parameters:
self
nameThe name of the property to be removed.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe property that is specified by argument "name" does not exist.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Definition at line 376 of file SdoOrganization.py.

[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."

Parameters:
self
dependencyThe 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.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe argument "dependency" is null.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Definition at line 791 of file SdoOrganization.py.

[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.

Parameters:
self
sdosMember SDOs to be assigned.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe argument "SDOList" is null, or if the object that is specified by the argument "sdos" does not exist.
InternalErrorThe 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.

[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."

Parameters:
self
nameThe name of the property to be added/updated.
valueThe value of the property to be added/updated.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe property that is specified by argument "name" does not exist.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Definition at line 319 of file SdoOrganization.py.

[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."

Parameters:
self
sdoReference of owner object.
Returns:
If the operation was successfully completed.
Exceptions:
SDONotExistsif the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe argument "sdo" is null, or the object that is specified by "sdo" in argument "sdo" does not exist.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Definition at line 475 of file SdoOrganization.py.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Aug 27 2015 14:17:30