OpenDDS::DCPS::DomainParticipantFactoryImpl Class Reference

Implements the OpenDDS::DCPS::DomainParticipantFactory interfaces. More...

#include <DomainParticipantFactoryImpl.h>

Inheritance diagram for OpenDDS::DCPS::DomainParticipantFactoryImpl:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::DomainParticipantFactoryImpl:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Objref_Servant_Pair<
DomainParticipantImpl,::DDS::DomainParticipant,
::DDS::DomainParticipant_ptr,
::DDS::DomainParticipant_var > 
Participant_Pair
typedef std::set< Participant_PairDPSet
typedef std::map< DDS::DomainId_t,
DPSet
DPMap

Public Member Functions

 DomainParticipantFactoryImpl (void)
virtual ~DomainParticipantFactoryImpl (void)
virtual ::DDS::DomainParticipant_ptr create_participant (::DDS::DomainId_t domainId, const ::DDS::DomainParticipantQos &qos,::DDS::DomainParticipantListener_ptr a_listener) throw ( CORBA::SystemException )
virtual ::DDS::ReturnCode_t delete_participant (::DDS::DomainParticipant_ptr a_participant) throw ( CORBA::SystemException )
virtual ::DDS::DomainParticipant_ptr lookup_participant (::DDS::DomainId_t domainId) throw ( CORBA::SystemException )
virtual ::DDS::ReturnCode_t set_default_participant_qos (const ::DDS::DomainParticipantQos &qos) throw ( CORBA::SystemException )
virtual void get_default_participant_qos (::DDS::DomainParticipantQos &qos) throw ( CORBA::SystemException )
virtual ::DDS::DomainParticipantFactory_ptr get_instance () throw ( CORBA::SystemException )
::DDS::ReturnCode_t delete_contained_participants ()
const DPMapparticipants () const

Private Attributes

::DDS::DomainParticipantQos default_participant_qos_
 The default qos value of DomainParticipant.
DPMap participants_
 The collection of domain participants.
ACE_Recursive_Thread_Mutex participants_protector_

Detailed Description

Implements the OpenDDS::DCPS::DomainParticipantFactory interfaces.

This class acts as factory of the DomainParticipant.

See the DDS specification, OMG formal/04-12-02, for a description of the interface this class is implementing.


Member Typedef Documentation

typedef std::map<DDS::DomainId_t, DPSet> OpenDDS::DCPS::DomainParticipantFactoryImpl::DPMap

typedef std::set<Participant_Pair> OpenDDS::DCPS::DomainParticipantFactoryImpl::DPSet

typedef Objref_Servant_Pair<DomainParticipantImpl, ::DDS::DomainParticipant, ::DDS::DomainParticipant_ptr, ::DDS::DomainParticipant_var > OpenDDS::DCPS::DomainParticipantFactoryImpl::Participant_Pair


Constructor & Destructor Documentation

OpenDDS::DCPS::DomainParticipantFactoryImpl::DomainParticipantFactoryImpl ( void   ) 

Constructor

OpenDDS::DCPS::DomainParticipantFactoryImpl::~DomainParticipantFactoryImpl ( void   )  [virtual]

Destructor


Member Function Documentation

DDS::DomainParticipant_ptr OpenDDS::DCPS::DomainParticipantFactoryImpl::create_participant ( ::DDS::DomainId_t  domainId,
const ::DDS::DomainParticipantQos qos,
::DDS::DomainParticipantListener_ptr  a_listener 
) throw ( CORBA::SystemException )

DDS::ReturnCode_t OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_contained_participants (  ) 

This method is not defined in the IDL and is defined for internal use. Delete all participants belong to this factory and hence delete all entities created by the participants. Note: The delete will terminate and return error code if any contained participant is not empty.

DDS::ReturnCode_t OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant ( ::DDS::DomainParticipant_ptr  a_participant  )  throw ( CORBA::SystemException )

void OpenDDS::DCPS::DomainParticipantFactoryImpl::get_default_participant_qos ( ::DDS::DomainParticipantQos qos  )  throw ( CORBA::SystemException ) [virtual]

DDS::DomainParticipantFactory_ptr OpenDDS::DCPS::DomainParticipantFactoryImpl::get_instance (  )  throw ( CORBA::SystemException )

Implements DDS::DomainParticipantFactory.

DDS::DomainParticipant_ptr OpenDDS::DCPS::DomainParticipantFactoryImpl::lookup_participant ( ::DDS::DomainId_t  domainId  )  throw ( CORBA::SystemException )

const DomainParticipantFactoryImpl::DPMap & OpenDDS::DCPS::DomainParticipantFactoryImpl::participants (  )  const

DDS::ReturnCode_t OpenDDS::DCPS::DomainParticipantFactoryImpl::set_default_participant_qos ( const ::DDS::DomainParticipantQos qos  )  throw ( CORBA::SystemException )


Member Data Documentation

::DDS::DomainParticipantQos OpenDDS::DCPS::DomainParticipantFactoryImpl::default_participant_qos_ [private]

The default qos value of DomainParticipant.

DPMap OpenDDS::DCPS::DomainParticipantFactoryImpl::participants_ [private]

The collection of domain participants.

ACE_Recursive_Thread_Mutex OpenDDS::DCPS::DomainParticipantFactoryImpl::participants_protector_ [private]


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 09:37:35 2008 for OpenDDS by  doxygen 1.4.7