OpenDaVINCI  4.15.3
odcontext::base::BlockableContainerReceiver Class Reference

#include <BlockableContainerReceiver.h>

Inheritance diagram for odcontext::base::BlockableContainerReceiver:
Inheritance graph

Public Member Functions

 BlockableContainerReceiver (odcore::io::conference::ContainerListener &cl)
 
virtual ~BlockableContainerReceiver ()
 
virtual void nextContainer (odcore::data::Container &c)
 
void setNextContainerAllowed (const bool &allowed)
 

Protected Member Functions

bool isNextContainerAllowed () const
 

Detailed Description

This class realizes a blockable container receiver which can blocked from sending. This class is used for every registered system under test.

Constructor & Destructor Documentation

odcontext::base::BlockableContainerReceiver::BlockableContainerReceiver ( odcore::io::conference::ContainerListener cl)

Constructor.

Parameters
clContainerListener for finally receiving Containers from the System Under Test.
odcontext::base::BlockableContainerReceiver::~BlockableContainerReceiver ( )
virtual

Member Function Documentation

bool odcontext::base::BlockableContainerListener::isNextContainerAllowed ( ) const
protectedinherited

This method returns true if nextContainer(...) is allowed.

Referenced by nextContainer().

void odcontext::base::BlockableContainerReceiver::nextContainer ( odcore::data::Container c)
virtual
void odcontext::base::BlockableContainerListener::setNextContainerAllowed ( const bool &  allowed)
inherited