Diff to HTML by rtfpessoa

Files changed (8) hide show
  1. baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Debug/Thunder/Source/com/generated/ProxyStubsMetadata.cpp +0 -15
  2. baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Debug/Thunder/Source/plugins/generated/ProxyStubsMetadata.cpp +0 -15
  3. baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Debug/ThunderInterfaces/interfaces/generated/ProxyStubsMetadata.cpp +0 -15
  4. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw → generated/generated}/Debug/ThunderInterfaces/interfaces/generated/ProxyStubs_MessageControl.cpp +168 -45
  5. baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Release/Thunder/Source/com/generated/ProxyStubsMetadata.cpp +0 -15
  6. baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Release/Thunder/Source/plugins/generated/ProxyStubsMetadata.cpp +0 -15
  7. baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Release/ThunderInterfaces/interfaces/generated/ProxyStubsMetadata.cpp +0 -15
  8. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw → generated/generated}/Release/ThunderInterfaces/interfaces/generated/ProxyStubs_MessageControl.cpp +168 -45
baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Debug/Thunder/Source/com/generated/ProxyStubsMetadata.cpp DELETED
@@ -1,15 +0,0 @@
1
- //
2
- // generated automatically
3
-
4
- #include "Module.h"
5
- #include <com/ProxyStubs.h>
6
-
7
- extern "C" {
8
-
9
- EXTERNAL_EXPORT proxystubs_options_t proxystubs_options()
10
- {
11
- return (static_cast<proxystubs_options_t>(0));
12
- }
13
-
14
- }
15
-
baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Debug/Thunder/Source/plugins/generated/ProxyStubsMetadata.cpp DELETED
@@ -1,15 +0,0 @@
1
- //
2
- // generated automatically
3
-
4
- #include "Module.h"
5
- #include <com/ProxyStubs.h>
6
-
7
- extern "C" {
8
-
9
- EXTERNAL_EXPORT proxystubs_options_t proxystubs_options()
10
- {
11
- return (static_cast<proxystubs_options_t>(0));
12
- }
13
-
14
- }
15
-
baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Debug/ThunderInterfaces/interfaces/generated/ProxyStubsMetadata.cpp DELETED
@@ -1,15 +0,0 @@
1
- //
2
- // generated automatically
3
-
4
- #include "Module.h"
5
- #include <com/ProxyStubs.h>
6
-
7
- extern "C" {
8
-
9
- EXTERNAL_EXPORT proxystubs_options_t proxystubs_options()
10
- {
11
- return (static_cast<proxystubs_options_t>(0));
12
- }
13
-
14
- }
15
-
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw → generated/generated}/Debug/ThunderInterfaces/interfaces/generated/ProxyStubs_MessageControl.cpp RENAMED
@@ -1,11 +1,11 @@
1
1
  //
2
2
  // generated automatically from "IMessageControl.h"
3
3
  //
4
4
  // implements COM-RPC proxy stubs for:
5
5
  // - class RPC::IIteratorType<typename ELEMENT, const uint32_t INTERFACE_ID> [with ELEMENT = Exchange::IMessageControl::Control, INTERFACE_ID = Exchange::ID_MESSAGE_CONTROL_ITERATOR] [[iterator]]
6
- // - class Exchange::IMessageControl
6
+ // - class RPC::IIteratorType<typename ELEMENT, const uint32_t INTERFACE_ID> [with ELEMENT = string, INTERFACE_ID = RPC::ID_STRINGITERATOR] [[iterator]]
7
7
  //
8
8
 
9
9
  #include "Module.h"
10
10
  #include "IMessageControl.h"
11
11
 
@@ -135,54 +135,113 @@ namespace ProxyStubs {
135
135
  }
136
136
  , nullptr
137
137
  }; // RPCIteratorTypeInstance_675a6ff7e5671893StubMethods
138
138
 
139
139
  //
140
- // Exchange::IMessageControl interface stub definitions
140
+ // RPC::IIteratorTypeInstance_b3acff3685df4032 interface stub definitions
141
141
  //
142
142
  // Methods:
