Samchon Framework for CPP  1.0.0
SlaveDriver.hpp
1 #pragma once
2 #include <samchon/protocol/master/ParallelClient.hpp>
3 #include <samchon/protocol/master/ParallelSystemArray.hpp>
4 
5 #include <samchon/protocol/Invoke.hpp>
6 
7 #include <iostream>
8 
9 namespace samchon
10 {
11 namespace example
12 {
13 namespace interaction
14 {
15  using namespace std;
16 
17  using namespace library;
18  using namespace protocol;
19 
40  : public virtual master::ParallelClient
41  {
42  private:
43  typedef master::ParallelClient super;
44 
45  public:
50  : super()
51  {
52  };
53  virtual ~SlaveDriver() = default;
54 
55  virtual void replyData(std::shared_ptr<Invoke> invoke) override
56  {
57  systemArray->replyData(invoke);
58  };
59  };
60 };
61 };
62 };
A slave system&#39;s driver for optimization.
Definition: SlaveDriver.hpp:39