PeriodicECOrganization class. More...
#include <PeriodicECSharedComposite.h>
Classes | |
class | Member |
Public Member Functions | |
virtual ::CORBA::Boolean | add_members (const SDOList &sdo_list) throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Add Organization member More... | |
PeriodicECOrganization (::RTC::RTObject_impl *rtobj) | |
Constructor. More... | |
virtual ::CORBA::Boolean | remove_member (const char *id) throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Remove a member of Organization More... | |
void | removeAllMembers (void) |
Remove a member of Organization. More... | |
virtual ::CORBA::Boolean | set_members (const SDOList &sdos) throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set Organization member More... | |
void | updateDelegatedPorts (void) |
Update/Remove a member of Organization. More... | |
virtual | ~PeriodicECOrganization (void) |
Destructor. More... | |
Public Member Functions inherited from SDOPackage::Organization_impl | |
virtual CORBA::Boolean | add_organization_property (const OrganizationProperty &org_property) throw (CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set OrganizationProperty More... | |
virtual DependencyType | get_dependency () throw (CORBA::SystemException, NotAvailable, InternalError) |
[CORBA interface] Get the DependencyType of the Organization More... | |
virtual SDOList * | get_members () throw (CORBA::SystemException, NotAvailable, InternalError) |
[CORBA interface] Get the member list of the Organization More... | |
virtual char * | get_organization_id () throw (CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Get Organization ID More... | |
virtual OrganizationProperty * | get_organization_property () throw (CORBA::SystemException, NotAvailable, InternalError) |
[CORBA interface] Get OrganizationProperty More... | |
virtual CORBA::Any * | get_organization_property_value (const char *name) throw (CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Get specified value of OrganizationProperty More... | |
virtual SDOSystemElement_ptr | get_owner () throw (CORBA::SystemException, NotAvailable, InternalError) |
[CORBA interface] Get the owner of Organization More... | |
Organization_ptr | getObjRef () |
Organization_impl (SDOSystemElement_ptr sdo) | |
Constructor. More... | |
virtual CORBA::Boolean | remove_organization_property (const char *name) throw (CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Remove specified OrganizationProperty More... | |
virtual CORBA::Boolean | set_dependency (DependencyType dependency) throw (CORBA::SystemException, NotAvailable, InternalError) |
[CORBA interface] Set the DependencyType of the Organization More... | |
virtual CORBA::Boolean | set_organization_property_value (const char *name, const CORBA::Any &value) throw (CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set specified value of OrganizationProperty More... | |
virtual CORBA::Boolean | set_owner (SDOSystemElement_ptr sdo) throw (CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set the owner to the Organization More... | |
virtual | ~Organization_impl (void) |
Virtual destructor. More... | |
Protected Types | |
typedef std::vector< Member >::iterator | MemIt |
Protected Member Functions | |
void | addOrganizationToTarget (Member &member) |
Set Organization object to target DFC. More... | |
void | addParticipantToEC (Member &member) |
Set CompositeRTC's ExecutionContext to the given DFC. More... | |
void | addPort (Member &member, PortList &portlist) |
Delegate given RTC's ports to the Composite. More... | |
void | print (PortList p) |
Output PortList to StandardOutput. More... | |
void | removeOrganizationFromTarget (Member &member) |
Remove Organization object from a target DFC. More... | |
void | removeParticipantFromEC (Member &member) |
Remove participant DFC from CompositeRTC's ExecutionContext. More... | |
void | removePort (Member &member, PortList &portlist) |
Remove delegated participatns's ports from the composite. More... | |
bool | sdoToDFC (const SDO_ptr sdo,::OpenRTM::DataFlowComponent_ptr &dfc) |
Conversion from SDO to DFC. More... | |
void | startOwnedEC (Member &member) |
Start Owned ExecutionContexts. More... | |
void | stopOwnedEC (Member &member) |
Stop Owned ExecutionContexts. More... | |
void | updateExportedPortsList (void) |
PortsList is updated. More... | |
Protected Attributes | |
::RTC::ExecutionContext_var | m_ec |
ExecutionContext Object reference. More... | |
PortList | m_expPorts |
Port List. More... | |
std::vector< Member > | m_rtcMembers |
Member list. More... | |
::RTC::RTObject_impl * | m_rtobj |
RT Object. More... | |
RTC::Logger | rtclog |
Logger stream. More... | |
Protected Attributes inherited from SDOPackage::Organization_impl | |
SDOPackage::DependencyType | m_dependency |
Dependency type. More... | |
SDOPackage::SDOList | m_memberList |
A list of SDO members associated with the Organization. More... | |
Organization_var | m_objref |
Mutex | m_org_mutex |
SDOPackage::OrganizationProperty | m_orgProperty |
Organization property. More... | |
std::string | m_pId |
The identifier of the Organization. More... | |
SDOPackage::SDOSystemElement_var | m_varOwner |
The owner of the Organization. More... | |
::RTC::Logger | rtclog |
Private Types | |
typedef std::vector< std::string > | PortList |
PeriodicECOrganization class.
Implement of Organization_imp
Definition at line 66 of file PeriodicECSharedComposite.h.
|
protected |
Definition at line 397 of file PeriodicECSharedComposite.h.
|
private |
Definition at line 69 of file PeriodicECSharedComposite.h.
SDOPackage::PeriodicECOrganization::PeriodicECOrganization | ( | ::RTC::RTObject_impl * | rtobj | ) |
Constructor.
Constructor
rtobj | Object |
Definition at line 54 of file PeriodicECSharedComposite.cpp.
|
virtual |
|
virtual |
[CORBA interface] Add Organization member
This operation adds the given SDOList to the existing organization's member list
sdo_list | SDO member list to be added |
Reimplemented from SDOPackage::Organization_impl.
Definition at line 81 of file PeriodicECSharedComposite.cpp.
|
protected |
Set Organization object to target DFC.
Definition at line 286 of file PeriodicECSharedComposite.cpp.
|
protected |
Set CompositeRTC's ExecutionContext to the given DFC.
Definition at line 320 of file PeriodicECSharedComposite.cpp.
Delegate given RTC's ports to the Composite.
Definition at line 406 of file PeriodicECSharedComposite.cpp.
|
inlineprotected |
Output PortList to StandardOutput.
Definition at line 415 of file PeriodicECSharedComposite.h.
|
virtual |
[CORBA interface] Remove a member of Organization
This operation removes a SDO from existing member list by specified ID.
id | The ID of the SDO to be removed |
Reimplemented from SDOPackage::Organization_impl.
Definition at line 168 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::removeAllMembers | ( | void | ) |
Remove a member of Organization.
Definition at line 204 of file PeriodicECSharedComposite.cpp.
|
protected |
Remove Organization object from a target DFC.
Definition at line 304 of file PeriodicECSharedComposite.cpp.
|
protected |
Remove participant DFC from CompositeRTC's ExecutionContext.
Definition at line 365 of file PeriodicECSharedComposite.cpp.
|
protected |
Remove delegated participatns's ports from the composite.
Definition at line 456 of file PeriodicECSharedComposite.cpp.
|
protected |
Conversion from SDO to DFC.
Definition at line 232 of file PeriodicECSharedComposite.cpp.
|
virtual |
[CORBA interface] Set Organization member
This operation removes existing member list and sets the given SDOList to the existing organization's member list
sdo_list | SDO member list to be set |
Reimplemented from SDOPackage::Organization_impl.
Definition at line 121 of file PeriodicECSharedComposite.cpp.
|
protected |
Start Owned ExecutionContexts.
Definition at line 268 of file PeriodicECSharedComposite.cpp.
|
protected |
Stop Owned ExecutionContexts.
Definition at line 250 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::updateDelegatedPorts | ( | void | ) |
Update/Remove a member of Organization.
Definition at line 520 of file PeriodicECSharedComposite.cpp.
|
protected |
PortsList is updated.
Definition at line 507 of file PeriodicECSharedComposite.cpp.
|
protected |
ExecutionContext Object reference.
Definition at line 318 of file PeriodicECSharedComposite.h.
|
protected |
Port List.
Definition at line 406 of file PeriodicECSharedComposite.h.
|
protected |
Member list.
Definition at line 396 of file PeriodicECSharedComposite.h.
|
protected |
RT Object.
Definition at line 309 of file PeriodicECSharedComposite.h.
|
protected |
Logger stream.
Definition at line 300 of file PeriodicECSharedComposite.h.