143
- // (0) virtual uint32_t Enable(const Exchange::IMessageControl::messagetype, const string&, const string&, const bool) = 0
144
- // (1) virtual uint32_t Controls(Exchange::IMessageControl::IControlIterator*&) const = 0
143
+ // (0) virtual bool Next(string&) = 0
144
+ // (1) virtual bool Previous(string&) = 0
145
+ // (2) virtual void Reset(const uint32_t) = 0
146
+ // (3) virtual bool IsValid() const = 0
147
+ // (4) virtual uint32_t Count() const = 0
148
+ // (5) virtual string Current() const = 0
145
149
  //
146
150
 
147
- static ProxyStub::MethodHandler ExchangeMessageControlStubMethods[] = {
148
- // (0) virtual uint32_t Enable(const Exchange::IMessageControl::messagetype, const string&, const string&, const bool) = 0
151
+ static ProxyStub::MethodHandler RPCIteratorTypeInstance_b3acff3685df4032StubMethods[] = {
152
+ // (0) virtual bool Next(string&) = 0
149
153
  //
150
154
  [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
151
- Exchange::IMessageControl* implementation = reinterpret_cast<Exchange::IMessageControl*>(message->Parameters().Implementation());
155
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
156
+
157
+ interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
152
158
  ASSERT(implementation != nullptr);
153
159
 
154
- RPC::Data::Frame::Reader reader(message->Parameters().Reader());
155
- const Exchange::IMessageControl::messagetype _type = reader.Number<Exchange::IMessageControl::messagetype>();
156
- const string _category = reader.Text();
157
- const string _module = reader.Text();
158
- const bool _enabled = reader.Boolean();
160
+ string _info{};
159
161
 
160
- uint32_t result = implementation->Enable(_type, static_cast<const string&>(_category), static_cast<const string&>(_module), _enabled);
162
+ bool result = implementation->Next(_info);
161
163
 
162
164
  RPC::Data::Frame::Writer writer(message->Response().Writer());
163
- writer.Number<uint32_t>(result);
165
+ writer.Boolean(result);
166
+ writer.Text(_info);
167
+ },
168
+
169
+ // (1) virtual bool Previous(string&) = 0
170
+ //
171
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
172
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
173
+
174
+ interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
175
+ ASSERT(implementation != nullptr);
176
+
177
+ string _info{};
178
+
179
+ bool result = implementation->Previous(_info);
180
+
181
+ RPC::Data::Frame::Writer writer(message->Response().Writer());
182
+ writer.Boolean(result);
183
+ writer.Text(_info);
184
+ },
185
+
186
+ // (2) virtual void Reset(const uint32_t) = 0
187
+ //
188
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
189
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
190
+
191
+ interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
192
+ ASSERT(implementation != nullptr);
193
+
194
+ RPC::Data::Frame::Reader reader(message->Parameters().Reader());
195
+ const uint32_t _position = reader.Number<uint32_t>();
196
+
197
+ implementation->Reset(_position);
164
198
  },
165
199
 
166
- // (1) virtual uint32_t Controls(Exchange::IMessageControl::IControlIterator*&) const = 0
200
+ // (3) virtual bool IsValid() const = 0
167
201
  //
168
- [](Core::ProxyType<Core::IPCChannel>& channel, Core::ProxyType<RPC::InvokeMessage>& message) {
169
- const Exchange::IMessageControl* implementation = reinterpret_cast<const Exchange::IMessageControl*>(message->Parameters().Implementation());
202
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
203
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
204
+
205
+ const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
170
206
  ASSERT(implementation != nullptr);
171
207
 
172
- Exchange::IMessageControl::IControlIterator* _control{};
208
+ bool result = implementation->IsValid();
173
209
 
174
- uint32_t result = implementation->Controls(_control);
210
+ RPC::Data::Frame::Writer writer(message->Response().Writer());
211
+ writer.Boolean(result);
212
+ },
213
+
214
+ // (4) virtual uint32_t Count() const = 0
215
+ //
216
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
217
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
218
+
219
+ const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
220
+ ASSERT(implementation != nullptr);
221
+
222
+ uint32_t result = implementation->Count();
175
223
 
176
224
  RPC::Data::Frame::Writer writer(message->Response().Writer());
177
225
  writer.Number<uint32_t>(result);
178
- writer.Number<Core::instance_id>(RPC::instance_cast(_control));
226
+ },
227
+
228
+ // (5) virtual string Current() const = 0
229
+ //
230
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
231
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
232
+
233
+ const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
234
+ ASSERT(implementation != nullptr);
235
+
236
+ string result = implementation->Current();
179
237
 
