OpenDaVINCI  4.16.0
odcore::io::conference::ContainerConferenceFactory Class Reference

#include <ContainerConferenceFactory.h>

Inheritance diagram for odcore::io::conference::ContainerConferenceFactory:
Inheritance graph

Public Types

enum  { MULTICAST_PORT = 12175 }
 

Public Member Functions

virtual ~ContainerConferenceFactory ()
 
virtual std::shared_ptr
< ContainerConference
getContainerConference (const string &address, const uint32_t &port=ContainerConferenceFactory::MULTICAST_PORT)
 

Static Public Member Functions

static ContainerConferenceFactorygetInstance ()
 

Protected Member Functions

 ContainerConferenceFactory ()
 

Static Protected Member Functions

static void setSingleton (ContainerConferenceFactory *singleton)
 

Detailed Description

This class provides ContainerConferences.

Member Enumeration Documentation

anonymous enum
Enumerator
MULTICAST_PORT 

Constructor & Destructor Documentation

odcore::io::conference::ContainerConferenceFactory::ContainerConferenceFactory ( )
protected

The default constructor is protected to allow subclasses (e.g. in testcases).

odcore::io::conference::ContainerConferenceFactory::~ContainerConferenceFactory ( )
virtual

Member Function Documentation

std::shared_ptr< ContainerConference > odcore::io::conference::ContainerConferenceFactory::getContainerConference ( const string &  address,
const uint32_t &  port = ContainerConferenceFactory::MULTICAST_PORT 
)
virtual

This method returns a new ContainerConference.

Parameters
addressUse address for joining.
portUse port for joining. If omitted, MULTICAST_PORT will be used.
Returns
ContainerConference or NULL.

Reimplemented in odcontext::base::ControlledContainerConferenceFactory.

Referenced by odcore::base::module::AbstractConferenceClientModule::AbstractConferenceClientModule(), odcontext::base::StandaloneRuntimeControl::StandaloneRuntimeControl(), and odcontext::base::SuperComponent::SuperComponent().

ContainerConferenceFactory & odcore::io::conference::ContainerConferenceFactory::getInstance ( )
static
void odcore::io::conference::ContainerConferenceFactory::setSingleton ( ContainerConferenceFactory singleton)
staticprotected

This method sets the singleton pointer.

Parameters
singletonSingleton to be used.

Referenced by odcontext::base::ControlledContainerConferenceFactory::ControlledContainerConferenceFactory(), and getInstance().