OpenDaVINCI  4.16.0
BlockableContainerReceiver.h
Go to the documentation of this file.
1 
20 #ifndef CONTEXT_BASE_BLOCKABLECONTAINERRECEIVER_H_
21 #define CONTEXT_BASE_BLOCKABLECONTAINERRECEIVER_H_
22 
25 
26 namespace odcore { namespace data { class Container; } }
27 namespace odcore { namespace io { namespace conference { class ContainerListener; } } }
28 
29 namespace odcontext {
30  namespace base {
31 
38  private:
39  enum THREAD_YIELDING {
40  YIELDING_TIME = 100,
41  };
42 
43  private:
50 
57 
58  public:
65 
66  virtual ~BlockableContainerReceiver();
67 
68  // This method is called by ControlledContainerConference to send c from an app to all SystemParts.
69  virtual void nextContainer(odcore::data::Container &c);
70 
71  private:
72  // This ContainerListener receives the containers sent from the System Under Test to which this BlockableContainerReceiver belongs to all SystemParts and all other Systems Under Test.
73  odcore::io::conference::ContainerListener &m_dispatcherForContainersSentFromSystemUnderTest;
74  };
75 
76  }
77 } // odcontext::base
78 
79 #endif /*CONTEXT_BASE_BLOCKABLECONTAINERRECEIVER_H_*/
Definition: ContainerListener.h:35
Definition: BlockableContainerReceiver.h:37
Definition: Container.h:40
Definition: BlockableContainerListener.h:33
#define OPENDAVINCI_API
Definition: opendavinci.h:67