180
- RPC::Administrator::Instance().RegisterInterface(channel, _control);
238
+ RPC::Data::Frame::Writer writer(message->Response().Writer());
239
+ writer.Text(result);
181
240
  }
182
241
  , nullptr
183
- }; // ExchangeMessageControlStubMethods
242
+ }; // RPCIteratorTypeInstance_b3acff3685df4032StubMethods
184
243
 
185
244
  // -----------------------------------------------------------------
186
245
  // PROXIES
187
246
  // -----------------------------------------------------------------
188
247
 
@@ -312,62 +371,126 @@ namespace ProxyStubs {
312
371
  }
313
372
 
314
373
  }; // class RPCIteratorTypeInstance_675a6ff7e5671893Proxy
315
374
 
316
375
  //
317
- // Exchange::IMessageControl interface proxy definitions
376
+ // RPC::IIteratorTypeInstance_b3acff3685df4032 interface proxy definitions
318
377
  //
319
378
  // Methods:
320
- // (0) virtual uint32_t Enable(const Exchange::IMessageControl::messagetype, const string&, const string&, const bool) = 0
321
- // (1) virtual uint32_t Controls(Exchange::IMessageControl::IControlIterator*&) const = 0
379
+ // (0) virtual bool Next(string&) = 0
380
+ // (1) virtual bool Previous(string&) = 0
381
+ // (2) virtual void Reset(const uint32_t) = 0
382
+ // (3) virtual bool IsValid() const = 0
383
+ // (4) virtual uint32_t Count() const = 0
384
+ // (5) virtual string Current() const = 0
322
385
  //
323
386
 
324
- class ExchangeMessageControlProxy final : public ProxyStub::UnknownProxyType<Exchange::IMessageControl> {
387
+ class RPCIteratorTypeInstance_b3acff3685df4032Proxy final : public ProxyStub::UnknownProxyType<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>> {
325
388
  public:
326
- ExchangeMessageControlProxy(const Core::ProxyType<Core::IPCChannel>& channel, const Core::instance_id implementation, const bool otherSideInformed)
389
+ RPCIteratorTypeInstance_b3acff3685df4032Proxy(const Core::ProxyType<Core::IPCChannel>& channel, const Core::instance_id implementation, const bool otherSideInformed)
327
390
  : BaseClass(channel, implementation, otherSideInformed)
328
391
  {
329
392
  }
330
393
 
331
- uint32_t Enable(const Exchange::IMessageControl::messagetype _type, const string& _category, const string& _module, const bool _enabled) override
394
+ bool Next(string& _info) override
332
395
  {
333
396
  IPCMessage message(UnknownProxyType::Message(0));
334
397
 
335
- RPC::Data::Frame::Writer writer(message->Parameters().Writer());
336
- writer.Number<Exchange::IMessageControl::messagetype>(_type);
337
- writer.Text(_category);
338
- writer.Text(_module);
339
- writer.Boolean(_enabled);
398
+ bool result{};
340
399
 
341
- Core::hresult hresult = UnknownProxyType::Invoke(message);
400
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
342
401
  if (hresult == Core::ERROR_NONE) {
343
402
  RPC::Data::Frame::Reader reader(message->Response().Reader());
344
- hresult = reader.Number<uint32_t>();
403
+ result = reader.Boolean();
404
+ _info = reader.Text();
345
405
  } else {
346
406
  ASSERT((hresult & COM_ERROR) != 0);
347
407
  }
348
408
 
349
- return (hresult);
409
+ return (result);
350
410
  }
351
411
 
352
- uint32_t Controls(Exchange::IMessageControl::IControlIterator*& _control) const override
412
+ bool Previous(string& _info) override
353
413
  {
354
414
  IPCMessage message(UnknownProxyType::Message(1));
355
415
 
356
- Core::hresult hresult = UnknownProxyType::Invoke(message);
416
+ bool result{};
417
+
418
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
419
+ if (hresult == Core::ERROR_NONE) {
420
+ RPC::Data::Frame::Reader reader(message->Response().Reader());
421
+ result = reader.Boolean();
422
+ _info = reader.Text();
423
+ } else {
424
+ ASSERT((hresult & COM_ERROR) != 0);
425
+ }
426
+
427
+ return (result);
428
+ }
429
+
430
+ void Reset(const uint32_t _position) override
431
+ {
432
+ IPCMessage message(UnknownProxyType::Message(2));
433
+
434
+ RPC::Data::Frame::Writer writer(message->Parameters().Writer());
435
+ writer.Number<uint32_t>(_position);
436
+
437
+ UnknownProxyType::Invoke(message);
438
+ }
439
+
440
+ bool IsValid() const override
441
+ {
442
+ IPCMessage message(UnknownProxyType::Message(3));
443
+
444
+ bool result{};
445
+
446
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
447
+ if (hresult == Core::ERROR_NONE) {
448
+ RPC::Data::Frame::Reader reader(message->Response().Reader());
449
+ result = reader.Boolean();
450
+ } else {
451
+ ASSERT((hresult & COM_ERROR) != 0);
452
+ }
453
+
454
+ return (result);
455
+ }
456
+
457
+ uint32_t Count() const override
458
+ {
459
+ IPCMessage message(UnknownProxyType::Message(4));
460
+
461
+ uint32_t result{};
462
+
463
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
357
464
  if (hresult == Core::ERROR_NONE) {
358
465
  RPC::Data::Frame::Reader reader(message->Response().Reader());
359
- hresult = reader.Number<uint32_t>();
360
- _control = reinterpret_cast<Exchange::IMessageControl::IControlIterator*>(UnknownProxyType::Interface(reader.Number<Core::instance_id>(), Exchange::IMessageControl::IControlIterator::ID));
466
+ result = reader.Number<uint32_t>();
467
+ } else {
468
+ ASSERT((hresult & COM_ERROR) != 0);
469
+ }
470
+
471
+ return (result);
472
+ }
473
+
474
+ string Current() const override
475
+ {
476
+ IPCMessage message(UnknownProxyType::Message(5));
477
+
478
+ string result{};
479
+
480
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
481
+ if (hresult == Core::ERROR_NONE) {
482
+ RPC::Data::Frame::Reader reader(message->Response().Reader());
483
+ result = reader.Text();
361
484
  } else {
362
485
  ASSERT((hresult & COM_ERROR) != 0);
363
486
  }
364
487
 
365
- return (hresult);
488
+ return (result);
366
489
  }
367
490
 
368
- }; // class ExchangeMessageControlProxy
491
+ }; // class RPCIteratorTypeInstance_b3acff3685df4032Proxy
369
492
 
