Line data Source code
1 : // Generated by the gRPC C++ plugin.
2 : // If you make any local change, they will be lost.
3 : // source: plotserver.proto
4 :
5 : #include "plotserver.pb.h"
6 : #include "plotserver.grpc.pb.h"
7 :
8 : #include <functional>
9 : #include <grpcpp/impl/codegen/async_stream.h>
10 : #include <grpcpp/impl/codegen/async_unary_call.h>
11 : #include <grpcpp/impl/codegen/channel_interface.h>
12 : #include <grpcpp/impl/codegen/client_unary_call.h>
13 : #include <grpcpp/impl/codegen/client_callback.h>
14 : #include <grpcpp/impl/codegen/method_handler_impl.h>
15 : #include <grpcpp/impl/codegen/rpc_service_method.h>
16 : #include <grpcpp/impl/codegen/server_callback.h>
17 : #include <grpcpp/impl/codegen/service_type.h>
18 : #include <grpcpp/impl/codegen/sync_stream.h>
19 : namespace rpc {
20 : namespace gui {
21 :
22 : static const char* plotserver_method_names[] = {
23 : "/rpc.gui.plotserver/panel",
24 : "/rpc.gui.plotserver/colors",
25 : "/rpc.gui.plotserver/colormaps",
26 : "/rpc.gui.plotserver/symbols",
27 : "/rpc.gui.plotserver/line",
28 : "/rpc.gui.plotserver/scatter",
29 : "/rpc.gui.plotserver/histogram",
30 : "/rpc.gui.plotserver/raster",
31 : "/rpc.gui.plotserver/setlabel",
32 : "/rpc.gui.plotserver/erase",
33 : "/rpc.gui.plotserver/close",
34 : "/rpc.gui.plotserver/release",
35 : "/rpc.gui.plotserver/hide",
36 : "/rpc.gui.plotserver/show",
37 : "/rpc.gui.plotserver/loaddock",
38 : "/rpc.gui.plotserver/done",
39 : };
40 :
41 0 : std::unique_ptr< plotserver::Stub> plotserver::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
42 : (void)options;
43 0 : std::unique_ptr< plotserver::Stub> stub(new plotserver::Stub(channel));
44 0 : return stub;
45 : }
46 :
47 0 : plotserver::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel)
48 0 : : channel_(channel), rpcmethod_panel_(plotserver_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
49 0 : , rpcmethod_colors_(plotserver_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
50 0 : , rpcmethod_colormaps_(plotserver_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
51 0 : , rpcmethod_symbols_(plotserver_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
52 0 : , rpcmethod_line_(plotserver_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
53 0 : , rpcmethod_scatter_(plotserver_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
54 0 : , rpcmethod_histogram_(plotserver_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
55 0 : , rpcmethod_raster_(plotserver_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
56 0 : , rpcmethod_setlabel_(plotserver_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
57 0 : , rpcmethod_erase_(plotserver_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
58 0 : , rpcmethod_close_(plotserver_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
59 0 : , rpcmethod_release_(plotserver_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
60 0 : , rpcmethod_hide_(plotserver_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
61 0 : , rpcmethod_show_(plotserver_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
62 0 : , rpcmethod_loaddock_(plotserver_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
63 0 : , rpcmethod_done_(plotserver_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
64 0 : {}
65 :
66 0 : ::grpc::Status plotserver::Stub::panel(::grpc::ClientContext* context, const ::rpc::gui::NewPanel& request, ::rpc::gui::Id* response) {
67 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_panel_, context, request, response);
68 : }
69 :
70 0 : void plotserver::Stub::experimental_async::panel(::grpc::ClientContext* context, const ::rpc::gui::NewPanel* request, ::rpc::gui::Id* response, std::function<void(::grpc::Status)> f) {
71 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_panel_, context, request, response, std::move(f));
72 : }
73 :
74 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::AsyncpanelRaw(::grpc::ClientContext* context, const ::rpc::gui::NewPanel& request, ::grpc::CompletionQueue* cq) {
75 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_panel_, context, request, true);
76 : }
77 :
78 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::PrepareAsyncpanelRaw(::grpc::ClientContext* context, const ::rpc::gui::NewPanel& request, ::grpc::CompletionQueue* cq) {
79 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_panel_, context, request, false);
80 : }
81 :
82 0 : ::grpc::Status plotserver::Stub::colors(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::rpc::gui::Colors* response) {
83 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_colors_, context, request, response);
84 : }
85 :
86 0 : void plotserver::Stub::experimental_async::colors(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::rpc::gui::Colors* response, std::function<void(::grpc::Status)> f) {
87 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_colors_, context, request, response, std::move(f));
88 : }
89 :
90 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Colors>* plotserver::Stub::AsynccolorsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
91 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Colors>::Create(channel_.get(), cq, rpcmethod_colors_, context, request, true);
92 : }
93 :
94 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Colors>* plotserver::Stub::PrepareAsynccolorsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
95 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Colors>::Create(channel_.get(), cq, rpcmethod_colors_, context, request, false);
96 : }
97 :
98 0 : ::grpc::Status plotserver::Stub::colormaps(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::rpc::gui::ColorMaps* response) {
99 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_colormaps_, context, request, response);
100 : }
101 :
102 0 : void plotserver::Stub::experimental_async::colormaps(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::rpc::gui::ColorMaps* response, std::function<void(::grpc::Status)> f) {
103 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_colormaps_, context, request, response, std::move(f));
104 : }
105 :
106 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::ColorMaps>* plotserver::Stub::AsynccolormapsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
107 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::ColorMaps>::Create(channel_.get(), cq, rpcmethod_colormaps_, context, request, true);
108 : }
109 :
110 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::ColorMaps>* plotserver::Stub::PrepareAsynccolormapsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
111 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::ColorMaps>::Create(channel_.get(), cq, rpcmethod_colormaps_, context, request, false);
112 : }
113 :
114 0 : ::grpc::Status plotserver::Stub::symbols(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::rpc::gui::Symbols* response) {
115 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_symbols_, context, request, response);
116 : }
117 :
118 0 : void plotserver::Stub::experimental_async::symbols(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::rpc::gui::Symbols* response, std::function<void(::grpc::Status)> f) {
119 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_symbols_, context, request, response, std::move(f));
120 : }
121 :
122 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Symbols>* plotserver::Stub::AsyncsymbolsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
123 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Symbols>::Create(channel_.get(), cq, rpcmethod_symbols_, context, request, true);
124 : }
125 :
126 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Symbols>* plotserver::Stub::PrepareAsyncsymbolsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
127 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Symbols>::Create(channel_.get(), cq, rpcmethod_symbols_, context, request, false);
128 : }
129 :
130 0 : ::grpc::Status plotserver::Stub::line(::grpc::ClientContext* context, const ::rpc::gui::NewLine& request, ::rpc::gui::Id* response) {
131 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_line_, context, request, response);
132 : }
133 :
134 0 : void plotserver::Stub::experimental_async::line(::grpc::ClientContext* context, const ::rpc::gui::NewLine* request, ::rpc::gui::Id* response, std::function<void(::grpc::Status)> f) {
135 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_line_, context, request, response, std::move(f));
136 : }
137 :
138 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::AsynclineRaw(::grpc::ClientContext* context, const ::rpc::gui::NewLine& request, ::grpc::CompletionQueue* cq) {
139 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_line_, context, request, true);
140 : }
141 :
142 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::PrepareAsynclineRaw(::grpc::ClientContext* context, const ::rpc::gui::NewLine& request, ::grpc::CompletionQueue* cq) {
143 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_line_, context, request, false);
144 : }
145 :
146 0 : ::grpc::Status plotserver::Stub::scatter(::grpc::ClientContext* context, const ::rpc::gui::NewScatter& request, ::rpc::gui::Id* response) {
147 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_scatter_, context, request, response);
148 : }
149 :
150 0 : void plotserver::Stub::experimental_async::scatter(::grpc::ClientContext* context, const ::rpc::gui::NewScatter* request, ::rpc::gui::Id* response, std::function<void(::grpc::Status)> f) {
151 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_scatter_, context, request, response, std::move(f));
152 : }
153 :
154 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::AsyncscatterRaw(::grpc::ClientContext* context, const ::rpc::gui::NewScatter& request, ::grpc::CompletionQueue* cq) {
155 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_scatter_, context, request, true);
156 : }
157 :
158 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::PrepareAsyncscatterRaw(::grpc::ClientContext* context, const ::rpc::gui::NewScatter& request, ::grpc::CompletionQueue* cq) {
159 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_scatter_, context, request, false);
160 : }
161 :
162 0 : ::grpc::Status plotserver::Stub::histogram(::grpc::ClientContext* context, const ::rpc::gui::NewHistogram& request, ::rpc::gui::Id* response) {
163 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_histogram_, context, request, response);
164 : }
165 :
166 0 : void plotserver::Stub::experimental_async::histogram(::grpc::ClientContext* context, const ::rpc::gui::NewHistogram* request, ::rpc::gui::Id* response, std::function<void(::grpc::Status)> f) {
167 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_histogram_, context, request, response, std::move(f));
168 : }
169 :
170 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::AsynchistogramRaw(::grpc::ClientContext* context, const ::rpc::gui::NewHistogram& request, ::grpc::CompletionQueue* cq) {
171 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_histogram_, context, request, true);
172 : }
173 :
174 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::PrepareAsynchistogramRaw(::grpc::ClientContext* context, const ::rpc::gui::NewHistogram& request, ::grpc::CompletionQueue* cq) {
175 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_histogram_, context, request, false);
176 : }
177 :
178 0 : ::grpc::Status plotserver::Stub::raster(::grpc::ClientContext* context, const ::rpc::gui::NewRaster& request, ::rpc::gui::Id* response) {
179 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_raster_, context, request, response);
180 : }
181 :
182 0 : void plotserver::Stub::experimental_async::raster(::grpc::ClientContext* context, const ::rpc::gui::NewRaster* request, ::rpc::gui::Id* response, std::function<void(::grpc::Status)> f) {
183 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_raster_, context, request, response, std::move(f));
184 : }
185 :
186 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::AsyncrasterRaw(::grpc::ClientContext* context, const ::rpc::gui::NewRaster& request, ::grpc::CompletionQueue* cq) {
187 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_raster_, context, request, true);
188 : }
189 :
190 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::PrepareAsyncrasterRaw(::grpc::ClientContext* context, const ::rpc::gui::NewRaster& request, ::grpc::CompletionQueue* cq) {
191 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_raster_, context, request, false);
192 : }
193 :
194 0 : ::grpc::Status plotserver::Stub::setlabel(::grpc::ClientContext* context, const ::rpc::gui::Label& request, ::google::protobuf::Empty* response) {
195 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_setlabel_, context, request, response);
196 : }
197 :
198 0 : void plotserver::Stub::experimental_async::setlabel(::grpc::ClientContext* context, const ::rpc::gui::Label* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
199 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_setlabel_, context, request, response, std::move(f));
200 : }
201 :
202 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::AsyncsetlabelRaw(::grpc::ClientContext* context, const ::rpc::gui::Label& request, ::grpc::CompletionQueue* cq) {
203 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_setlabel_, context, request, true);
204 : }
205 :
206 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::PrepareAsyncsetlabelRaw(::grpc::ClientContext* context, const ::rpc::gui::Label& request, ::grpc::CompletionQueue* cq) {
207 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_setlabel_, context, request, false);
208 : }
209 :
210 0 : ::grpc::Status plotserver::Stub::erase(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::google::protobuf::Empty* response) {
211 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_erase_, context, request, response);
212 : }
213 :
214 0 : void plotserver::Stub::experimental_async::erase(::grpc::ClientContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
215 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_erase_, context, request, response, std::move(f));
216 : }
217 :
218 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::AsynceraseRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
219 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_erase_, context, request, true);
220 : }
221 :
222 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::PrepareAsynceraseRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
223 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_erase_, context, request, false);
224 : }
225 :
226 0 : ::grpc::Status plotserver::Stub::close(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::google::protobuf::Empty* response) {
227 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_close_, context, request, response);
228 : }
229 :
230 0 : void plotserver::Stub::experimental_async::close(::grpc::ClientContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
231 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_close_, context, request, response, std::move(f));
232 : }
233 :
234 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::AsynccloseRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
235 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_close_, context, request, true);
236 : }
237 :
238 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::PrepareAsynccloseRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
239 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_close_, context, request, false);
240 : }
241 :
242 0 : ::grpc::Status plotserver::Stub::release(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::google::protobuf::Empty* response) {
243 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_release_, context, request, response);
244 : }
245 :
246 0 : void plotserver::Stub::experimental_async::release(::grpc::ClientContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
247 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_release_, context, request, response, std::move(f));
248 : }
249 :
250 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::AsyncreleaseRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
251 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_release_, context, request, true);
252 : }
253 :
254 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::PrepareAsyncreleaseRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
255 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_release_, context, request, false);
256 : }
257 :
258 0 : ::grpc::Status plotserver::Stub::hide(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::google::protobuf::Empty* response) {
259 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_hide_, context, request, response);
260 : }
261 :
262 0 : void plotserver::Stub::experimental_async::hide(::grpc::ClientContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
263 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_hide_, context, request, response, std::move(f));
264 : }
265 :
266 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::AsynchideRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
267 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_hide_, context, request, true);
268 : }
269 :
270 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::PrepareAsynchideRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
271 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_hide_, context, request, false);
272 : }
273 :
274 0 : ::grpc::Status plotserver::Stub::show(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::google::protobuf::Empty* response) {
275 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_show_, context, request, response);
276 : }
277 :
278 0 : void plotserver::Stub::experimental_async::show(::grpc::ClientContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
279 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_show_, context, request, response, std::move(f));
280 : }
281 :
282 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::AsyncshowRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
283 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_show_, context, request, true);
284 : }
285 :
286 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::PrepareAsyncshowRaw(::grpc::ClientContext* context, const ::rpc::gui::Id& request, ::grpc::CompletionQueue* cq) {
287 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_show_, context, request, false);
288 : }
289 :
290 0 : ::grpc::Status plotserver::Stub::loaddock(::grpc::ClientContext* context, const ::rpc::gui::DockSpec& request, ::rpc::gui::Id* response) {
291 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_loaddock_, context, request, response);
292 : }
293 :
294 0 : void plotserver::Stub::experimental_async::loaddock(::grpc::ClientContext* context, const ::rpc::gui::DockSpec* request, ::rpc::gui::Id* response, std::function<void(::grpc::Status)> f) {
295 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_loaddock_, context, request, response, std::move(f));
296 : }
297 :
298 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::AsyncloaddockRaw(::grpc::ClientContext* context, const ::rpc::gui::DockSpec& request, ::grpc::CompletionQueue* cq) {
299 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_loaddock_, context, request, true);
300 : }
301 :
302 0 : ::grpc::ClientAsyncResponseReader< ::rpc::gui::Id>* plotserver::Stub::PrepareAsyncloaddockRaw(::grpc::ClientContext* context, const ::rpc::gui::DockSpec& request, ::grpc::CompletionQueue* cq) {
303 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rpc::gui::Id>::Create(channel_.get(), cq, rpcmethod_loaddock_, context, request, false);
304 : }
305 :
306 0 : ::grpc::Status plotserver::Stub::done(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Empty* response) {
307 0 : return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_done_, context, request, response);
308 : }
309 :
310 0 : void plotserver::Stub::experimental_async::done(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
311 0 : return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_done_, context, request, response, std::move(f));
312 : }
313 :
314 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::AsyncdoneRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
315 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_done_, context, request, true);
316 : }
317 :
318 0 : ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* plotserver::Stub::PrepareAsyncdoneRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
319 0 : return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_done_, context, request, false);
320 : }
321 :
322 0 : plotserver::Service::Service() {
323 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
324 : plotserver_method_names[0],
325 : ::grpc::internal::RpcMethod::NORMAL_RPC,
326 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::NewPanel, ::rpc::gui::Id>(
327 0 : std::mem_fn(&plotserver::Service::panel), this)));
328 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
329 : plotserver_method_names[1],
330 : ::grpc::internal::RpcMethod::NORMAL_RPC,
331 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::google::protobuf::Empty, ::rpc::gui::Colors>(
332 0 : std::mem_fn(&plotserver::Service::colors), this)));
333 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
334 : plotserver_method_names[2],
335 : ::grpc::internal::RpcMethod::NORMAL_RPC,
336 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::google::protobuf::Empty, ::rpc::gui::ColorMaps>(
337 0 : std::mem_fn(&plotserver::Service::colormaps), this)));
338 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
339 : plotserver_method_names[3],
340 : ::grpc::internal::RpcMethod::NORMAL_RPC,
341 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::google::protobuf::Empty, ::rpc::gui::Symbols>(
342 0 : std::mem_fn(&plotserver::Service::symbols), this)));
343 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
344 : plotserver_method_names[4],
345 : ::grpc::internal::RpcMethod::NORMAL_RPC,
346 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::NewLine, ::rpc::gui::Id>(
347 0 : std::mem_fn(&plotserver::Service::line), this)));
348 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
349 : plotserver_method_names[5],
350 : ::grpc::internal::RpcMethod::NORMAL_RPC,
351 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::NewScatter, ::rpc::gui::Id>(
352 0 : std::mem_fn(&plotserver::Service::scatter), this)));
353 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
354 : plotserver_method_names[6],
355 : ::grpc::internal::RpcMethod::NORMAL_RPC,
356 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::NewHistogram, ::rpc::gui::Id>(
357 0 : std::mem_fn(&plotserver::Service::histogram), this)));
358 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
359 : plotserver_method_names[7],
360 : ::grpc::internal::RpcMethod::NORMAL_RPC,
361 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::NewRaster, ::rpc::gui::Id>(
362 0 : std::mem_fn(&plotserver::Service::raster), this)));
363 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
364 : plotserver_method_names[8],
365 : ::grpc::internal::RpcMethod::NORMAL_RPC,
366 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::Label, ::google::protobuf::Empty>(
367 0 : std::mem_fn(&plotserver::Service::setlabel), this)));
368 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
369 : plotserver_method_names[9],
370 : ::grpc::internal::RpcMethod::NORMAL_RPC,
371 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::Id, ::google::protobuf::Empty>(
372 0 : std::mem_fn(&plotserver::Service::erase), this)));
373 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
374 : plotserver_method_names[10],
375 : ::grpc::internal::RpcMethod::NORMAL_RPC,
376 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::Id, ::google::protobuf::Empty>(
377 0 : std::mem_fn(&plotserver::Service::close), this)));
378 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
379 : plotserver_method_names[11],
380 : ::grpc::internal::RpcMethod::NORMAL_RPC,
381 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::Id, ::google::protobuf::Empty>(
382 0 : std::mem_fn(&plotserver::Service::release), this)));
383 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
384 : plotserver_method_names[12],
385 : ::grpc::internal::RpcMethod::NORMAL_RPC,
386 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::Id, ::google::protobuf::Empty>(
387 0 : std::mem_fn(&plotserver::Service::hide), this)));
388 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
389 : plotserver_method_names[13],
390 : ::grpc::internal::RpcMethod::NORMAL_RPC,
391 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::Id, ::google::protobuf::Empty>(
392 0 : std::mem_fn(&plotserver::Service::show), this)));
393 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
394 : plotserver_method_names[14],
395 : ::grpc::internal::RpcMethod::NORMAL_RPC,
396 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::rpc::gui::DockSpec, ::rpc::gui::Id>(
397 0 : std::mem_fn(&plotserver::Service::loaddock), this)));
398 0 : AddMethod(new ::grpc::internal::RpcServiceMethod(
399 : plotserver_method_names[15],
400 : ::grpc::internal::RpcMethod::NORMAL_RPC,
401 0 : new ::grpc::internal::RpcMethodHandler< plotserver::Service, ::google::protobuf::Empty, ::google::protobuf::Empty>(
402 0 : std::mem_fn(&plotserver::Service::done), this)));
403 0 : }
404 :
405 0 : plotserver::Service::~Service() {
406 0 : }
407 :
408 0 : ::grpc::Status plotserver::Service::panel(::grpc::ServerContext* context, const ::rpc::gui::NewPanel* request, ::rpc::gui::Id* response) {
409 : (void) context;
410 : (void) request;
411 : (void) response;
412 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
413 : }
414 :
415 0 : ::grpc::Status plotserver::Service::colors(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::rpc::gui::Colors* response) {
416 : (void) context;
417 : (void) request;
418 : (void) response;
419 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
420 : }
421 :
422 0 : ::grpc::Status plotserver::Service::colormaps(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::rpc::gui::ColorMaps* response) {
423 : (void) context;
424 : (void) request;
425 : (void) response;
426 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
427 : }
428 :
429 0 : ::grpc::Status plotserver::Service::symbols(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::rpc::gui::Symbols* response) {
430 : (void) context;
431 : (void) request;
432 : (void) response;
433 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
434 : }
435 :
436 0 : ::grpc::Status plotserver::Service::line(::grpc::ServerContext* context, const ::rpc::gui::NewLine* request, ::rpc::gui::Id* response) {
437 : (void) context;
438 : (void) request;
439 : (void) response;
440 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
441 : }
442 :
443 0 : ::grpc::Status plotserver::Service::scatter(::grpc::ServerContext* context, const ::rpc::gui::NewScatter* request, ::rpc::gui::Id* response) {
444 : (void) context;
445 : (void) request;
446 : (void) response;
447 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
448 : }
449 :
450 0 : ::grpc::Status plotserver::Service::histogram(::grpc::ServerContext* context, const ::rpc::gui::NewHistogram* request, ::rpc::gui::Id* response) {
451 : (void) context;
452 : (void) request;
453 : (void) response;
454 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
455 : }
456 :
457 0 : ::grpc::Status plotserver::Service::raster(::grpc::ServerContext* context, const ::rpc::gui::NewRaster* request, ::rpc::gui::Id* response) {
458 : (void) context;
459 : (void) request;
460 : (void) response;
461 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
462 : }
463 :
464 0 : ::grpc::Status plotserver::Service::setlabel(::grpc::ServerContext* context, const ::rpc::gui::Label* request, ::google::protobuf::Empty* response) {
465 : (void) context;
466 : (void) request;
467 : (void) response;
468 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
469 : }
470 :
471 0 : ::grpc::Status plotserver::Service::erase(::grpc::ServerContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response) {
472 : (void) context;
473 : (void) request;
474 : (void) response;
475 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
476 : }
477 :
478 0 : ::grpc::Status plotserver::Service::close(::grpc::ServerContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response) {
479 : (void) context;
480 : (void) request;
481 : (void) response;
482 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
483 : }
484 :
485 0 : ::grpc::Status plotserver::Service::release(::grpc::ServerContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response) {
486 : (void) context;
487 : (void) request;
488 : (void) response;
489 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
490 : }
491 :
492 0 : ::grpc::Status plotserver::Service::hide(::grpc::ServerContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response) {
493 : (void) context;
494 : (void) request;
495 : (void) response;
496 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
497 : }
498 :
499 0 : ::grpc::Status plotserver::Service::show(::grpc::ServerContext* context, const ::rpc::gui::Id* request, ::google::protobuf::Empty* response) {
500 : (void) context;
501 : (void) request;
502 : (void) response;
503 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
504 : }
505 :
506 0 : ::grpc::Status plotserver::Service::loaddock(::grpc::ServerContext* context, const ::rpc::gui::DockSpec* request, ::rpc::gui::Id* response) {
507 : (void) context;
508 : (void) request;
509 : (void) response;
510 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
511 : }
512 :
513 0 : ::grpc::Status plotserver::Service::done(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response) {
514 : (void) context;
515 : (void) request;
516 : (void) response;
517 0 : return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
518 : }
519 :
520 :
521 : } // namespace rpc
522 : } // namespace gui
523 :
|