Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types
SDOPackage::PeriodicECOrganization Class Reference

PeriodicECOrganization class. More...

#include <PeriodicECSharedComposite.h>

Inheritance diagram for SDOPackage::PeriodicECOrganization:
Inheritance graph
[legend]

List of all members.

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< Memberm_rtcMembers
 Member list.
::RTC::RTObject_implm_rtobj
 RT Object.
RTC::Logger rtclog
 Logger stream.

Private Types

typedef std::vector< std::string > PortList

Detailed Description

PeriodicECOrganization class.

Implement of Organization_imp

Definition at line 66 of file PeriodicECSharedComposite.h.


Member Typedef Documentation

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 & Destructor Documentation

Constructor.

Constructor

Parameters:
rtobjObject

Definition at line 54 of file PeriodicECSharedComposite.cpp.

Destructor.

Destructor

Definition at line 69 of file PeriodicECSharedComposite.cpp.


Member Function Documentation

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

Parameters:
sdo_listSDO member list to be added
Returns:
boolean will returned if the operation succeed

Reimplemented from SDOPackage::Organization_impl.

Definition at line 81 of file PeriodicECSharedComposite.cpp.

Set Organization object to target DFC.

Definition at line 286 of file PeriodicECSharedComposite.cpp.

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.

Parameters:
idThe ID of the SDO to be removed
Returns:
boolean will returned if the operation succeed

Reimplemented from SDOPackage::Organization_impl.

Definition at line 168 of file PeriodicECSharedComposite.cpp.

Remove a member of Organization.

Definition at line 204 of file PeriodicECSharedComposite.cpp.

Remove Organization object from a target DFC.

Definition at line 304 of file PeriodicECSharedComposite.cpp.

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

Parameters:
sdo_listSDO member list to be set
Returns:
boolean will returned if the operation succeed

Reimplemented from SDOPackage::Organization_impl.

Definition at line 121 of file PeriodicECSharedComposite.cpp.

Start Owned ExecutionContexts.

Definition at line 268 of file PeriodicECSharedComposite.cpp.

Stop Owned ExecutionContexts.

Definition at line 250 of file PeriodicECSharedComposite.cpp.

Update/Remove a member of Organization.

Definition at line 520 of file PeriodicECSharedComposite.cpp.

PortsList is updated.

Definition at line 507 of file PeriodicECSharedComposite.cpp.


Member Data Documentation

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

Member list.

Definition at line 396 of file PeriodicECSharedComposite.h.

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.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:42