370
493
  POP_WARNING()
371
494
  POP_WARNING()
372
495
 
373
496
  // -----------------------------------------------------------------
@@ -375,23 +498,23 @@ namespace ProxyStubs {
375
498
  // -----------------------------------------------------------------
376
499
 
377
500
  namespace {
378
501
 
379
502
  typedef ProxyStub::UnknownStubType<RPC::IIteratorType<Exchange::IMessageControl::Control, Exchange::ID_MESSAGE_CONTROL_ITERATOR>, RPCIteratorTypeInstance_675a6ff7e5671893StubMethods> RPCIteratorTypeInstance_675a6ff7e5671893Stub;
380
- typedef ProxyStub::UnknownStubType<Exchange::IMessageControl, ExchangeMessageControlStubMethods> ExchangeMessageControlStub;
503
+ typedef ProxyStub::UnknownStubType<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>, RPCIteratorTypeInstance_b3acff3685df4032StubMethods> RPCIteratorTypeInstance_b3acff3685df4032Stub;
381
504
 
382
505
  static class Instantiation {
383
506
  public:
384
507
  Instantiation()
385
508
  {
386
509
  RPC::Administrator::Instance().Announce<RPC::IIteratorType<Exchange::IMessageControl::Control, Exchange::ID_MESSAGE_CONTROL_ITERATOR>, RPCIteratorTypeInstance_675a6ff7e5671893Proxy, RPCIteratorTypeInstance_675a6ff7e5671893Stub>();
387
- RPC::Administrator::Instance().Announce<Exchange::IMessageControl, ExchangeMessageControlProxy, ExchangeMessageControlStub>();
510
+ RPC::Administrator::Instance().Announce<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>, RPCIteratorTypeInstance_b3acff3685df4032Proxy, RPCIteratorTypeInstance_b3acff3685df4032Stub>();
388
511
  }
389
512
  ~Instantiation()
390
513
  {
391
514
  RPC::Administrator::Instance().Recall<RPC::IIteratorType<Exchange::IMessageControl::Control, Exchange::ID_MESSAGE_CONTROL_ITERATOR>>();
392
- RPC::Administrator::Instance().Recall<Exchange::IMessageControl>();
515
+ RPC::Administrator::Instance().Recall<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>>();
393
516
  }
394
517
  } ProxyStubRegistration;
395
518
 
396
519
  } // namespace
397
520
 
baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Release/Thunder/Source/com/generated/ProxyStubsMetadata.cpp DELETED
@@ -1,15 +0,0 @@
1
- //
2
- // generated automatically
3
-
4
- #include "Module.h"
5
- #include <com/ProxyStubs.h>
6
-
7
- extern "C" {
8
-
9
- EXTERNAL_EXPORT proxystubs_options_t proxystubs_options()
10
- {
11
- return (static_cast<proxystubs_options_t>(0));
12
- }
13
-
14
- }
15
-
baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Release/Thunder/Source/plugins/generated/ProxyStubsMetadata.cpp DELETED
@@ -1,15 +0,0 @@
1
- //
2
- // generated automatically
3
-
4
- #include "Module.h"
5
- #include <com/ProxyStubs.h>
6
-
7
- extern "C" {
8
-
9
- EXTERNAL_EXPORT proxystubs_options_t proxystubs_options()
10
- {
11
- return (static_cast<proxystubs_options_t>(0));
12
- }
13
-
14
- }
15
-
baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw/Release/ThunderInterfaces/interfaces/generated/ProxyStubsMetadata.cpp DELETED
@@ -1,15 +0,0 @@
1
- //
2
- // generated automatically
3
-
4
- #include "Module.h"
5
- #include <com/ProxyStubs.h>
6
-
7
- extern "C" {
8
-
9
- EXTERNAL_EXPORT proxystubs_options_t proxystubs_options()
10
- {
11
- return (static_cast<proxystubs_options_t>(0));
12
- }
13
-
14
- }
15
-
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/ProxyStubGenerator/R4_4/latest_raw → generated/generated}/Release/ThunderInterfaces/interfaces/generated/ProxyStubs_MessageControl.cpp RENAMED
@@ -1,11 +1,11 @@
1
1
  //
