#include <SdoOrganization.h>
Public Member Functions | |
Organization_impl () | |
virtual | ~Organization_impl () |
virtual char * | get_organization_id () throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Get Organization Id | |
virtual OrganizationProperty * | get_organization_property () throw (NotAvailable, InternalError) |
[CORBA interface] Get OrganizationProperty | |
virtual CORBA::Any * | get_organization_property_value (const char *name) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Get specified value of OrganizationProperty | |
virtual CORBA::Boolean | set_organization_property (const OrganizationProperty &org_property) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set OrganizationProperty | |
virtual CORBA::Boolean | set_organization_property_value (const char *name, const CORBA::Any &value) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set specified value of OrganizationProperty | |
virtual CORBA::Boolean | remove_organization_property (const char *name) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Remove specified OrganizationProperty | |
virtual SDOSystemElement_ptr | get_owner () throw (NotAvailable, InternalError) |
[CORBA interface] Get the owner of the SDO | |
virtual CORBA::Boolean | set_owner (SDOSystemElement_ptr sdo) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set the orner of the Organization | |
virtual SDOList * | get_members () throw (NotAvailable, InternalError) |
[CORBA interface] Get a menber list of the Organization | |
virtual CORBA::Boolean | set_members (const SDOList &sdos) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set SDO's ServiceProfile | |
virtual CORBA::Boolean | add_members (const SDOList &sdo_list) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Add the menebr SDOs | |
virtual CORBA::Boolean | remove_member (const char *id) throw (InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Remove menber SDO from Organization | |
virtual DependencyType | get_dependency () throw (NotAvailable, InternalError) |
[CORBA interface] Get the DependencyType of the Organization | |
virtual CORBA::Boolean | set_dependency (DependencyType dependency) throw (NotAvailable, InternalError) |
[CORBA interface] Set the DependencyType of the Organization | |
Protected Types | |
typedef ACE_Guard< ACE_Thread_Mutex > | Guard |
Protected Attributes | |
char * | m_pId |
The identifier of the Organization. | |
SDOPackage::SDOList | m_memberList |
A list of reference to SDOs that are the members associated with the Organization. | |
SDOPackage::SDOSystemElement_var | m_varOwner |
The owner of the Organization. | |
SDOPackage::DependencyType | m_dependency |
Dependency type. | |
SDOPackage::OrganizationProperty | m_orgProperty |
Organization property. | |
ACE_Thread_Mutex | m_org_mutex |
Classes | |
struct | nv_name |
struct | sdo_id |
|
|
|
|
|
|
|
[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."
|
|
[CORBA interface] Get the DependencyType of the Organization This operation gets the relationship "DependencyType" of the Organization.
|
|
[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.
|
|
[CORBA interface] Get Organization Id This operation returns the 'id' of the Organization.
|
|
[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.
|
|
[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."
|
|
[CORBA interface] Get the owner of the SDO This operation returns the SDOSystemElement that is owner of the Organization.
|
|
[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."
|
|
[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."
|
|
[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."
|
|
[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.
|
|
[CORBA interface] Set OrganizationProperty ※ SDO Specification の PIM 記述とオペレーション名が異なる。 ※ addOrganizationProperty に対応か? This operation adds the OrganizationProperty to an Organization. The OrganizationProperty is the property description of an Organization.
|
|
[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."
|
|
[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."
|
|
Dependency type. This attribute specifies the dependency relation between the owner and members of the organization. Organization is used to form the following three patterns of topology. 1. Hierarchical organization, which indicates owner supervises members. In this case, DependencyType should hold OWN value (see description of DependencyType on previous pages). 2. Reversely hierarchical organization, which indicates members supervise owner. In this case, DependencyType should hold OWNED value (see description of DependencyType on previous pages). 3. Flat organization, which indicates no dependency exists. In this case, DependencyType should hold NO_DEPENDENCY value (see description of DependencyType on previous pages). Both an SDO and another subclass of SDOSystemElement can act as owner of an Organization. When an SDO is an owner, Organization can represent any of theabove three topology patterns.
|
|
A list of reference to SDOs that are the members associated with the Organization.
|
|
|
|
Organization property. OrganizationProperty contains the properties of an Organization. An Organization has zero or one (at most one) instance of OrganizationProperty. property NVList |
|
The identifier of the Organization.
|
|
The owner of the Organization.
|