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 | |
PeriodicECOrganization (::RTC::RTObject_impl *rtobj) | |
Constructor. | |
virtual ::CORBA::Boolean | remove_member (const char *id) throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Remove a member of Organization | |
void | removeAllMembers (void) |
Remove a member of Organization. | |
virtual ::CORBA::Boolean | set_members (const SDOList &sdos) throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) |
[CORBA interface] Set Organization member | |
void | updateDelegatedPorts (void) |
Update/Remove a member of Organization. | |
virtual | ~PeriodicECOrganization (void) |
Destructor. | |
Protected Types | |
typedef std::vector< Member > ::iterator | MemIt |
Protected Member Functions | |
void | addOrganizationToTarget (Member &member) |
Set Organization object to target DFC. | |
void | addParticipantToEC (Member &member) |
Set CompositeRTC's ExecutionContext to the given DFC. | |
void | addPort (Member &member, PortList &portlist) |
Delegate given RTC's ports to the Composite. | |
void | print (PortList p) |
Output PortList to StandardOutput. | |
void | removeOrganizationFromTarget (Member &member) |
Remove Organization object from a target DFC. | |
void | removeParticipantFromEC (Member &member) |
Remove participant DFC from CompositeRTC's ExecutionContext. | |
void | removePort (Member &member, PortList &portlist) |
Remove delegated participatns's ports from the composite. | |
bool | sdoToDFC (const SDO_ptr sdo,::OpenRTM::DataFlowComponent_ptr &dfc) |
Conversion from SDO to DFC. | |
void | startOwnedEC (Member &member) |
Start Owned ExecutionContexts. | |
void | stopOwnedEC (Member &member) |
Stop Owned ExecutionContexts. | |
void | updateExportedPortsList (void) |
PortsList is updated. | |
Protected Attributes | |
::RTC::ExecutionContext_var | m_ec |
ExecutionContext Object reference. | |
PortList | m_expPorts |
Port List. | |
std::vector< Member > | m_rtcMembers |
Member list. | |
::RTC::RTObject_impl * | m_rtobj |
RT Object. | |
RTC::Logger | rtclog |
Logger stream. | |
Private Types | |
typedef std::vector< std::string > | PortList |
PeriodicECOrganization class.
Implement of Organization_imp
Definition at line 66 of file PeriodicECSharedComposite.h.
typedef std::vector<Member>::iterator SDOPackage::PeriodicECOrganization::MemIt [protected] |
Definition at line 397 of file PeriodicECSharedComposite.h.
typedef std::vector<std::string> SDOPackage::PeriodicECOrganization::PortList [private] |
Definition at line 69 of file PeriodicECSharedComposite.h.
Constructor.
Constructor
rtobj | Object |
Definition at line 54 of file PeriodicECSharedComposite.cpp.
SDOPackage::PeriodicECOrganization::~PeriodicECOrganization | ( | void | ) | [virtual] |
CORBA::Boolean SDOPackage::PeriodicECOrganization::add_members | ( | const SDOList & | sdo_list | ) | throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) [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.
void SDOPackage::PeriodicECOrganization::addOrganizationToTarget | ( | Member & | member | ) | [protected] |
Set Organization object to target DFC.
Definition at line 286 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::addParticipantToEC | ( | Member & | member | ) | [protected] |
Set CompositeRTC's ExecutionContext to the given DFC.
Definition at line 320 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::addPort | ( | Member & | member, |
PortList & | portlist | ||
) | [protected] |
Delegate given RTC's ports to the Composite.
Definition at line 406 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::print | ( | PortList | p | ) | [inline, protected] |
Output PortList to StandardOutput.
Definition at line 415 of file PeriodicECSharedComposite.h.
CORBA::Boolean SDOPackage::PeriodicECOrganization::remove_member | ( | const char * | id | ) | throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) [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.
void SDOPackage::PeriodicECOrganization::removeOrganizationFromTarget | ( | Member & | member | ) | [protected] |
Remove Organization object from a target DFC.
Definition at line 304 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::removeParticipantFromEC | ( | Member & | member | ) | [protected] |
Remove participant DFC from CompositeRTC's ExecutionContext.
Definition at line 365 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::removePort | ( | Member & | member, |
PortList & | portlist | ||
) | [protected] |
Remove delegated participatns's ports from the composite.
Definition at line 456 of file PeriodicECSharedComposite.cpp.
bool SDOPackage::PeriodicECOrganization::sdoToDFC | ( | const SDO_ptr | sdo, |
::OpenRTM::DataFlowComponent_ptr & | dfc | ||
) | [protected] |
Conversion from SDO to DFC.
Definition at line 232 of file PeriodicECSharedComposite.cpp.
CORBA::Boolean SDOPackage::PeriodicECOrganization::set_members | ( | const SDOList & | sdos | ) | throw (::CORBA::SystemException, InvalidParameter, NotAvailable, InternalError) [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.
void SDOPackage::PeriodicECOrganization::startOwnedEC | ( | Member & | member | ) | [protected] |
Start Owned ExecutionContexts.
Definition at line 268 of file PeriodicECSharedComposite.cpp.
void SDOPackage::PeriodicECOrganization::stopOwnedEC | ( | Member & | member | ) | [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.
void SDOPackage::PeriodicECOrganization::updateExportedPortsList | ( | void | ) | [protected] |
PortsList is updated.
Definition at line 507 of file PeriodicECSharedComposite.cpp.
::RTC::ExecutionContext_var SDOPackage::PeriodicECOrganization::m_ec [protected] |
ExecutionContext Object reference.
Definition at line 318 of file PeriodicECSharedComposite.h.
Port List.
Definition at line 406 of file PeriodicECSharedComposite.h.
std::vector<Member> SDOPackage::PeriodicECOrganization::m_rtcMembers [protected] |
Member list.
Definition at line 396 of file PeriodicECSharedComposite.h.
::RTC::RTObject_impl* SDOPackage::PeriodicECOrganization::m_rtobj [protected] |
RT Object.
Definition at line 309 of file PeriodicECSharedComposite.h.
Logger stream.
Reimplemented from SDOPackage::Organization_impl.
Definition at line 300 of file PeriodicECSharedComposite.h.