OpenDaVINCI  4.16.0
odcontext::base::SuperComponent Class Referenceabstract

#include <SuperComponent.h>

Inheritance diagram for odcontext::base::SuperComponent:
Inheritance graph

Public Member Functions

 SuperComponent (const string &multicastGroup, const uint32_t &CID, const odcore::base::KeyValueConfiguration &configuration)
 
virtual ~SuperComponent ()
 
odcore::io::conference::ContainerConferencegetContainerConference ()
 

Protected Member Functions

virtual
odcore::base::KeyValueConfiguration 
getConfiguration (const odcore::data::dmcp::ModuleDescriptor &md)
 
virtual
odcore::base::KeyValueConfiguration 
getGlobalConfiguration () const
 
virtual void onNewModule (std::shared_ptr< odcore::dmcp::connection::ModuleConnection > mc)
 
virtual void handleChangeState (const odcore::data::dmcp::ModuleDescriptor &md, const odcore::data::dmcp::ModuleStateMessage::ModuleState &ms)
 
virtual void handleExitCode (const odcore::data::dmcp::ModuleDescriptor &md, const odcore::data::dmcp::ModuleExitCodeMessage::ModuleExitCode &me)
 
virtual void handleRuntimeStatistics (const odcore::data::dmcp::ModuleDescriptor &md, const odcore::data::dmcp::RuntimeStatistic &rs)
 
virtual void handleConnectionLost (const odcore::data::dmcp::ModuleDescriptor &md)
 
virtual void handleUnkownContainer (const odcore::data::dmcp::ModuleDescriptor &md, const odcore::data::Container &container)
 
virtual void onNewModule (std::shared_ptr< odcore::dmcp::connection::ModuleConnection > mc)=0
 

Detailed Description

This class provides supercomponent functionality.

Constructor & Destructor Documentation

odcontext::base::SuperComponent::SuperComponent ( const string &  multicastGroup,
const uint32_t &  CID,
const odcore::base::KeyValueConfiguration configuration 
)

Constructor for constructing a supercomponent using REAL UDP/TCP for the given CID and the given configuration.

Parameters
multicastGroupMulticast group to create supercomponent for.
cidCID for the supercomponent.
configurationGlobal configuration.

References odcore::io::conference::ContainerConferenceFactory::getContainerConference(), and odcore::io::conference::ContainerConferenceFactory::getInstance().

odcontext::base::SuperComponent::~SuperComponent ( )
virtual

Member Function Documentation

KeyValueConfiguration odcontext::base::SuperComponent::getConfiguration ( const odcore::data::dmcp::ModuleDescriptor &  md)
protectedvirtual
ContainerConference & odcontext::base::SuperComponent::getContainerConference ( )

This method returns the real UDPMulticastClientConference.

Returns
UDPMulticastClientConference.
KeyValueConfiguration odcontext::base::SuperComponent::getGlobalConfiguration ( ) const
protectedvirtual
void odcontext::base::SuperComponent::handleChangeState ( const odcore::data::dmcp::ModuleDescriptor &  md,
const odcore::data::dmcp::ModuleStateMessage::ModuleState &  ms 
)
protectedvirtual
void odcontext::base::SuperComponent::handleConnectionLost ( const odcore::data::dmcp::ModuleDescriptor &  md)
protectedvirtual
void odcontext::base::SuperComponent::handleExitCode ( const odcore::data::dmcp::ModuleDescriptor &  md,
const odcore::data::dmcp::ModuleExitCodeMessage::ModuleExitCode &  me 
)
protectedvirtual
void odcontext::base::SuperComponent::handleRuntimeStatistics ( const odcore::data::dmcp::ModuleDescriptor &  md,
const odcore::data::dmcp::RuntimeStatistic &  rs 
)
protectedvirtual
void odcontext::base::SuperComponent::handleUnkownContainer ( const odcore::data::dmcp::ModuleDescriptor &  md,
const odcore::data::Container container 
)
protectedvirtual
virtual void odcore::dmcp::connection::ConnectionHandler::onNewModule ( std::shared_ptr< odcore::dmcp::connection::ModuleConnection mc)
pure virtualinherited
void odcontext::base::SuperComponent::onNewModule ( std::shared_ptr< odcore::dmcp::connection::ModuleConnection mc)
protectedvirtual