2
2
  // generated automatically from "IMessageControl.h"
3
3
  //
4
4
  // implements COM-RPC proxy stubs for:
5
5
  // - class RPC::IIteratorType<typename ELEMENT, const uint32_t INTERFACE_ID> [with ELEMENT = Exchange::IMessageControl::Control, INTERFACE_ID = Exchange::ID_MESSAGE_CONTROL_ITERATOR] [[iterator]]
6
- // - class Exchange::IMessageControl
6
+ // - class RPC::IIteratorType<typename ELEMENT, const uint32_t INTERFACE_ID> [with ELEMENT = string, INTERFACE_ID = RPC::ID_STRINGITERATOR] [[iterator]]
7
7
  //
8
8
 
9
9
  #include "Module.h"
10
10
  #include "IMessageControl.h"
11
11
 
@@ -135,54 +135,113 @@ namespace ProxyStubs {
135
135
  }
136
136
  , nullptr
137
137
  }; // RPCIteratorTypeInstance_675a6ff7e5671893StubMethods
138
138
 
139
139
  //
140
- // Exchange::IMessageControl interface stub definitions
140
+ // RPC::IIteratorTypeInstance_b3acff3685df4032 interface stub definitions
141
141
  //
142
142
  // Methods:
143
- // (0) virtual uint32_t Enable(const Exchange::IMessageControl::messagetype, const string&, const string&, const bool) = 0
144
- // (1) virtual uint32_t Controls(Exchange::IMessageControl::IControlIterator*&) const = 0
143
+ // (0) virtual bool Next(string&) = 0
144
+ // (1) virtual bool Previous(string&) = 0
145
+ // (2) virtual void Reset(const uint32_t) = 0
146
+ // (3) virtual bool IsValid() const = 0
147
+ // (4) virtual uint32_t Count() const = 0
148
+ // (5) virtual string Current() const = 0
145
149
  //
146
150
 
