OpenDaVINCI  4.16.0
ControlledContainerConferenceForSystemUnderTest.h
Go to the documentation of this file.
1 
20 #ifndef CONTEXT_BASE_CONTROLLEDCONTAINERCONFERENCEFORSYSTEMUNDERTEST_H_
21 #define CONTEXT_BASE_CONTROLLEDCONTAINERCONFERENCEFORSYSTEMUNDERTEST_H_
22 
23 #include <string>
24 
28 
29 namespace odcore { namespace data { class Container; } }
30 namespace odcore { namespace io { namespace conference { class ContainerObserver; } } }
31 
32 namespace odcontext {
33  namespace base {
34 
35 class BlockableContainerReceiver;
36 
37  using namespace std;
38 
39 
44  private:
46 
47  private:
54 
61 
62  protected:
71  ControlledContainerConferenceForSystemUnderTest(const string &address, const uint32_t &port, BlockableContainerReceiver &bcl, odcore::io::conference::ContainerObserver &receiveFromObserver);
72 
73  public:
75 
76  virtual void send(odcore::data::Container &container) const;
77 
78  virtual void nextContainer(odcore::data::Container &c);
79 
85  BlockableContainerReceiver& getBlockableContainerReceiver();
86 
87  private:
88  BlockableContainerReceiver &m_sendToListener;
89  odcore::io::conference::ContainerObserver &m_receiveFromObserver;
90  };
91 
92  }
93 } // odcontext::base
94 
95 #endif /*CONTEXT_BASE_CONTROLLEDCONTAINERCONFERENCEFORSYSTEMUNDERTEST_H_*/
Definition: ContainerListener.h:35
Definition: ContainerObserver.h:35
Definition: BlockableContainerReceiver.h:37
Definition: Container.h:40
Definition: ControlledContainerConferenceForSystemUnderTest.h:43
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: ControlledContainerConferenceFactory.h:47
Definition: ContainerConference.h:43