Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types | List of all members
SDOPackage::PeriodicECOrganization Class Reference

PeriodicECOrganization class. More...

#include <PeriodicECSharedComposite.h>

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

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< Memberm_rtcMembers
 Member list. More...
 
::RTC::RTObject_implm_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
 

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

SDOPackage::PeriodicECOrganization::PeriodicECOrganization ( ::RTC::RTObject_impl rtobj)

Constructor.

Constructor

Parameters
rtobjObject

Definition at line 54 of file PeriodicECSharedComposite.cpp.

SDOPackage::PeriodicECOrganization::~PeriodicECOrganization ( void  )
virtual

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.

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)
inlineprotected

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.

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

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.

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.

Member Data Documentation

::RTC::ExecutionContext_var SDOPackage::PeriodicECOrganization::m_ec
protected

ExecutionContext Object reference.

Definition at line 318 of file PeriodicECSharedComposite.h.

PortList SDOPackage::PeriodicECOrganization::m_expPorts
protected

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.

RTC::Logger SDOPackage::PeriodicECOrganization::rtclog
protected

Logger stream.

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 Jun 6 2019 19:26:05