147
- static ProxyStub::MethodHandler ExchangeMessageControlStubMethods[] = {
148
- // (0) virtual uint32_t Enable(const Exchange::IMessageControl::messagetype, const string&, const string&, const bool) = 0
151
+ static ProxyStub::MethodHandler RPCIteratorTypeInstance_b3acff3685df4032StubMethods[] = {
152
+ // (0) virtual bool Next(string&) = 0
149
153
  //
150
154
  [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
151
- Exchange::IMessageControl* implementation = reinterpret_cast<Exchange::IMessageControl*>(message->Parameters().Implementation());
155
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
156
+
157
+ interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
152
158
  ASSERT(implementation != nullptr);
153
159
 
154
- RPC::Data::Frame::Reader reader(message->Parameters().Reader());
155
- const Exchange::IMessageControl::messagetype _type = reader.Number<Exchange::IMessageControl::messagetype>();
156
- const string _category = reader.Text();
157
- const string _module = reader.Text();
158
- const bool _enabled = reader.Boolean();
160
+ string _info{};
159
161
 
160
- uint32_t result = implementation->Enable(_type, static_cast<const string&>(_category), static_cast<const string&>(_module), _enabled);
162
+ bool result = implementation->Next(_info);
161
163
 
162
164
  RPC::Data::Frame::Writer writer(message->Response().Writer());
163
- writer.Number<uint32_t>(result);
165
+ writer.Boolean(result);
166
+ writer.Text(_info);
167
+ },
168
+
169
+ // (1) virtual bool Previous(string&) = 0
170
+ //
171
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
172
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
173
+
174
+ interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
175
+ ASSERT(implementation != nullptr);
176
+
177
+ string _info{};
178
+
179
+ bool result = implementation->Previous(_info);
180
+
181
+ RPC::Data::Frame::Writer writer(message->Response().Writer());
182
+ writer.Boolean(result);
183
+ writer.Text(_info);
184
+ },
185
+
186
+ // (2) virtual void Reset(const uint32_t) = 0
187
+ //
188
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
189
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
190
+
191
+ interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
192
+ ASSERT(implementation != nullptr);
193
+
194
+ RPC::Data::Frame::Reader reader(message->Parameters().Reader());
195
+ const uint32_t _position = reader.Number<uint32_t>();
196
+
197
+ implementation->Reset(_position);
164
198
  },
165
199
 
166
- // (1) virtual uint32_t Controls(Exchange::IMessageControl::IControlIterator*&) const = 0
200
+ // (3) virtual bool IsValid() const = 0
167
201
  //
168
- [](Core::ProxyType<Core::IPCChannel>& channel, Core::ProxyType<RPC::InvokeMessage>& message) {
169
- const Exchange::IMessageControl* implementation = reinterpret_cast<const Exchange::IMessageControl*>(message->Parameters().Implementation());
202
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
203
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
204
+
205
+ const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
170
206
  ASSERT(implementation != nullptr);
171
207
 
172
- Exchange::IMessageControl::IControlIterator* _control{};
208
+ bool result = implementation->IsValid();
173
209
 
174
- uint32_t result = implementation->Controls(_control);
210
+ RPC::Data::Frame::Writer writer(message->Response().Writer());
211
+ writer.Boolean(result);
212
+ },
213
+
214
+ // (4) virtual uint32_t Count() const = 0
215
+ //
216
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
217
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
218
+
219
+ const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
220
+ ASSERT(implementation != nullptr);
221
+
222
+ uint32_t result = implementation->Count();
175
223
 
176
224
  RPC::Data::Frame::Writer writer(message->Response().Writer());
177
225
  writer.Number<uint32_t>(result);
178
- writer.Number<Core::instance_id>(RPC::instance_cast(_control));
226
+ },
227
+
228
+ // (5) virtual string Current() const = 0
229
+ //
230
+ [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
231
+ using interface = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
232
+
233
+ const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
234
+ ASSERT(implementation != nullptr);
235
+
236
+ string result = implementation->Current();
179
237
 
180
- RPC::Administrator::Instance().RegisterInterface(channel, _control);
238
+ RPC::Data::Frame::Writer writer(message->Response().Writer());
239
+ writer.Text(result);
181
240
  }
182
241
  , nullptr
183
- }; // ExchangeMessageControlStubMethods
242
+ }; // RPCIteratorTypeInstance_b3acff3685df4032StubMethods
184
243
 
185
244
  // -----------------------------------------------------------------
