OpenDaVINCI  4.15.3
StandaloneRuntimeControl.h
Go to the documentation of this file.
1 
20 #ifndef CONTEXT_BASE_STANDALONERUNTIMECONTROL_H_
21 #define CONTEXT_BASE_STANDALONERUNTIMECONTROL_H_
22 
23 #include <vector>
24 
29 #include <memory>
33 
34 namespace odcore { namespace data { class Container; } }
35 
36 namespace odcontext {
37  namespace base {
38 
39 class RuntimeControlInterface;
40 class SystemFeedbackComponent;
41 
42  using namespace std;
43 
48  public:
51  };
52 
53  private:
60 
67 
68  public:
75 
76  virtual ~StandaloneRuntimeControl();
77 
78  virtual void sendToSystemsUnderTest(odcore::data::Container &c);
79 
80  protected:
85  virtual void configureRuntimeEnvironment() = 0;
86 
93  void add(SystemFeedbackComponent *sfc);
94 
100  virtual void destroySystemFeedbackComponents();
101 
102  private:
103  std::shared_ptr<odcore::io::conference::ContainerConference> m_conference;
104 
105  RuntimeEnvironment m_rte;
106 
107  odcore::base::Mutex m_listOfSystemFeedbackComponentsMutex;
108  vector<SystemFeedbackComponent*> m_listOfSystemFeedbackComponents;
109 
110  virtual enum ERRORCODES runStandalone();
111 
112  virtual void nextContainer(odcore::data::Container &c);
113  };
114 
115  }
116 } // odcontext::base
117 
118 #endif /*CONTEXT_BASE_STANDALONERUNTIMECONTROL_H_*/
Definition: ContainerListener.h:35
Definition: RuntimeControlInterface.h:36
Definition: base/Mutex.h:49
Definition: Container.h:40
Definition: StandaloneRuntimeControl.h:47
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: RuntimeControl.h:48
Definition: SystemFeedbackComponent.h:38
VEHICLECONTEXTMODULES
Definition: StandaloneRuntimeControl.h:49
Definition: RuntimeEnvironment.h:42
Definition: SendContainerToSystemsUnderTest.h:34