public class PeriodicECOrganization extends Organization_impl
PeriodicECOrganizationクラス
Modifier and Type | Class and Description |
---|---|
protected class |
PeriodicECOrganization.Member
Member
|
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
m_ec
ExecutionContextオブジェクト
|
protected java.util.Vector<java.lang.String> |
m_expPorts
ポートリスト
|
protected java.util.Vector<PeriodicECOrganization.Member> |
m_rtcMembers
RTコンポーネントメンバー
|
protected RTObject_impl |
m_rtobj
RTコンポーネントオブジェクト
|
protected Logbuf |
rtcout |
m_dependency, m_memberList, m_objref, m_pId, m_varOwner
Constructor and Description |
---|
PeriodicECOrganization(RTObject_impl rtobj)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
add_members(SDO[] sdo_list)
[CORBA interface] Add Organization member
|
void |
addOrganizationToTarget(PeriodicECOrganization.Member member)
DFC に Organization オブジェクトを与える。
|
void |
addParticipantToEC(PeriodicECOrganization.Member member)
Set CompositeRTC's ExecutionContext to the given DFC
|
void |
addPort(PeriodicECOrganization.Member member,
java.util.Vector<java.lang.String> portlist)
Delegate given RTC's ports to the Composite
|
boolean |
remove_member(java.lang.String id)
Organizationメンバーを削除する。
|
void |
removeAllMembers()
Organizationメンバーを全て削除する。
|
void |
removeOrganizationFromTarget(PeriodicECOrganization.Member member)
Organization オブジェクトを DFCから削除する。
|
void |
removeParticipantFromEC(PeriodicECOrganization.Member member)
Remove participant DFC from CompositeRTC's ExecutionContext
|
void |
removePort(PeriodicECOrganization.Member member,
java.util.Vector<java.lang.String> portlist)
Remove delegated participatns's ports from the composite
|
boolean |
sdoToDFC(SDO sdo,
DataFlowComponentHolder dfc)
j
Conversion from SDO to DFC
|
boolean |
set_members(SDO[] sdo_list)
[CORBA interface] Set Organization member
|
void |
startOwnedEC(PeriodicECOrganization.Member member)
Owned ExecutionContext を起動する。
|
void |
stopOwnedEC(PeriodicECOrganization.Member member)
Owned ExecutionContext を停止させる。
|
void |
updateDelegatedPorts()
委譲したポートを更新する。
|
_this, add_organization_property, get_dependency, get_members, get_organization_id, get_organization_property_value, get_organization_property, get_owner, getObjRef, remove_organization_property, set_dependency, set_organization_property_value, set_organization_property, set_owner
_all_interfaces, _invoke, _this
protected RTObject_impl m_rtobj
RTコンポーネントオブジェクト
protected ExecutionContext m_ec
ExecutionContextオブジェクト
protected java.util.Vector<PeriodicECOrganization.Member> m_rtcMembers
RTコンポーネントメンバー
protected java.util.Vector<java.lang.String> m_expPorts
ポートリスト
protected Logbuf rtcout
public PeriodicECOrganization(RTObject_impl rtobj)
Constructor
public boolean add_members(SDO[] sdo_list) throws org.omg.CORBA.SystemException, InvalidParameter, NotAvailable, InternalError
This operation adds the given SDOList to the existing organization's member list
add_members
in interface OrganizationOperations
add_members
in class Organization_impl
sdo_list
-
SDO member list to be addedInvalidParameter
-
The argument "sdo" 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.org.omg.CORBA.SystemException
public boolean set_members(SDO[] sdo_list) throws org.omg.CORBA.SystemException, InvalidParameter, NotAvailable, InternalError
This operation removes existing member list and sets the given SDOList to the existing organization's member list
set_members
in interface OrganizationOperations
set_members
in class Organization_impl
sdo_list
-
SDO member list to be setInvalidParameter
-
The argument "SDOList" is null, or the object
that is specified by the argument "sdos"
does 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.org.omg.CORBA.SystemException
public boolean remove_member(java.lang.String id) throws org.omg.CORBA.SystemException, InvalidParameter, NotAvailable, InternalError
Organizationメンバーを削除する。
remove_member
in interface OrganizationOperations
remove_member
in class Organization_impl
id
-
Id of the SDO to be removed from the organization.InvalidParameter
-
The argument "id" is null or does 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.org.omg.CORBA.SystemException
public void removeAllMembers()
Organizationメンバーを全て削除する。
public boolean sdoToDFC(SDO sdo, DataFlowComponentHolder dfc)
public void stopOwnedEC(PeriodicECOrganization.Member member)
Owned ExecutionContext を停止させる。
public void startOwnedEC(PeriodicECOrganization.Member member)
Owned ExecutionContext を起動する。
public void addOrganizationToTarget(PeriodicECOrganization.Member member)
DFC に Organization オブジェクトを与える。
public void removeOrganizationFromTarget(PeriodicECOrganization.Member member)
Organization オブジェクトを DFCから削除する。
public void addParticipantToEC(PeriodicECOrganization.Member member)
public void removeParticipantFromEC(PeriodicECOrganization.Member member)
public void addPort(PeriodicECOrganization.Member member, java.util.Vector<java.lang.String> portlist)
public void removePort(PeriodicECOrganization.Member member, java.util.Vector<java.lang.String> portlist)
public void updateDelegatedPorts()
委譲したポートを更新する。