186
245
  // PROXIES
187
246
  // -----------------------------------------------------------------
188
247
 
@@ -312,62 +371,126 @@ namespace ProxyStubs {
312
371
  }
313
372
 
314
373
  }; // class RPCIteratorTypeInstance_675a6ff7e5671893Proxy
315
374
 
316
375
  //
317
- // Exchange::IMessageControl interface proxy definitions
376
+ // RPC::IIteratorTypeInstance_b3acff3685df4032 interface proxy definitions
318
377
  //
319
378
  // Methods:
320
- // (0) virtual uint32_t Enable(const Exchange::IMessageControl::messagetype, const string&, const string&, const bool) = 0
321
- // (1) virtual uint32_t Controls(Exchange::IMessageControl::IControlIterator*&) const = 0
379
+ // (0) virtual bool Next(string&) = 0
380
+ // (1) virtual bool Previous(string&) = 0
381
+ // (2) virtual void Reset(const uint32_t) = 0
382
+ // (3) virtual bool IsValid() const = 0
383
+ // (4) virtual uint32_t Count() const = 0
384
+ // (5) virtual string Current() const = 0
322
385
  //
323
386
 
324
- class ExchangeMessageControlProxy final : public ProxyStub::UnknownProxyType<Exchange::IMessageControl> {
387
+ class RPCIteratorTypeInstance_b3acff3685df4032Proxy final : public ProxyStub::UnknownProxyType<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>> {
325
388
  public:
326
- ExchangeMessageControlProxy(const Core::ProxyType<Core::IPCChannel>& channel, const Core::instance_id implementation, const bool otherSideInformed)
389
+ RPCIteratorTypeInstance_b3acff3685df4032Proxy(const Core::ProxyType<Core::IPCChannel>& channel, const Core::instance_id implementation, const bool otherSideInformed)
327
390
  : BaseClass(channel, implementation, otherSideInformed)
328
391
  {
329
392
  }
330
393
 
331
- uint32_t Enable(const Exchange::IMessageControl::messagetype _type, const string& _category, const string& _module, const bool _enabled) override
394
+ bool Next(string& _info) override
332
395
  {
333
396
  IPCMessage message(UnknownProxyType::Message(0));
334
397
 
335
- RPC::Data::Frame::Writer writer(message->Parameters().Writer());
336
- writer.Number<Exchange::IMessageControl::messagetype>(_type);
337
- writer.Text(_category);
338
- writer.Text(_module);
339
- writer.Boolean(_enabled);
398
+ bool result{};
340
399
 
341
- Core::hresult hresult = UnknownProxyType::Invoke(message);
400
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
342
401
  if (hresult == Core::ERROR_NONE) {
343
402
  RPC::Data::Frame::Reader reader(message->Response().Reader());
344
- hresult = reader.Number<uint32_t>();
403
+ result = reader.Boolean();
404
+ _info = reader.Text();
345
405
  } else {
346
406
  ASSERT((hresult & COM_ERROR) != 0);
347
407
  }
348
408
 
349
- return (hresult);
409
+ return (result);
350
410
  }
351
411
 
352
- uint32_t Controls(Exchange::IMessageControl::IControlIterator*& _control) const override
412
+ bool Previous(string& _info) override
353
413
  {
354
414
  IPCMessage message(UnknownProxyType::Message(1));
355
415
 
356
- Core::hresult hresult = UnknownProxyType::Invoke(message);
416
+ bool result{};
417
+
418
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
419
+ if (hresult == Core::ERROR_NONE) {
420
+ RPC::Data::Frame::Reader reader(message->Response().Reader());
421
+ result = reader.Boolean();
422
+ _info = reader.Text();
423
+ } else {
424
+ ASSERT((hresult & COM_ERROR) != 0);
425
+ }
426
+
427
+ return (result);
428
+ }
429
+
430
+ void Reset(const uint32_t _position) override
431
+ {
432
+ IPCMessage message(UnknownProxyType::Message(2));
433
+
434
+ RPC::Data::Frame::Writer writer(message->Parameters().Writer());
435
+ writer.Number<uint32_t>(_position);
436
+
437
+ UnknownProxyType::Invoke(message);
438
+ }
439
+
440
+ bool IsValid() const override
441
+ {
442
+ IPCMessage message(UnknownProxyType::Message(3));
443
+
444
+ bool result{};
445
+
446
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
447
+ if (hresult == Core::ERROR_NONE) {
448
+ RPC::Data::Frame::Reader reader(message->Response().Reader());
449
+ result = reader.Boolean();
450
+ } else {
451
+ ASSERT((hresult & COM_ERROR) != 0);
452
+ }
453
+
454
+ return (result);
455
+ }
456
+
457
+ uint32_t Count() const override
458
+ {
459
+ IPCMessage message(UnknownProxyType::Message(4));
460
+
461
+ uint32_t result{};
462
+
463
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
357
464
  if (hresult == Core::ERROR_NONE) {
358
465
  RPC::Data::Frame::Reader reader(message->Response().Reader());
359
- hresult = reader.Number<uint32_t>();
360
- _control = reinterpret_cast<Exchange::IMessageControl::IControlIterator*>(UnknownProxyType::Interface(reader.Number<Core::instance_id>(), Exchange::IMessageControl::IControlIterator::ID));
466
+ result = reader.Number<uint32_t>();
467
+ } else {
468
+ ASSERT((hresult & COM_ERROR) != 0);
469
+ }
470
+
471
+ return (result);
472
+ }
473
+
474
+ string Current() const override
475
+ {
476
+ IPCMessage message(UnknownProxyType::Message(5));
477
+
478
+ string result{};
479
+
480
+ const Core::hresult hresult = UnknownProxyType::Invoke(message);
481
+ if (hresult == Core::ERROR_NONE) {
482
+ RPC::Data::Frame::Reader reader(message->Response().Reader());
483
+ result = reader.Text();
361
484
  } else {
362
485
  ASSERT((hresult & COM_ERROR) != 0);
363
486
  }
364
487
 
365
- return (hresult);
488
+ return (result);
366
489
  }
367
490
 
368
- }; // class ExchangeMessageControlProxy
491
+ }; // class RPCIteratorTypeInstance_b3acff3685df4032Proxy
369
492
 
