OpenDaVINCI  4.16.0
odcontext::base::ContainerDeliverer Class Reference

#include <ContainerDeliverer.h>

Inheritance diagram for odcontext::base::ContainerDeliverer:
Inheritance graph

Public Member Functions

 ContainerDeliverer ()
 
virtual ~ContainerDeliverer ()
 
virtual void setContainerListener (odcore::io::conference::ContainerListener *cl)
 
virtual void nextContainer (odcore::data::Container &c)
 

Detailed Description

This class delivers Containers to ControlledContainerConferenceForSystemUnderTest. Every ControlledContainerConferenceForSystemUnderTest has its own ContainerDeliverer to ensure synchronous delivery.

Constructor & Destructor Documentation

odcontext::base::ContainerDeliverer::ContainerDeliverer ( )
odcontext::base::ContainerDeliverer::~ContainerDeliverer ( )
virtual

Member Function Documentation

void odcontext::base::ContainerDeliverer::nextContainer ( odcore::data::Container c)
virtual

This method is called whenever a new container occurs.

Parameters
cContainer that has been occured.

Implements odcore::io::conference::ContainerListener.

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

void odcontext::base::ContainerDeliverer::setContainerListener ( odcore::io::conference::ContainerListener cl)
virtual

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.