OpenDaVINCI  4.15.3
odcore::base::module::ManagedClientModuleContainerConference Class Reference

#include <ManagedClientModuleContainerConference.h>

Inheritance diagram for odcore::base::module::ManagedClientModuleContainerConference:
Inheritance graph

Public Member Functions

 ManagedClientModuleContainerConference ()
 
virtual ~ManagedClientModuleContainerConference ()
 
virtual void send (odcore::data::Container &container) const
 
void receiveFromLocal (odcore::data::Container &c)
 
void clearListOfContainers ()
 
vector< odcore::data::ContainergetListOfContainers () const
 
virtual void setContainerListener (ContainerListener *cl)
 
ContainerListenergetContainerListener ()
 
void setSenderStamp (const uint32_t &senderStamp)
 
uint32_t getSenderStamp () const
 

Protected Member Functions

void receive (odcore::data::Container &c)
 
bool hasContainerListener () const
 

Detailed Description

This class is a software only ContainerConference as a substitute to the UDP-driver ContainerConference.

Constructor & Destructor Documentation

odcore::base::module::ManagedClientModuleContainerConference::ManagedClientModuleContainerConference ( )
odcore::base::module::ManagedClientModuleContainerConference::~ManagedClientModuleContainerConference ( )
virtual

Member Function Documentation

void odcore::base::module::ManagedClientModuleContainerConference::clearListOfContainers ( )

This message clears the list of containers to be transferred from a connected module to supercomponent.

ContainerListener * odcore::io::conference::ContainerConference::getContainerListener ( )
inherited

This method returns the registered ContainerListener.

Returns
registered container listener or NULL.
vector< odcore::data::Container > odcore::base::module::ManagedClientModuleContainerConference::getListOfContainers ( ) const

This message returns the list of containers to be transferred from a connected module to supercomponent.

Returns
List of containers to be transferred to supercomponent.
uint32_t odcore::io::conference::ContainerConference::getSenderStamp ( ) const
inherited

This method returns the user-defined attribute used for stamping any container that is sent.

Returns
user-defined attribute used for stamping containers.

Referenced by odcontext::base::ControlledContainerConferenceForSystemUnderTest::send().

bool odcore::io::conference::ContainerConference::hasContainerListener ( ) const
protectedinherited

This method returns true if a ContainerListener is registered.

Returns
true, iff a ContainerListener is registered.
void odcore::io::conference::ContainerConference::receive ( odcore::data::Container c)
protectedinherited

This method can be called from any subclass to distribute a newly received container.

Parameters
cContainer to be distributed.

References odcore::io::conference::ContainerListener::nextContainer().

Referenced by odcontext::base::ControlledContainerConferenceForSystemUnderTest::nextContainer(), and receiveFromLocal().

void odcore::base::module::ManagedClientModuleContainerConference::receiveFromLocal ( odcore::data::Container c)
void odcore::base::module::ManagedClientModuleContainerConference::send ( odcore::data::Container container) const
virtual
void odcore::io::conference::ContainerConference::setContainerListener ( ContainerListener cl)
virtualinherited

This method sets or unsets a container listener.

Parameters
clContainerListener to be set. If set to NULL, observing is suspended.

Implements odcore::io::conference::ContainerObserver.

void odcore::io::conference::ContainerConference::setSenderStamp ( const uint32_t &  senderStamp)
inherited

This method sets a user-defined attribute to be used for stamping any container that is sent.

Parameters
senderStampUser-defined attribute used for stamping containers.