370
493
  POP_WARNING()
371
494
  POP_WARNING()
372
495
 
373
496
  // -----------------------------------------------------------------
@@ -375,23 +498,23 @@ namespace ProxyStubs {
375
498
  // -----------------------------------------------------------------
376
499
 
377
500
  namespace {
378
501
 
379
502
  typedef ProxyStub::UnknownStubType<RPC::IIteratorType<Exchange::IMessageControl::Control, Exchange::ID_MESSAGE_CONTROL_ITERATOR>, RPCIteratorTypeInstance_675a6ff7e5671893StubMethods> RPCIteratorTypeInstance_675a6ff7e5671893Stub;
380
- typedef ProxyStub::UnknownStubType<Exchange::IMessageControl, ExchangeMessageControlStubMethods> ExchangeMessageControlStub;
503
+ typedef ProxyStub::UnknownStubType<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>, RPCIteratorTypeInstance_b3acff3685df4032StubMethods> RPCIteratorTypeInstance_b3acff3685df4032Stub;
381
504
 
382
505
  static class Instantiation {
383
506
  public:
384
507
  Instantiation()
385
508
  {
386
509
  RPC::Administrator::Instance().Announce<RPC::IIteratorType<Exchange::IMessageControl::Control, Exchange::ID_MESSAGE_CONTROL_ITERATOR>, RPCIteratorTypeInstance_675a6ff7e5671893Proxy, RPCIteratorTypeInstance_675a6ff7e5671893Stub>();
387
- RPC::Administrator::Instance().Announce<Exchange::IMessageControl, ExchangeMessageControlProxy, ExchangeMessageControlStub>();
510
+ RPC::Administrator::Instance().Announce<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>, RPCIteratorTypeInstance_b3acff3685df4032Proxy, RPCIteratorTypeInstance_b3acff3685df4032Stub>();
388
511
  }
389
512
  ~Instantiation()
390
513
  {
391
514
  RPC::Administrator::Instance().Recall<RPC::IIteratorType<Exchange::IMessageControl::Control, Exchange::ID_MESSAGE_CONTROL_ITERATOR>>();
392
- RPC::Administrator::Instance().Recall<Exchange::IMessageControl>();
515
+ RPC::Administrator::Instance().Recall<RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>>();
393
516
  }
394
517
  } ProxyStubRegistration;
395
518
 
396
519
  } // namespace
397
520