19 #ifndef INCLUDE_RCF_RCFMETHODGEN_HPP
20 #define INCLUDE_RCF_RCFMETHODGEN_HPP
30 #define RCF_METHOD_R0_INLINE(R,func ) \
31 RCF_METHOD_R0_INLINE_(R,func , RCF_MAKE_UNIQUE_ID(func, R0))
33 #define RCF_METHOD_R0_INLINE_(R,func , id) \
35 RCF_MAKE_NEXT_DISPATCH_ID(id) \
36 ::RCF::FutureImpl<R > func( \
40 ::RCF::CallOptions() \
43 ::RCF::FutureImpl<R > func( \
44 const ::RCF::CallOptions &callOptions \
47 getClientStub().setAsync(false); \
48 return RCF::FutureImpl<R >( \
49 ::RCF::AllocateClientParameters< \
52 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
55 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
59 callOptions.apply(getClientStub()), \
63 const char * getFunctionName(const id &) \
67 const char * getArity(const id &) \
73 template<typename T> \
76 ::RCF::RcfSession &session, \
79 if (session.isInProcess()) \
81 ::RCF::ClientParameters< \
83 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
84 ::RCF::ClientParameters< \
86 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
87 p.r.set( t.func( ) ); \
91 ::RCF::ServerParameters< \
94 ::RCF::AllocateServerParameters< \
98 session.getAutoSend(), \
105 #define RCF_METHOD_R0_DECL(R,func ) \
106 RCF_METHOD_R0_DECL_(R,func , RCF_MAKE_UNIQUE_ID(func, R0))
108 #define RCF_METHOD_R0_DECL_(R,func , id) \
110 RCF_MAKE_NEXT_DISPATCH_ID(id) \
111 ::RCF::FutureImpl<R > func( \
115 ::RCF::CallOptions() \
119 ::RCF::FutureImpl<R > func( \
120 const ::RCF::CallOptions &callOptions \
123 void error__method_defined_out_of_order__##func( \
127 const char * getFunctionName(const id &) \
131 const char * getArity(const id &) \
137 template<typename T> \
140 ::RCF::RcfSession &session, \
143 if (session.isInProcess()) \
145 ::RCF::ClientParameters< \
147 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
148 ::RCF::ClientParameters< \
150 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
151 p.r.set( t.func( ) ); \
155 ::RCF::ServerParameters< \
158 ::RCF::AllocateServerParameters< \
162 session.getAutoSend(), \
169 #define RCF_METHOD_R0_DEF(R,func ) \
170 RCF_METHOD_R0_DEF_(R,func , RCF_PP_CAT(rcf_interface_id_1_, func, R0, __LINE__), RCF_MAKE_UNIQUE_ID(func, R0), RCF_PP_CAT(rcf_interface_id_2_, func, R0, __LINE__))
172 #define RCF_METHOD_R0_DEF_(R,func , interfaceId, funcId, genParms) \
173 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
174 typedef GeneratorParms<interfaceId> genParms; \
175 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
176 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
177 const ::RCF::CallOptions &callOptions \
180 getClientStub().setAsync(false); \
181 return RCF::FutureImpl<R >( \
182 ::RCF::AllocateClientParameters< \
185 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
188 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
192 callOptions.apply(getClientStub()), \
196 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
209 #define RCF_METHOD_V0_INLINE(R,func ) \
210 RCF_METHOD_V0_INLINE_(R,func , RCF_MAKE_UNIQUE_ID(func, V0))
212 #define RCF_METHOD_V0_INLINE_(R,func , id) \
214 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
215 RCF_MAKE_NEXT_DISPATCH_ID(id) \
216 ::RCF::FutureImpl<V> func( \
220 ::RCF::CallOptions() \
223 ::RCF::FutureImpl<V> func( \
224 const ::RCF::CallOptions &callOptions \
227 getClientStub().setAsync(false); \
228 return RCF::FutureImpl<V>( \
229 ::RCF::AllocateClientParameters< \
232 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
235 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
239 callOptions.apply(getClientStub()), \
243 const char * getFunctionName(const id &) \
247 const char * getArity(const id &) \
253 template<typename T> \
256 ::RCF::RcfSession &session, \
259 if (session.isInProcess()) \
261 ::RCF::ClientParameters< \
263 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
264 ::RCF::ClientParameters< \
266 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
267 RCF_UNUSED_VARIABLE(p); \
273 ::RCF::ServerParameters< \
276 ::RCF::AllocateServerParameters< \
279 RCF_UNUSED_VARIABLE(p); \
286 #define RCF_METHOD_V0_DECL(R,func ) \
287 RCF_METHOD_V0_DECL_(R,func , RCF_MAKE_UNIQUE_ID(func, V0))
289 #define RCF_METHOD_V0_DECL_(R,func , id) \
291 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
292 RCF_MAKE_NEXT_DISPATCH_ID(id) \
293 ::RCF::FutureImpl<V> func( \
297 ::RCF::CallOptions() \
301 ::RCF::FutureImpl<V> func( \
302 const ::RCF::CallOptions &callOptions \
305 void error__method_defined_out_of_order__##func( \
309 const char * getFunctionName(const id &) \
313 const char * getArity(const id &) \
319 template<typename T> \
322 ::RCF::RcfSession &session, \
325 if (session.isInProcess()) \
327 ::RCF::ClientParameters< \
329 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
330 ::RCF::ClientParameters< \
332 , V,V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
333 RCF_UNUSED_VARIABLE(p); \
339 ::RCF::ServerParameters< \
342 ::RCF::AllocateServerParameters< \
345 RCF_UNUSED_VARIABLE(p); \
352 #define RCF_METHOD_V0_DEF(R,func ) \
353 RCF_METHOD_V0_DEF_(R,func , RCF_PP_CAT(rcf_interface_id_1_, func, R0, __LINE__), RCF_MAKE_UNIQUE_ID(func, R0), RCF_PP_CAT(rcf_interface_id_2_, func, R0, __LINE__))
355 #define RCF_METHOD_V0_DEF_(R,func , interfaceId, funcId, genParms) \
356 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
357 typedef GeneratorParms<interfaceId> genParms; \
358 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
359 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
360 const ::RCF::CallOptions &callOptions \
363 typedef ::RCF::Void V; \
364 getClientStub().setAsync(false); \
365 return RCF::FutureImpl<V >( \
366 ::RCF::AllocateClientParameters< \
369 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
372 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
376 callOptions.apply(getClientStub()), \
380 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
394 #define RCF_METHOD_R1_INLINE(R,func , A1) \
395 RCF_METHOD_R1_INLINE_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, R1))
397 #define RCF_METHOD_R1_INLINE_(R,func , A1, id) \
399 RCF_MAKE_NEXT_DISPATCH_ID(id) \
400 ::RCF::FutureImpl<R > func( \
401 ::RCF::RemoveOut<A1 >::type a1) \
404 ::RCF::CallOptions() , \
407 ::RCF::FutureImpl<R > func( \
408 const ::RCF::CallOptions &callOptions , \
409 ::RCF::RemoveOut<A1 >::type a1) \
411 getClientStub().setAsync(false); \
412 return RCF::FutureImpl<R >( \
413 ::RCF::AllocateClientParameters< \
416 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
419 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
423 callOptions.apply(getClientStub()), \
427 const char * getFunctionName(const id &) \
431 const char * getArity(const id &) \
437 template<typename T> \
440 ::RCF::RcfSession &session, \
443 if (session.isInProcess()) \
445 ::RCF::ClientParameters< \
447 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
448 ::RCF::ClientParameters< \
450 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
451 p.r.set( t.func( p.a1.get() ) ); \
455 ::RCF::ServerParameters< \
458 ::RCF::AllocateServerParameters< \
462 session.getAutoSend(), \
469 #define RCF_METHOD_R1_DECL(R,func , A1) \
470 RCF_METHOD_R1_DECL_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, R1))
472 #define RCF_METHOD_R1_DECL_(R,func , A1, id) \
474 RCF_MAKE_NEXT_DISPATCH_ID(id) \
475 ::RCF::FutureImpl<R > func( \
476 ::RCF::RemoveOut<A1 >::type a1) \
479 ::RCF::CallOptions() , \
483 ::RCF::FutureImpl<R > func( \
484 const ::RCF::CallOptions &callOptions , \
485 ::RCF::RemoveOut<A1 >::type a1); \
487 void error__method_defined_out_of_order__##func( \
489 ::RCF::RemoveOut<A1 >::type a1); \
491 const char * getFunctionName(const id &) \
495 const char * getArity(const id &) \
501 template<typename T> \
504 ::RCF::RcfSession &session, \
507 if (session.isInProcess()) \
509 ::RCF::ClientParameters< \
511 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
512 ::RCF::ClientParameters< \
514 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
515 p.r.set( t.func( p.a1.get() ) ); \
519 ::RCF::ServerParameters< \
522 ::RCF::AllocateServerParameters< \
526 session.getAutoSend(), \
533 #define RCF_METHOD_R1_DEF(R,func , A1) \
534 RCF_METHOD_R1_DEF_(R,func , A1, RCF_PP_CAT(rcf_interface_id_1_, func, R1, __LINE__), RCF_MAKE_UNIQUE_ID(func, R1), RCF_PP_CAT(rcf_interface_id_2_, func, R1, __LINE__))
536 #define RCF_METHOD_R1_DEF_(R,func , A1, interfaceId, funcId, genParms) \
537 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
538 typedef GeneratorParms<interfaceId> genParms; \
539 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
540 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
541 const ::RCF::CallOptions &callOptions , \
542 ::RCF::RemoveOut<A1 >::type a1) \
544 getClientStub().setAsync(false); \
545 return RCF::FutureImpl<R >( \
546 ::RCF::AllocateClientParameters< \
549 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
552 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
556 callOptions.apply(getClientStub()), \
560 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
562 ::RCF::RemoveOut<A1 >::type a1) \
573 #define RCF_METHOD_V1_INLINE(R,func , A1) \
574 RCF_METHOD_V1_INLINE_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, V1))
576 #define RCF_METHOD_V1_INLINE_(R,func , A1, id) \
578 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
579 RCF_MAKE_NEXT_DISPATCH_ID(id) \
580 ::RCF::FutureImpl<V> func( \
581 ::RCF::RemoveOut<A1 >::type a1) \
584 ::RCF::CallOptions() , \
587 ::RCF::FutureImpl<V> func( \
588 const ::RCF::CallOptions &callOptions , \
589 ::RCF::RemoveOut<A1 >::type a1) \
591 getClientStub().setAsync(false); \
592 return RCF::FutureImpl<V>( \
593 ::RCF::AllocateClientParameters< \
596 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
599 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
603 callOptions.apply(getClientStub()), \
607 const char * getFunctionName(const id &) \
611 const char * getArity(const id &) \
617 template<typename T> \
620 ::RCF::RcfSession &session, \
623 if (session.isInProcess()) \
625 ::RCF::ClientParameters< \
627 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
628 ::RCF::ClientParameters< \
630 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
631 RCF_UNUSED_VARIABLE(p); \
637 ::RCF::ServerParameters< \
640 ::RCF::AllocateServerParameters< \
643 RCF_UNUSED_VARIABLE(p); \
650 #define RCF_METHOD_V1_DECL(R,func , A1) \
651 RCF_METHOD_V1_DECL_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, V1))
653 #define RCF_METHOD_V1_DECL_(R,func , A1, id) \
655 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
656 RCF_MAKE_NEXT_DISPATCH_ID(id) \
657 ::RCF::FutureImpl<V> func( \
658 ::RCF::RemoveOut<A1 >::type a1) \
661 ::RCF::CallOptions() , \
665 ::RCF::FutureImpl<V> func( \
666 const ::RCF::CallOptions &callOptions , \
667 ::RCF::RemoveOut<A1 >::type a1); \
669 void error__method_defined_out_of_order__##func( \
671 ::RCF::RemoveOut<A1 >::type a1); \
673 const char * getFunctionName(const id &) \
677 const char * getArity(const id &) \
683 template<typename T> \
686 ::RCF::RcfSession &session, \
689 if (session.isInProcess()) \
691 ::RCF::ClientParameters< \
693 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
694 ::RCF::ClientParameters< \
696 A1 , V,V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
697 RCF_UNUSED_VARIABLE(p); \
703 ::RCF::ServerParameters< \
706 ::RCF::AllocateServerParameters< \
709 RCF_UNUSED_VARIABLE(p); \
716 #define RCF_METHOD_V1_DEF(R,func , A1) \
717 RCF_METHOD_V1_DEF_(R,func , A1, RCF_PP_CAT(rcf_interface_id_1_, func, R1, __LINE__), RCF_MAKE_UNIQUE_ID(func, R1), RCF_PP_CAT(rcf_interface_id_2_, func, R1, __LINE__))
719 #define RCF_METHOD_V1_DEF_(R,func , A1, interfaceId, funcId, genParms) \
720 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
721 typedef GeneratorParms<interfaceId> genParms; \
722 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
723 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
724 const ::RCF::CallOptions &callOptions , \
725 ::RCF::RemoveOut<A1 >::type a1) \
727 typedef ::RCF::Void V; \
728 getClientStub().setAsync(false); \
729 return RCF::FutureImpl<V >( \
730 ::RCF::AllocateClientParameters< \
733 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
736 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
740 callOptions.apply(getClientStub()), \
744 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
746 ::RCF::RemoveOut<A1 >::type a1) \
758 #define RCF_METHOD_R2_INLINE(R,func , A1,A2) \
759 RCF_METHOD_R2_INLINE_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, R2))
761 #define RCF_METHOD_R2_INLINE_(R,func , A1,A2, id) \
763 RCF_MAKE_NEXT_DISPATCH_ID(id) \
764 ::RCF::FutureImpl<R > func( \
765 ::RCF::RemoveOut<A1 >::type a1, \
766 ::RCF::RemoveOut<A2 >::type a2) \
769 ::RCF::CallOptions() , \
772 ::RCF::FutureImpl<R > func( \
773 const ::RCF::CallOptions &callOptions , \
774 ::RCF::RemoveOut<A1 >::type a1, \
775 ::RCF::RemoveOut<A2 >::type a2) \
777 getClientStub().setAsync(false); \
778 return RCF::FutureImpl<R >( \
779 ::RCF::AllocateClientParameters< \
782 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
785 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
789 callOptions.apply(getClientStub()), \
793 const char * getFunctionName(const id &) \
797 const char * getArity(const id &) \
803 template<typename T> \
806 ::RCF::RcfSession &session, \
809 if (session.isInProcess()) \
811 ::RCF::ClientParameters< \
813 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
814 ::RCF::ClientParameters< \
816 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
817 p.r.set( t.func( p.a1.get(), \
822 ::RCF::ServerParameters< \
825 ::RCF::AllocateServerParameters< \
827 A1,A2 >()(session); \
829 session.getAutoSend(), \
837 #define RCF_METHOD_R2_DECL(R,func , A1,A2) \
838 RCF_METHOD_R2_DECL_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, R2))
840 #define RCF_METHOD_R2_DECL_(R,func , A1,A2, id) \
842 RCF_MAKE_NEXT_DISPATCH_ID(id) \
843 ::RCF::FutureImpl<R > func( \
844 ::RCF::RemoveOut<A1 >::type a1, \
845 ::RCF::RemoveOut<A2 >::type a2) \
848 ::RCF::CallOptions() , \
852 ::RCF::FutureImpl<R > func( \
853 const ::RCF::CallOptions &callOptions , \
854 ::RCF::RemoveOut<A1 >::type a1, \
855 ::RCF::RemoveOut<A2 >::type a2); \
857 void error__method_defined_out_of_order__##func( \
859 ::RCF::RemoveOut<A1 >::type a1, \
860 ::RCF::RemoveOut<A2 >::type a2); \
862 const char * getFunctionName(const id &) \
866 const char * getArity(const id &) \
872 template<typename T> \
875 ::RCF::RcfSession &session, \
878 if (session.isInProcess()) \
880 ::RCF::ClientParameters< \
882 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
883 ::RCF::ClientParameters< \
885 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
886 p.r.set( t.func( p.a1.get(), \
891 ::RCF::ServerParameters< \
894 ::RCF::AllocateServerParameters< \
896 A1,A2 >()(session); \
898 session.getAutoSend(), \
906 #define RCF_METHOD_R2_DEF(R,func , A1,A2) \
907 RCF_METHOD_R2_DEF_(R,func , A1,A2, RCF_PP_CAT(rcf_interface_id_1_, func, R2, __LINE__), RCF_MAKE_UNIQUE_ID(func, R2), RCF_PP_CAT(rcf_interface_id_2_, func, R2, __LINE__))
909 #define RCF_METHOD_R2_DEF_(R,func , A1,A2, interfaceId, funcId, genParms) \
910 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
911 typedef GeneratorParms<interfaceId> genParms; \
912 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
913 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
914 const ::RCF::CallOptions &callOptions , \
915 ::RCF::RemoveOut<A1 >::type a1, \
916 ::RCF::RemoveOut<A2 >::type a2) \
918 getClientStub().setAsync(false); \
919 return RCF::FutureImpl<R >( \
920 ::RCF::AllocateClientParameters< \
923 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
926 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
930 callOptions.apply(getClientStub()), \
934 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
936 ::RCF::RemoveOut<A1 >::type a1, \
937 ::RCF::RemoveOut<A2 >::type a2) \
948 #define RCF_METHOD_V2_INLINE(R,func , A1,A2) \
949 RCF_METHOD_V2_INLINE_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, V2))
951 #define RCF_METHOD_V2_INLINE_(R,func , A1,A2, id) \
953 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
954 RCF_MAKE_NEXT_DISPATCH_ID(id) \
955 ::RCF::FutureImpl<V> func( \
956 ::RCF::RemoveOut<A1 >::type a1, \
957 ::RCF::RemoveOut<A2 >::type a2) \
960 ::RCF::CallOptions() , \
963 ::RCF::FutureImpl<V> func( \
964 const ::RCF::CallOptions &callOptions , \
965 ::RCF::RemoveOut<A1 >::type a1, \
966 ::RCF::RemoveOut<A2 >::type a2) \
968 getClientStub().setAsync(false); \
969 return RCF::FutureImpl<V>( \
970 ::RCF::AllocateClientParameters< \
973 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
976 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
980 callOptions.apply(getClientStub()), \
984 const char * getFunctionName(const id &) \
988 const char * getArity(const id &) \
994 template<typename T> \
997 ::RCF::RcfSession &session, \
1000 if (session.isInProcess()) \
1002 ::RCF::ClientParameters< \
1004 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
1005 ::RCF::ClientParameters< \
1007 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1008 RCF_UNUSED_VARIABLE(p); \
1015 ::RCF::ServerParameters< \
1018 ::RCF::AllocateServerParameters< \
1020 A1,A2 >()(session); \
1021 RCF_UNUSED_VARIABLE(p); \
1029 #define RCF_METHOD_V2_DECL(R,func , A1,A2) \
1030 RCF_METHOD_V2_DECL_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, V2))
1032 #define RCF_METHOD_V2_DECL_(R,func , A1,A2, id) \
1034 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1035 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1036 ::RCF::FutureImpl<V> func( \
1037 ::RCF::RemoveOut<A1 >::type a1, \
1038 ::RCF::RemoveOut<A2 >::type a2) \
1041 ::RCF::CallOptions() , \
1045 ::RCF::FutureImpl<V> func( \
1046 const ::RCF::CallOptions &callOptions , \
1047 ::RCF::RemoveOut<A1 >::type a1, \
1048 ::RCF::RemoveOut<A2 >::type a2); \
1050 void error__method_defined_out_of_order__##func( \
1052 ::RCF::RemoveOut<A1 >::type a1, \
1053 ::RCF::RemoveOut<A2 >::type a2); \
1055 const char * getFunctionName(const id &) \
1059 const char * getArity(const id &) \
1065 template<typename T> \
1068 ::RCF::RcfSession &session, \
1071 if (session.isInProcess()) \
1073 ::RCF::ClientParameters< \
1075 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast< \
1076 ::RCF::ClientParameters< \
1078 A1,A2 , V,V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1079 RCF_UNUSED_VARIABLE(p); \
1086 ::RCF::ServerParameters< \
1089 ::RCF::AllocateServerParameters< \
1091 A1,A2 >()(session); \
1092 RCF_UNUSED_VARIABLE(p); \
1100 #define RCF_METHOD_V2_DEF(R,func , A1,A2) \
1101 RCF_METHOD_V2_DEF_(R,func , A1,A2, RCF_PP_CAT(rcf_interface_id_1_, func, R2, __LINE__), RCF_MAKE_UNIQUE_ID(func, R2), RCF_PP_CAT(rcf_interface_id_2_, func, R2, __LINE__))
1103 #define RCF_METHOD_V2_DEF_(R,func , A1,A2, interfaceId, funcId, genParms) \
1104 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1105 typedef GeneratorParms<interfaceId> genParms; \
1106 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1107 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
1108 const ::RCF::CallOptions &callOptions , \
1109 ::RCF::RemoveOut<A1 >::type a1, \
1110 ::RCF::RemoveOut<A2 >::type a2) \
1112 typedef ::RCF::Void V; \
1113 getClientStub().setAsync(false); \
1114 return RCF::FutureImpl<V >( \
1115 ::RCF::AllocateClientParameters< \
1118 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
1121 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1125 callOptions.apply(getClientStub()), \
1129 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1131 ::RCF::RemoveOut<A1 >::type a1, \
1132 ::RCF::RemoveOut<A2 >::type a2) \
1144 #define RCF_METHOD_R3_INLINE(R,func , A1,A2,A3) \
1145 RCF_METHOD_R3_INLINE_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, R3))
1147 #define RCF_METHOD_R3_INLINE_(R,func , A1,A2,A3, id) \
1149 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1150 ::RCF::FutureImpl<R > func( \
1151 ::RCF::RemoveOut<A1 >::type a1, \
1152 ::RCF::RemoveOut<A2 >::type a2, \
1153 ::RCF::RemoveOut<A3 >::type a3) \
1156 ::RCF::CallOptions() , \
1159 ::RCF::FutureImpl<R > func( \
1160 const ::RCF::CallOptions &callOptions , \
1161 ::RCF::RemoveOut<A1 >::type a1, \
1162 ::RCF::RemoveOut<A2 >::type a2, \
1163 ::RCF::RemoveOut<A3 >::type a3) \
1165 getClientStub().setAsync(false); \
1166 return RCF::FutureImpl<R >( \
1167 ::RCF::AllocateClientParameters< \
1170 V,V,V,V,V,V,V,V,V,V,V,V >()( \
1173 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1177 callOptions.apply(getClientStub()), \
1181 const char * getFunctionName(const id &) \
1185 const char * getArity(const id &) \
1191 template<typename T> \
1194 ::RCF::RcfSession &session, \
1197 if (session.isInProcess()) \
1199 ::RCF::ClientParameters< \
1201 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1202 ::RCF::ClientParameters< \
1204 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1205 p.r.set( t.func( p.a1.get(), \
1211 ::RCF::ServerParameters< \
1214 ::RCF::AllocateServerParameters< \
1216 A1,A2,A3 >()(session); \
1218 session.getAutoSend(), \
1227 #define RCF_METHOD_R3_DECL(R,func , A1,A2,A3) \
1228 RCF_METHOD_R3_DECL_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, R3))
1230 #define RCF_METHOD_R3_DECL_(R,func , A1,A2,A3, id) \
1232 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1233 ::RCF::FutureImpl<R > func( \
1234 ::RCF::RemoveOut<A1 >::type a1, \
1235 ::RCF::RemoveOut<A2 >::type a2, \
1236 ::RCF::RemoveOut<A3 >::type a3) \
1239 ::RCF::CallOptions() , \
1243 ::RCF::FutureImpl<R > func( \
1244 const ::RCF::CallOptions &callOptions , \
1245 ::RCF::RemoveOut<A1 >::type a1, \
1246 ::RCF::RemoveOut<A2 >::type a2, \
1247 ::RCF::RemoveOut<A3 >::type a3); \
1249 void error__method_defined_out_of_order__##func( \
1251 ::RCF::RemoveOut<A1 >::type a1, \
1252 ::RCF::RemoveOut<A2 >::type a2, \
1253 ::RCF::RemoveOut<A3 >::type a3); \
1255 const char * getFunctionName(const id &) \
1259 const char * getArity(const id &) \
1265 template<typename T> \
1268 ::RCF::RcfSession &session, \
1271 if (session.isInProcess()) \
1273 ::RCF::ClientParameters< \
1275 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1276 ::RCF::ClientParameters< \
1278 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1279 p.r.set( t.func( p.a1.get(), \
1285 ::RCF::ServerParameters< \
1288 ::RCF::AllocateServerParameters< \
1290 A1,A2,A3 >()(session); \
1292 session.getAutoSend(), \
1301 #define RCF_METHOD_R3_DEF(R,func , A1,A2,A3) \
1302 RCF_METHOD_R3_DEF_(R,func , A1,A2,A3, RCF_PP_CAT(rcf_interface_id_1_, func, R3, __LINE__), RCF_MAKE_UNIQUE_ID(func, R3), RCF_PP_CAT(rcf_interface_id_2_, func, R3, __LINE__))
1304 #define RCF_METHOD_R3_DEF_(R,func , A1,A2,A3, interfaceId, funcId, genParms) \
1305 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1306 typedef GeneratorParms<interfaceId> genParms; \
1307 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1308 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
1309 const ::RCF::CallOptions &callOptions , \
1310 ::RCF::RemoveOut<A1 >::type a1, \
1311 ::RCF::RemoveOut<A2 >::type a2, \
1312 ::RCF::RemoveOut<A3 >::type a3) \
1314 getClientStub().setAsync(false); \
1315 return RCF::FutureImpl<R >( \
1316 ::RCF::AllocateClientParameters< \
1319 V,V,V,V,V,V,V,V,V,V,V,V >()( \
1322 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1326 callOptions.apply(getClientStub()), \
1330 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1332 ::RCF::RemoveOut<A1 >::type a1, \
1333 ::RCF::RemoveOut<A2 >::type a2, \
1334 ::RCF::RemoveOut<A3 >::type a3) \
1345 #define RCF_METHOD_V3_INLINE(R,func , A1,A2,A3) \
1346 RCF_METHOD_V3_INLINE_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, V3))
1348 #define RCF_METHOD_V3_INLINE_(R,func , A1,A2,A3, id) \
1350 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1351 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1352 ::RCF::FutureImpl<V> func( \
1353 ::RCF::RemoveOut<A1 >::type a1, \
1354 ::RCF::RemoveOut<A2 >::type a2, \
1355 ::RCF::RemoveOut<A3 >::type a3) \
1358 ::RCF::CallOptions() , \
1361 ::RCF::FutureImpl<V> func( \
1362 const ::RCF::CallOptions &callOptions , \
1363 ::RCF::RemoveOut<A1 >::type a1, \
1364 ::RCF::RemoveOut<A2 >::type a2, \
1365 ::RCF::RemoveOut<A3 >::type a3) \
1367 getClientStub().setAsync(false); \
1368 return RCF::FutureImpl<V>( \
1369 ::RCF::AllocateClientParameters< \
1372 V,V,V,V,V,V,V,V,V,V,V,V >()( \
1375 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1379 callOptions.apply(getClientStub()), \
1383 const char * getFunctionName(const id &) \
1387 const char * getArity(const id &) \
1393 template<typename T> \
1396 ::RCF::RcfSession &session, \
1399 if (session.isInProcess()) \
1401 ::RCF::ClientParameters< \
1403 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1404 ::RCF::ClientParameters< \
1406 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1407 RCF_UNUSED_VARIABLE(p); \
1415 ::RCF::ServerParameters< \
1418 ::RCF::AllocateServerParameters< \
1420 A1,A2,A3 >()(session); \
1421 RCF_UNUSED_VARIABLE(p); \
1430 #define RCF_METHOD_V3_DECL(R,func , A1,A2,A3) \
1431 RCF_METHOD_V3_DECL_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, V3))
1433 #define RCF_METHOD_V3_DECL_(R,func , A1,A2,A3, id) \
1435 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1436 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1437 ::RCF::FutureImpl<V> func( \
1438 ::RCF::RemoveOut<A1 >::type a1, \
1439 ::RCF::RemoveOut<A2 >::type a2, \
1440 ::RCF::RemoveOut<A3 >::type a3) \
1443 ::RCF::CallOptions() , \
1447 ::RCF::FutureImpl<V> func( \
1448 const ::RCF::CallOptions &callOptions , \
1449 ::RCF::RemoveOut<A1 >::type a1, \
1450 ::RCF::RemoveOut<A2 >::type a2, \
1451 ::RCF::RemoveOut<A3 >::type a3); \
1453 void error__method_defined_out_of_order__##func( \
1455 ::RCF::RemoveOut<A1 >::type a1, \
1456 ::RCF::RemoveOut<A2 >::type a2, \
1457 ::RCF::RemoveOut<A3 >::type a3); \
1459 const char * getFunctionName(const id &) \
1463 const char * getArity(const id &) \
1469 template<typename T> \
1472 ::RCF::RcfSession &session, \
1475 if (session.isInProcess()) \
1477 ::RCF::ClientParameters< \
1479 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1480 ::RCF::ClientParameters< \
1482 A1,A2,A3 , V,V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1483 RCF_UNUSED_VARIABLE(p); \
1491 ::RCF::ServerParameters< \
1494 ::RCF::AllocateServerParameters< \
1496 A1,A2,A3 >()(session); \
1497 RCF_UNUSED_VARIABLE(p); \
1506 #define RCF_METHOD_V3_DEF(R,func , A1,A2,A3) \
1507 RCF_METHOD_V3_DEF_(R,func , A1,A2,A3, RCF_PP_CAT(rcf_interface_id_1_, func, R3, __LINE__), RCF_MAKE_UNIQUE_ID(func, R3), RCF_PP_CAT(rcf_interface_id_2_, func, R3, __LINE__))
1509 #define RCF_METHOD_V3_DEF_(R,func , A1,A2,A3, interfaceId, funcId, genParms) \
1510 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1511 typedef GeneratorParms<interfaceId> genParms; \
1512 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1513 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
1514 const ::RCF::CallOptions &callOptions , \
1515 ::RCF::RemoveOut<A1 >::type a1, \
1516 ::RCF::RemoveOut<A2 >::type a2, \
1517 ::RCF::RemoveOut<A3 >::type a3) \
1519 typedef ::RCF::Void V; \
1520 getClientStub().setAsync(false); \
1521 return RCF::FutureImpl<V >( \
1522 ::RCF::AllocateClientParameters< \
1525 V,V,V,V,V,V,V,V,V,V,V,V >()( \
1528 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1532 callOptions.apply(getClientStub()), \
1536 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1538 ::RCF::RemoveOut<A1 >::type a1, \
1539 ::RCF::RemoveOut<A2 >::type a2, \
1540 ::RCF::RemoveOut<A3 >::type a3) \
1552 #define RCF_METHOD_R4_INLINE(R,func , A1,A2,A3,A4) \
1553 RCF_METHOD_R4_INLINE_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, R4))
1555 #define RCF_METHOD_R4_INLINE_(R,func , A1,A2,A3,A4, id) \
1557 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1558 ::RCF::FutureImpl<R > func( \
1559 ::RCF::RemoveOut<A1 >::type a1, \
1560 ::RCF::RemoveOut<A2 >::type a2, \
1561 ::RCF::RemoveOut<A3 >::type a3, \
1562 ::RCF::RemoveOut<A4 >::type a4) \
1565 ::RCF::CallOptions() , \
1568 ::RCF::FutureImpl<R > func( \
1569 const ::RCF::CallOptions &callOptions , \
1570 ::RCF::RemoveOut<A1 >::type a1, \
1571 ::RCF::RemoveOut<A2 >::type a2, \
1572 ::RCF::RemoveOut<A3 >::type a3, \
1573 ::RCF::RemoveOut<A4 >::type a4) \
1575 getClientStub().setAsync(false); \
1576 return RCF::FutureImpl<R >( \
1577 ::RCF::AllocateClientParameters< \
1580 V,V,V,V,V,V,V,V,V,V,V >()( \
1583 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1587 callOptions.apply(getClientStub()), \
1591 const char * getFunctionName(const id &) \
1595 const char * getArity(const id &) \
1601 template<typename T> \
1604 ::RCF::RcfSession &session, \
1607 if (session.isInProcess()) \
1609 ::RCF::ClientParameters< \
1611 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1612 ::RCF::ClientParameters< \
1614 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1615 p.r.set( t.func( p.a1.get(), \
1622 ::RCF::ServerParameters< \
1624 A1,A2,A3,A4 > &p = \
1625 ::RCF::AllocateServerParameters< \
1627 A1,A2,A3,A4 >()(session); \
1629 session.getAutoSend(), \
1639 #define RCF_METHOD_R4_DECL(R,func , A1,A2,A3,A4) \
1640 RCF_METHOD_R4_DECL_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, R4))
1642 #define RCF_METHOD_R4_DECL_(R,func , A1,A2,A3,A4, id) \
1644 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1645 ::RCF::FutureImpl<R > func( \
1646 ::RCF::RemoveOut<A1 >::type a1, \
1647 ::RCF::RemoveOut<A2 >::type a2, \
1648 ::RCF::RemoveOut<A3 >::type a3, \
1649 ::RCF::RemoveOut<A4 >::type a4) \
1652 ::RCF::CallOptions() , \
1656 ::RCF::FutureImpl<R > func( \
1657 const ::RCF::CallOptions &callOptions , \
1658 ::RCF::RemoveOut<A1 >::type a1, \
1659 ::RCF::RemoveOut<A2 >::type a2, \
1660 ::RCF::RemoveOut<A3 >::type a3, \
1661 ::RCF::RemoveOut<A4 >::type a4); \
1663 void error__method_defined_out_of_order__##func( \
1665 ::RCF::RemoveOut<A1 >::type a1, \
1666 ::RCF::RemoveOut<A2 >::type a2, \
1667 ::RCF::RemoveOut<A3 >::type a3, \
1668 ::RCF::RemoveOut<A4 >::type a4); \
1670 const char * getFunctionName(const id &) \
1674 const char * getArity(const id &) \
1680 template<typename T> \
1683 ::RCF::RcfSession &session, \
1686 if (session.isInProcess()) \
1688 ::RCF::ClientParameters< \
1690 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1691 ::RCF::ClientParameters< \
1693 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1694 p.r.set( t.func( p.a1.get(), \
1701 ::RCF::ServerParameters< \
1703 A1,A2,A3,A4 > &p = \
1704 ::RCF::AllocateServerParameters< \
1706 A1,A2,A3,A4 >()(session); \
1708 session.getAutoSend(), \
1718 #define RCF_METHOD_R4_DEF(R,func , A1,A2,A3,A4) \
1719 RCF_METHOD_R4_DEF_(R,func , A1,A2,A3,A4, RCF_PP_CAT(rcf_interface_id_1_, func, R4, __LINE__), RCF_MAKE_UNIQUE_ID(func, R4), RCF_PP_CAT(rcf_interface_id_2_, func, R4, __LINE__))
1721 #define RCF_METHOD_R4_DEF_(R,func , A1,A2,A3,A4, interfaceId, funcId, genParms)\
1722 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1723 typedef GeneratorParms<interfaceId> genParms; \
1724 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1725 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
1726 const ::RCF::CallOptions &callOptions , \
1727 ::RCF::RemoveOut<A1 >::type a1, \
1728 ::RCF::RemoveOut<A2 >::type a2, \
1729 ::RCF::RemoveOut<A3 >::type a3, \
1730 ::RCF::RemoveOut<A4 >::type a4) \
1732 getClientStub().setAsync(false); \
1733 return RCF::FutureImpl<R >( \
1734 ::RCF::AllocateClientParameters< \
1737 V,V,V,V,V,V,V,V,V,V,V >()( \
1740 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1744 callOptions.apply(getClientStub()), \
1748 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1750 ::RCF::RemoveOut<A1 >::type a1, \
1751 ::RCF::RemoveOut<A2 >::type a2, \
1752 ::RCF::RemoveOut<A3 >::type a3, \
1753 ::RCF::RemoveOut<A4 >::type a4) \
1764 #define RCF_METHOD_V4_INLINE(R,func , A1,A2,A3,A4) \
1765 RCF_METHOD_V4_INLINE_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, V4))
1767 #define RCF_METHOD_V4_INLINE_(R,func , A1,A2,A3,A4, id) \
1769 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1770 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1771 ::RCF::FutureImpl<V> func( \
1772 ::RCF::RemoveOut<A1 >::type a1, \
1773 ::RCF::RemoveOut<A2 >::type a2, \
1774 ::RCF::RemoveOut<A3 >::type a3, \
1775 ::RCF::RemoveOut<A4 >::type a4) \
1778 ::RCF::CallOptions() , \
1781 ::RCF::FutureImpl<V> func( \
1782 const ::RCF::CallOptions &callOptions , \
1783 ::RCF::RemoveOut<A1 >::type a1, \
1784 ::RCF::RemoveOut<A2 >::type a2, \
1785 ::RCF::RemoveOut<A3 >::type a3, \
1786 ::RCF::RemoveOut<A4 >::type a4) \
1788 getClientStub().setAsync(false); \
1789 return RCF::FutureImpl<V>( \
1790 ::RCF::AllocateClientParameters< \
1793 V,V,V,V,V,V,V,V,V,V,V >()( \
1796 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1800 callOptions.apply(getClientStub()), \
1804 const char * getFunctionName(const id &) \
1808 const char * getArity(const id &) \
1814 template<typename T> \
1817 ::RCF::RcfSession &session, \
1820 if (session.isInProcess()) \
1822 ::RCF::ClientParameters< \
1824 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1825 ::RCF::ClientParameters< \
1827 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1828 RCF_UNUSED_VARIABLE(p); \
1837 ::RCF::ServerParameters< \
1839 A1,A2,A3,A4 > &p = \
1840 ::RCF::AllocateServerParameters< \
1842 A1,A2,A3,A4 >()(session); \
1843 RCF_UNUSED_VARIABLE(p); \
1853 #define RCF_METHOD_V4_DECL(R,func , A1,A2,A3,A4) \
1854 RCF_METHOD_V4_DECL_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, V4))
1856 #define RCF_METHOD_V4_DECL_(R,func , A1,A2,A3,A4, id) \
1858 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1859 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1860 ::RCF::FutureImpl<V> func( \
1861 ::RCF::RemoveOut<A1 >::type a1, \
1862 ::RCF::RemoveOut<A2 >::type a2, \
1863 ::RCF::RemoveOut<A3 >::type a3, \
1864 ::RCF::RemoveOut<A4 >::type a4) \
1867 ::RCF::CallOptions() , \
1871 ::RCF::FutureImpl<V> func( \
1872 const ::RCF::CallOptions &callOptions , \
1873 ::RCF::RemoveOut<A1 >::type a1, \
1874 ::RCF::RemoveOut<A2 >::type a2, \
1875 ::RCF::RemoveOut<A3 >::type a3, \
1876 ::RCF::RemoveOut<A4 >::type a4); \
1878 void error__method_defined_out_of_order__##func( \
1880 ::RCF::RemoveOut<A1 >::type a1, \
1881 ::RCF::RemoveOut<A2 >::type a2, \
1882 ::RCF::RemoveOut<A3 >::type a3, \
1883 ::RCF::RemoveOut<A4 >::type a4); \
1885 const char * getFunctionName(const id &) \
1889 const char * getArity(const id &) \
1895 template<typename T> \
1898 ::RCF::RcfSession &session, \
1901 if (session.isInProcess()) \
1903 ::RCF::ClientParameters< \
1905 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
1906 ::RCF::ClientParameters< \
1908 A1,A2,A3,A4 , V,V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
1909 RCF_UNUSED_VARIABLE(p); \
1918 ::RCF::ServerParameters< \
1920 A1,A2,A3,A4 > &p = \
1921 ::RCF::AllocateServerParameters< \
1923 A1,A2,A3,A4 >()(session); \
1924 RCF_UNUSED_VARIABLE(p); \
1934 #define RCF_METHOD_V4_DEF(R,func , A1,A2,A3,A4) \
1935 RCF_METHOD_V4_DEF_(R,func , A1,A2,A3,A4, RCF_PP_CAT(rcf_interface_id_1_, func, R4, __LINE__), RCF_MAKE_UNIQUE_ID(func, R4), RCF_PP_CAT(rcf_interface_id_2_, func, R4, __LINE__))
1937 #define RCF_METHOD_V4_DEF_(R,func , A1,A2,A3,A4, interfaceId, funcId, genParms)\
1938 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1939 typedef GeneratorParms<interfaceId> genParms; \
1940 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1941 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
1942 const ::RCF::CallOptions &callOptions , \
1943 ::RCF::RemoveOut<A1 >::type a1, \
1944 ::RCF::RemoveOut<A2 >::type a2, \
1945 ::RCF::RemoveOut<A3 >::type a3, \
1946 ::RCF::RemoveOut<A4 >::type a4) \
1948 typedef ::RCF::Void V; \
1949 getClientStub().setAsync(false); \
1950 return RCF::FutureImpl<V >( \
1951 ::RCF::AllocateClientParameters< \
1954 V,V,V,V,V,V,V,V,V,V,V >()( \
1957 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1961 callOptions.apply(getClientStub()), \
1965 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1967 ::RCF::RemoveOut<A1 >::type a1, \
1968 ::RCF::RemoveOut<A2 >::type a2, \
1969 ::RCF::RemoveOut<A3 >::type a3, \
1970 ::RCF::RemoveOut<A4 >::type a4) \
1982 #define RCF_METHOD_R5_INLINE(R,func , A1,A2,A3,A4,A5) \
1983 RCF_METHOD_R5_INLINE_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, R5))
1985 #define RCF_METHOD_R5_INLINE_(R,func , A1,A2,A3,A4,A5, id) \
1987 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1988 ::RCF::FutureImpl<R > func( \
1989 ::RCF::RemoveOut<A1 >::type a1, \
1990 ::RCF::RemoveOut<A2 >::type a2, \
1991 ::RCF::RemoveOut<A3 >::type a3, \
1992 ::RCF::RemoveOut<A4 >::type a4, \
1993 ::RCF::RemoveOut<A5 >::type a5) \
1996 ::RCF::CallOptions() , \
1999 ::RCF::FutureImpl<R > func( \
2000 const ::RCF::CallOptions &callOptions , \
2001 ::RCF::RemoveOut<A1 >::type a1, \
2002 ::RCF::RemoveOut<A2 >::type a2, \
2003 ::RCF::RemoveOut<A3 >::type a3, \
2004 ::RCF::RemoveOut<A4 >::type a4, \
2005 ::RCF::RemoveOut<A5 >::type a5) \
2007 getClientStub().setAsync(false); \
2008 return RCF::FutureImpl<R >( \
2009 ::RCF::AllocateClientParameters< \
2012 V,V,V,V,V,V,V,V,V,V >()( \
2015 V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2019 callOptions.apply(getClientStub()), \
2023 const char * getFunctionName(const id &) \
2027 const char * getArity(const id &) \
2033 template<typename T> \
2036 ::RCF::RcfSession &session, \
2039 if (session.isInProcess()) \
2041 ::RCF::ClientParameters< \
2043 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
2044 ::RCF::ClientParameters< \
2046 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2047 p.r.set( t.func( p.a1.get(), \
2055 ::RCF::ServerParameters< \
2057 A1,A2,A3,A4,A5 > &p = \
2058 ::RCF::AllocateServerParameters< \
2060 A1,A2,A3,A4,A5 >()(session); \
2062 session.getAutoSend(), \
2073 #define RCF_METHOD_R5_DECL(R,func , A1,A2,A3,A4,A5) \
2074 RCF_METHOD_R5_DECL_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, R5))
2076 #define RCF_METHOD_R5_DECL_(R,func , A1,A2,A3,A4,A5, id) \
2078 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2079 ::RCF::FutureImpl<R > func( \
2080 ::RCF::RemoveOut<A1 >::type a1, \
2081 ::RCF::RemoveOut<A2 >::type a2, \
2082 ::RCF::RemoveOut<A3 >::type a3, \
2083 ::RCF::RemoveOut<A4 >::type a4, \
2084 ::RCF::RemoveOut<A5 >::type a5) \
2087 ::RCF::CallOptions() , \
2091 ::RCF::FutureImpl<R > func( \
2092 const ::RCF::CallOptions &callOptions , \
2093 ::RCF::RemoveOut<A1 >::type a1, \
2094 ::RCF::RemoveOut<A2 >::type a2, \
2095 ::RCF::RemoveOut<A3 >::type a3, \
2096 ::RCF::RemoveOut<A4 >::type a4, \
2097 ::RCF::RemoveOut<A5 >::type a5); \
2099 void error__method_defined_out_of_order__##func( \
2101 ::RCF::RemoveOut<A1 >::type a1, \
2102 ::RCF::RemoveOut<A2 >::type a2, \
2103 ::RCF::RemoveOut<A3 >::type a3, \
2104 ::RCF::RemoveOut<A4 >::type a4, \
2105 ::RCF::RemoveOut<A5 >::type a5); \
2107 const char * getFunctionName(const id &) \
2111 const char * getArity(const id &) \
2117 template<typename T> \
2120 ::RCF::RcfSession &session, \
2123 if (session.isInProcess()) \
2125 ::RCF::ClientParameters< \
2127 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
2128 ::RCF::ClientParameters< \
2130 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2131 p.r.set( t.func( p.a1.get(), \
2139 ::RCF::ServerParameters< \
2141 A1,A2,A3,A4,A5 > &p = \
2142 ::RCF::AllocateServerParameters< \
2144 A1,A2,A3,A4,A5 >()(session); \
2146 session.getAutoSend(), \
2157 #define RCF_METHOD_R5_DEF(R,func , A1,A2,A3,A4,A5) \
2158 RCF_METHOD_R5_DEF_(R,func , A1,A2,A3,A4,A5, RCF_PP_CAT(rcf_interface_id_1_, func, R5, __LINE__), RCF_MAKE_UNIQUE_ID(func, R5), RCF_PP_CAT(rcf_interface_id_2_, func, R5, __LINE__))
2160 #define RCF_METHOD_R5_DEF_(R,func , A1,A2,A3,A4,A5, interfaceId, funcId, genParms)\
2161 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2162 typedef GeneratorParms<interfaceId> genParms; \
2163 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2164 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
2165 const ::RCF::CallOptions &callOptions , \
2166 ::RCF::RemoveOut<A1 >::type a1, \
2167 ::RCF::RemoveOut<A2 >::type a2, \
2168 ::RCF::RemoveOut<A3 >::type a3, \
2169 ::RCF::RemoveOut<A4 >::type a4, \
2170 ::RCF::RemoveOut<A5 >::type a5) \
2172 getClientStub().setAsync(false); \
2173 return RCF::FutureImpl<R >( \
2174 ::RCF::AllocateClientParameters< \
2177 V,V,V,V,V,V,V,V,V,V >()( \
2180 V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2184 callOptions.apply(getClientStub()), \
2188 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2190 ::RCF::RemoveOut<A1 >::type a1, \
2191 ::RCF::RemoveOut<A2 >::type a2, \
2192 ::RCF::RemoveOut<A3 >::type a3, \
2193 ::RCF::RemoveOut<A4 >::type a4, \
2194 ::RCF::RemoveOut<A5 >::type a5) \
2205 #define RCF_METHOD_V5_INLINE(R,func , A1,A2,A3,A4,A5) \
2206 RCF_METHOD_V5_INLINE_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, V5))
2208 #define RCF_METHOD_V5_INLINE_(R,func , A1,A2,A3,A4,A5, id) \
2210 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2211 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2212 ::RCF::FutureImpl<V> func( \
2213 ::RCF::RemoveOut<A1 >::type a1, \
2214 ::RCF::RemoveOut<A2 >::type a2, \
2215 ::RCF::RemoveOut<A3 >::type a3, \
2216 ::RCF::RemoveOut<A4 >::type a4, \
2217 ::RCF::RemoveOut<A5 >::type a5) \
2220 ::RCF::CallOptions() , \
2223 ::RCF::FutureImpl<V> func( \
2224 const ::RCF::CallOptions &callOptions , \
2225 ::RCF::RemoveOut<A1 >::type a1, \
2226 ::RCF::RemoveOut<A2 >::type a2, \
2227 ::RCF::RemoveOut<A3 >::type a3, \
2228 ::RCF::RemoveOut<A4 >::type a4, \
2229 ::RCF::RemoveOut<A5 >::type a5) \
2231 getClientStub().setAsync(false); \
2232 return RCF::FutureImpl<V>( \
2233 ::RCF::AllocateClientParameters< \
2236 V,V,V,V,V,V,V,V,V,V >()( \
2239 V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2243 callOptions.apply(getClientStub()), \
2247 const char * getFunctionName(const id &) \
2251 const char * getArity(const id &) \
2257 template<typename T> \
2260 ::RCF::RcfSession &session, \
2263 if (session.isInProcess()) \
2265 ::RCF::ClientParameters< \
2267 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
2268 ::RCF::ClientParameters< \
2270 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2271 RCF_UNUSED_VARIABLE(p); \
2281 ::RCF::ServerParameters< \
2283 A1,A2,A3,A4,A5 > &p = \
2284 ::RCF::AllocateServerParameters< \
2286 A1,A2,A3,A4,A5 >()(session); \
2287 RCF_UNUSED_VARIABLE(p); \
2298 #define RCF_METHOD_V5_DECL(R,func , A1,A2,A3,A4,A5) \
2299 RCF_METHOD_V5_DECL_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, V5))
2301 #define RCF_METHOD_V5_DECL_(R,func , A1,A2,A3,A4,A5, id) \
2303 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2304 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2305 ::RCF::FutureImpl<V> func( \
2306 ::RCF::RemoveOut<A1 >::type a1, \
2307 ::RCF::RemoveOut<A2 >::type a2, \
2308 ::RCF::RemoveOut<A3 >::type a3, \
2309 ::RCF::RemoveOut<A4 >::type a4, \
2310 ::RCF::RemoveOut<A5 >::type a5) \
2313 ::RCF::CallOptions() , \
2317 ::RCF::FutureImpl<V> func( \
2318 const ::RCF::CallOptions &callOptions , \
2319 ::RCF::RemoveOut<A1 >::type a1, \
2320 ::RCF::RemoveOut<A2 >::type a2, \
2321 ::RCF::RemoveOut<A3 >::type a3, \
2322 ::RCF::RemoveOut<A4 >::type a4, \
2323 ::RCF::RemoveOut<A5 >::type a5); \
2325 void error__method_defined_out_of_order__##func( \
2327 ::RCF::RemoveOut<A1 >::type a1, \
2328 ::RCF::RemoveOut<A2 >::type a2, \
2329 ::RCF::RemoveOut<A3 >::type a3, \
2330 ::RCF::RemoveOut<A4 >::type a4, \
2331 ::RCF::RemoveOut<A5 >::type a5); \
2333 const char * getFunctionName(const id &) \
2337 const char * getArity(const id &) \
2343 template<typename T> \
2346 ::RCF::RcfSession &session, \
2349 if (session.isInProcess()) \
2351 ::RCF::ClientParameters< \
2353 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &p = static_cast<\
2354 ::RCF::ClientParameters< \
2356 A1,A2,A3,A4,A5 , V,V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2357 RCF_UNUSED_VARIABLE(p); \
2367 ::RCF::ServerParameters< \
2369 A1,A2,A3,A4,A5 > &p = \
2370 ::RCF::AllocateServerParameters< \
2372 A1,A2,A3,A4,A5 >()(session); \
2373 RCF_UNUSED_VARIABLE(p); \
2384 #define RCF_METHOD_V5_DEF(R,func , A1,A2,A3,A4,A5) \
2385 RCF_METHOD_V5_DEF_(R,func , A1,A2,A3,A4,A5, RCF_PP_CAT(rcf_interface_id_1_, func, R5, __LINE__), RCF_MAKE_UNIQUE_ID(func, R5), RCF_PP_CAT(rcf_interface_id_2_, func, R5, __LINE__))
2387 #define RCF_METHOD_V5_DEF_(R,func , A1,A2,A3,A4,A5, interfaceId, funcId, genParms)\
2388 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2389 typedef GeneratorParms<interfaceId> genParms; \
2390 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2391 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
2392 const ::RCF::CallOptions &callOptions , \
2393 ::RCF::RemoveOut<A1 >::type a1, \
2394 ::RCF::RemoveOut<A2 >::type a2, \
2395 ::RCF::RemoveOut<A3 >::type a3, \
2396 ::RCF::RemoveOut<A4 >::type a4, \
2397 ::RCF::RemoveOut<A5 >::type a5) \
2399 typedef ::RCF::Void V; \
2400 getClientStub().setAsync(false); \
2401 return RCF::FutureImpl<V >( \
2402 ::RCF::AllocateClientParameters< \
2405 V,V,V,V,V,V,V,V,V,V >()( \
2408 V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2412 callOptions.apply(getClientStub()), \
2416 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2418 ::RCF::RemoveOut<A1 >::type a1, \
2419 ::RCF::RemoveOut<A2 >::type a2, \
2420 ::RCF::RemoveOut<A3 >::type a3, \
2421 ::RCF::RemoveOut<A4 >::type a4, \
2422 ::RCF::RemoveOut<A5 >::type a5) \
2434 #define RCF_METHOD_R6_INLINE(R,func , A1,A2,A3,A4,A5,A6) \
2435 RCF_METHOD_R6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, R6))
2437 #define RCF_METHOD_R6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, id) \
2439 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2440 ::RCF::FutureImpl<R > func( \
2441 ::RCF::RemoveOut<A1 >::type a1, \
2442 ::RCF::RemoveOut<A2 >::type a2, \
2443 ::RCF::RemoveOut<A3 >::type a3, \
2444 ::RCF::RemoveOut<A4 >::type a4, \
2445 ::RCF::RemoveOut<A5 >::type a5, \
2446 ::RCF::RemoveOut<A6 >::type a6) \
2449 ::RCF::CallOptions() , \
2450 a1,a2,a3,a4,a5,a6); \
2452 ::RCF::FutureImpl<R > func( \
2453 const ::RCF::CallOptions &callOptions , \
2454 ::RCF::RemoveOut<A1 >::type a1, \
2455 ::RCF::RemoveOut<A2 >::type a2, \
2456 ::RCF::RemoveOut<A3 >::type a3, \
2457 ::RCF::RemoveOut<A4 >::type a4, \
2458 ::RCF::RemoveOut<A5 >::type a5, \
2459 ::RCF::RemoveOut<A6 >::type a6) \
2461 getClientStub().setAsync(false); \
2462 return RCF::FutureImpl<R >( \
2463 ::RCF::AllocateClientParameters< \
2465 A1,A2,A3,A4,A5,A6 , \
2466 V,V,V,V,V,V,V,V,V >()( \
2468 a1,a2,a3,a4,a5,a6 , \
2469 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2473 callOptions.apply(getClientStub()), \
2477 const char * getFunctionName(const id &) \
2481 const char * getArity(const id &) \
2487 template<typename T> \
2490 ::RCF::RcfSession &session, \
2493 if (session.isInProcess()) \
2495 ::RCF::ClientParameters< \
2497 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &p = static_cast<\
2498 ::RCF::ClientParameters< \
2500 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2501 p.r.set( t.func( p.a1.get(), \
2510 ::RCF::ServerParameters< \
2512 A1,A2,A3,A4,A5,A6 > &p = \
2513 ::RCF::AllocateServerParameters< \
2515 A1,A2,A3,A4,A5,A6 >()(session); \
2517 session.getAutoSend(), \
2529 #define RCF_METHOD_R6_DECL(R,func , A1,A2,A3,A4,A5,A6) \
2530 RCF_METHOD_R6_DECL_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, R6))
2532 #define RCF_METHOD_R6_DECL_(R,func , A1,A2,A3,A4,A5,A6, id) \
2534 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2535 ::RCF::FutureImpl<R > func( \
2536 ::RCF::RemoveOut<A1 >::type a1, \
2537 ::RCF::RemoveOut<A2 >::type a2, \
2538 ::RCF::RemoveOut<A3 >::type a3, \
2539 ::RCF::RemoveOut<A4 >::type a4, \
2540 ::RCF::RemoveOut<A5 >::type a5, \
2541 ::RCF::RemoveOut<A6 >::type a6) \
2544 ::RCF::CallOptions() , \
2545 a1,a2,a3,a4,a5,a6); \
2548 ::RCF::FutureImpl<R > func( \
2549 const ::RCF::CallOptions &callOptions , \
2550 ::RCF::RemoveOut<A1 >::type a1, \
2551 ::RCF::RemoveOut<A2 >::type a2, \
2552 ::RCF::RemoveOut<A3 >::type a3, \
2553 ::RCF::RemoveOut<A4 >::type a4, \
2554 ::RCF::RemoveOut<A5 >::type a5, \
2555 ::RCF::RemoveOut<A6 >::type a6); \
2557 void error__method_defined_out_of_order__##func( \
2559 ::RCF::RemoveOut<A1 >::type a1, \
2560 ::RCF::RemoveOut<A2 >::type a2, \
2561 ::RCF::RemoveOut<A3 >::type a3, \
2562 ::RCF::RemoveOut<A4 >::type a4, \
2563 ::RCF::RemoveOut<A5 >::type a5, \
2564 ::RCF::RemoveOut<A6 >::type a6); \
2566 const char * getFunctionName(const id &) \
2570 const char * getArity(const id &) \
2576 template<typename T> \
2579 ::RCF::RcfSession &session, \
2582 if (session.isInProcess()) \
2584 ::RCF::ClientParameters< \
2586 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &p = static_cast<\
2587 ::RCF::ClientParameters< \
2589 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2590 p.r.set( t.func( p.a1.get(), \
2599 ::RCF::ServerParameters< \
2601 A1,A2,A3,A4,A5,A6 > &p = \
2602 ::RCF::AllocateServerParameters< \
2604 A1,A2,A3,A4,A5,A6 >()(session); \
2606 session.getAutoSend(), \
2618 #define RCF_METHOD_R6_DEF(R,func , A1,A2,A3,A4,A5,A6) \
2619 RCF_METHOD_R6_DEF_(R,func , A1,A2,A3,A4,A5,A6, RCF_PP_CAT(rcf_interface_id_1_, func, R6, __LINE__), RCF_MAKE_UNIQUE_ID(func, R6), RCF_PP_CAT(rcf_interface_id_2_, func, R6, __LINE__))
2621 #define RCF_METHOD_R6_DEF_(R,func , A1,A2,A3,A4,A5,A6, interfaceId, funcId, genParms)\
2622 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2623 typedef GeneratorParms<interfaceId> genParms; \
2624 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2625 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
2626 const ::RCF::CallOptions &callOptions , \
2627 ::RCF::RemoveOut<A1 >::type a1, \
2628 ::RCF::RemoveOut<A2 >::type a2, \
2629 ::RCF::RemoveOut<A3 >::type a3, \
2630 ::RCF::RemoveOut<A4 >::type a4, \
2631 ::RCF::RemoveOut<A5 >::type a5, \
2632 ::RCF::RemoveOut<A6 >::type a6) \
2634 getClientStub().setAsync(false); \
2635 return RCF::FutureImpl<R >( \
2636 ::RCF::AllocateClientParameters< \
2638 A1,A2,A3,A4,A5,A6 , \
2639 V,V,V,V,V,V,V,V,V >()( \
2641 a1,a2,a3,a4,a5,a6 , \
2642 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2646 callOptions.apply(getClientStub()), \
2650 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2652 ::RCF::RemoveOut<A1 >::type a1, \
2653 ::RCF::RemoveOut<A2 >::type a2, \
2654 ::RCF::RemoveOut<A3 >::type a3, \
2655 ::RCF::RemoveOut<A4 >::type a4, \
2656 ::RCF::RemoveOut<A5 >::type a5, \
2657 ::RCF::RemoveOut<A6 >::type a6) \
2668 #define RCF_METHOD_V6_INLINE(R,func , A1,A2,A3,A4,A5,A6) \
2669 RCF_METHOD_V6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, V6))
2671 #define RCF_METHOD_V6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, id) \
2673 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2674 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2675 ::RCF::FutureImpl<V> func( \
2676 ::RCF::RemoveOut<A1 >::type a1, \
2677 ::RCF::RemoveOut<A2 >::type a2, \
2678 ::RCF::RemoveOut<A3 >::type a3, \
2679 ::RCF::RemoveOut<A4 >::type a4, \
2680 ::RCF::RemoveOut<A5 >::type a5, \
2681 ::RCF::RemoveOut<A6 >::type a6) \
2684 ::RCF::CallOptions() , \
2685 a1,a2,a3,a4,a5,a6); \
2687 ::RCF::FutureImpl<V> func( \
2688 const ::RCF::CallOptions &callOptions , \
2689 ::RCF::RemoveOut<A1 >::type a1, \
2690 ::RCF::RemoveOut<A2 >::type a2, \
2691 ::RCF::RemoveOut<A3 >::type a3, \
2692 ::RCF::RemoveOut<A4 >::type a4, \
2693 ::RCF::RemoveOut<A5 >::type a5, \
2694 ::RCF::RemoveOut<A6 >::type a6) \
2696 getClientStub().setAsync(false); \
2697 return RCF::FutureImpl<V>( \
2698 ::RCF::AllocateClientParameters< \
2700 A1,A2,A3,A4,A5,A6 , \
2701 V,V,V,V,V,V,V,V,V >()( \
2703 a1,a2,a3,a4,a5,a6 , \
2704 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2708 callOptions.apply(getClientStub()), \
2712 const char * getFunctionName(const id &) \
2716 const char * getArity(const id &) \
2722 template<typename T> \
2725 ::RCF::RcfSession &session, \
2728 if (session.isInProcess()) \
2730 ::RCF::ClientParameters< \
2732 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &p = static_cast<\
2733 ::RCF::ClientParameters< \
2735 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2736 RCF_UNUSED_VARIABLE(p); \
2747 ::RCF::ServerParameters< \
2749 A1,A2,A3,A4,A5,A6 > &p = \
2750 ::RCF::AllocateServerParameters< \
2752 A1,A2,A3,A4,A5,A6 >()(session); \
2753 RCF_UNUSED_VARIABLE(p); \
2765 #define RCF_METHOD_V6_DECL(R,func , A1,A2,A3,A4,A5,A6) \
2766 RCF_METHOD_V6_DECL_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, V6))
2768 #define RCF_METHOD_V6_DECL_(R,func , A1,A2,A3,A4,A5,A6, id) \
2770 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2771 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2772 ::RCF::FutureImpl<V> func( \
2773 ::RCF::RemoveOut<A1 >::type a1, \
2774 ::RCF::RemoveOut<A2 >::type a2, \
2775 ::RCF::RemoveOut<A3 >::type a3, \
2776 ::RCF::RemoveOut<A4 >::type a4, \
2777 ::RCF::RemoveOut<A5 >::type a5, \
2778 ::RCF::RemoveOut<A6 >::type a6) \
2781 ::RCF::CallOptions() , \
2782 a1,a2,a3,a4,a5,a6); \
2785 ::RCF::FutureImpl<V> func( \
2786 const ::RCF::CallOptions &callOptions , \
2787 ::RCF::RemoveOut<A1 >::type a1, \
2788 ::RCF::RemoveOut<A2 >::type a2, \
2789 ::RCF::RemoveOut<A3 >::type a3, \
2790 ::RCF::RemoveOut<A4 >::type a4, \
2791 ::RCF::RemoveOut<A5 >::type a5, \
2792 ::RCF::RemoveOut<A6 >::type a6); \
2794 void error__method_defined_out_of_order__##func( \
2796 ::RCF::RemoveOut<A1 >::type a1, \
2797 ::RCF::RemoveOut<A2 >::type a2, \
2798 ::RCF::RemoveOut<A3 >::type a3, \
2799 ::RCF::RemoveOut<A4 >::type a4, \
2800 ::RCF::RemoveOut<A5 >::type a5, \
2801 ::RCF::RemoveOut<A6 >::type a6); \
2803 const char * getFunctionName(const id &) \
2807 const char * getArity(const id &) \
2813 template<typename T> \
2816 ::RCF::RcfSession &session, \
2819 if (session.isInProcess()) \
2821 ::RCF::ClientParameters< \
2823 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &p = static_cast<\
2824 ::RCF::ClientParameters< \
2826 A1,A2,A3,A4,A5,A6 , V,V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2827 RCF_UNUSED_VARIABLE(p); \
2838 ::RCF::ServerParameters< \
2840 A1,A2,A3,A4,A5,A6 > &p = \
2841 ::RCF::AllocateServerParameters< \
2843 A1,A2,A3,A4,A5,A6 >()(session); \
2844 RCF_UNUSED_VARIABLE(p); \
2856 #define RCF_METHOD_V6_DEF(R,func , A1,A2,A3,A4,A5,A6) \
2857 RCF_METHOD_V6_DEF_(R,func , A1,A2,A3,A4,A5,A6, RCF_PP_CAT(rcf_interface_id_1_, func, R6, __LINE__), RCF_MAKE_UNIQUE_ID(func, R6), RCF_PP_CAT(rcf_interface_id_2_, func, R6, __LINE__))
2859 #define RCF_METHOD_V6_DEF_(R,func , A1,A2,A3,A4,A5,A6, interfaceId, funcId, genParms)\
2860 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2861 typedef GeneratorParms<interfaceId> genParms; \
2862 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2863 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
2864 const ::RCF::CallOptions &callOptions , \
2865 ::RCF::RemoveOut<A1 >::type a1, \
2866 ::RCF::RemoveOut<A2 >::type a2, \
2867 ::RCF::RemoveOut<A3 >::type a3, \
2868 ::RCF::RemoveOut<A4 >::type a4, \
2869 ::RCF::RemoveOut<A5 >::type a5, \
2870 ::RCF::RemoveOut<A6 >::type a6) \
2872 typedef ::RCF::Void V; \
2873 getClientStub().setAsync(false); \
2874 return RCF::FutureImpl<V >( \
2875 ::RCF::AllocateClientParameters< \
2877 A1,A2,A3,A4,A5,A6 , \
2878 V,V,V,V,V,V,V,V,V >()( \
2880 a1,a2,a3,a4,a5,a6 , \
2881 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2885 callOptions.apply(getClientStub()), \
2889 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2891 ::RCF::RemoveOut<A1 >::type a1, \
2892 ::RCF::RemoveOut<A2 >::type a2, \
2893 ::RCF::RemoveOut<A3 >::type a3, \
2894 ::RCF::RemoveOut<A4 >::type a4, \
2895 ::RCF::RemoveOut<A5 >::type a5, \
2896 ::RCF::RemoveOut<A6 >::type a6) \
2908 #define RCF_METHOD_R7_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7) \
2909 RCF_METHOD_R7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, R7))
2911 #define RCF_METHOD_R7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
2913 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2914 ::RCF::FutureImpl<R > func( \
2915 ::RCF::RemoveOut<A1 >::type a1, \
2916 ::RCF::RemoveOut<A2 >::type a2, \
2917 ::RCF::RemoveOut<A3 >::type a3, \
2918 ::RCF::RemoveOut<A4 >::type a4, \
2919 ::RCF::RemoveOut<A5 >::type a5, \
2920 ::RCF::RemoveOut<A6 >::type a6, \
2921 ::RCF::RemoveOut<A7 >::type a7) \
2924 ::RCF::CallOptions() , \
2925 a1,a2,a3,a4,a5,a6,a7); \
2927 ::RCF::FutureImpl<R > func( \
2928 const ::RCF::CallOptions &callOptions , \
2929 ::RCF::RemoveOut<A1 >::type a1, \
2930 ::RCF::RemoveOut<A2 >::type a2, \
2931 ::RCF::RemoveOut<A3 >::type a3, \
2932 ::RCF::RemoveOut<A4 >::type a4, \
2933 ::RCF::RemoveOut<A5 >::type a5, \
2934 ::RCF::RemoveOut<A6 >::type a6, \
2935 ::RCF::RemoveOut<A7 >::type a7) \
2937 getClientStub().setAsync(false); \
2938 return RCF::FutureImpl<R >( \
2939 ::RCF::AllocateClientParameters< \
2941 A1,A2,A3,A4,A5,A6,A7 , \
2942 V,V,V,V,V,V,V,V >()( \
2944 a1,a2,a3,a4,a5,a6,a7 , \
2945 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2949 callOptions.apply(getClientStub()), \
2953 const char * getFunctionName(const id &) \
2957 const char * getArity(const id &) \
2963 template<typename T> \
2966 ::RCF::RcfSession &session, \
2969 if (session.isInProcess()) \
2971 ::RCF::ClientParameters< \
2973 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &p = static_cast<\
2974 ::RCF::ClientParameters< \
2976 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
2977 p.r.set( t.func( p.a1.get(), \
2987 ::RCF::ServerParameters< \
2989 A1,A2,A3,A4,A5,A6,A7 > &p = \
2990 ::RCF::AllocateServerParameters< \
2992 A1,A2,A3,A4,A5,A6,A7 >()(session); \
2994 session.getAutoSend(), \
3007 #define RCF_METHOD_R7_DECL(R,func , A1,A2,A3,A4,A5,A6,A7) \
3008 RCF_METHOD_R7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, R7))
3010 #define RCF_METHOD_R7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
3012 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3013 ::RCF::FutureImpl<R > func( \
3014 ::RCF::RemoveOut<A1 >::type a1, \
3015 ::RCF::RemoveOut<A2 >::type a2, \
3016 ::RCF::RemoveOut<A3 >::type a3, \
3017 ::RCF::RemoveOut<A4 >::type a4, \
3018 ::RCF::RemoveOut<A5 >::type a5, \
3019 ::RCF::RemoveOut<A6 >::type a6, \
3020 ::RCF::RemoveOut<A7 >::type a7) \
3023 ::RCF::CallOptions() , \
3024 a1,a2,a3,a4,a5,a6,a7); \
3027 ::RCF::FutureImpl<R > func( \
3028 const ::RCF::CallOptions &callOptions , \
3029 ::RCF::RemoveOut<A1 >::type a1, \
3030 ::RCF::RemoveOut<A2 >::type a2, \
3031 ::RCF::RemoveOut<A3 >::type a3, \
3032 ::RCF::RemoveOut<A4 >::type a4, \
3033 ::RCF::RemoveOut<A5 >::type a5, \
3034 ::RCF::RemoveOut<A6 >::type a6, \
3035 ::RCF::RemoveOut<A7 >::type a7); \
3037 void error__method_defined_out_of_order__##func( \
3039 ::RCF::RemoveOut<A1 >::type a1, \
3040 ::RCF::RemoveOut<A2 >::type a2, \
3041 ::RCF::RemoveOut<A3 >::type a3, \
3042 ::RCF::RemoveOut<A4 >::type a4, \
3043 ::RCF::RemoveOut<A5 >::type a5, \
3044 ::RCF::RemoveOut<A6 >::type a6, \
3045 ::RCF::RemoveOut<A7 >::type a7); \
3047 const char * getFunctionName(const id &) \
3051 const char * getArity(const id &) \
3057 template<typename T> \
3060 ::RCF::RcfSession &session, \
3063 if (session.isInProcess()) \
3065 ::RCF::ClientParameters< \
3067 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &p = static_cast<\
3068 ::RCF::ClientParameters< \
3070 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3071 p.r.set( t.func( p.a1.get(), \
3081 ::RCF::ServerParameters< \
3083 A1,A2,A3,A4,A5,A6,A7 > &p = \
3084 ::RCF::AllocateServerParameters< \
3086 A1,A2,A3,A4,A5,A6,A7 >()(session); \
3088 session.getAutoSend(), \
3101 #define RCF_METHOD_R7_DEF(R,func , A1,A2,A3,A4,A5,A6,A7) \
3102 RCF_METHOD_R7_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_PP_CAT(rcf_interface_id_1_, func, R7, __LINE__), RCF_MAKE_UNIQUE_ID(func, R7), RCF_PP_CAT(rcf_interface_id_2_, func, R7, __LINE__))
3104 #define RCF_METHOD_R7_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7, interfaceId, funcId, genParms)\
3105 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3106 typedef GeneratorParms<interfaceId> genParms; \
3107 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3108 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
3109 const ::RCF::CallOptions &callOptions , \
3110 ::RCF::RemoveOut<A1 >::type a1, \
3111 ::RCF::RemoveOut<A2 >::type a2, \
3112 ::RCF::RemoveOut<A3 >::type a3, \
3113 ::RCF::RemoveOut<A4 >::type a4, \
3114 ::RCF::RemoveOut<A5 >::type a5, \
3115 ::RCF::RemoveOut<A6 >::type a6, \
3116 ::RCF::RemoveOut<A7 >::type a7) \
3118 getClientStub().setAsync(false); \
3119 return RCF::FutureImpl<R >( \
3120 ::RCF::AllocateClientParameters< \
3122 A1,A2,A3,A4,A5,A6,A7 , \
3123 V,V,V,V,V,V,V,V >()( \
3125 a1,a2,a3,a4,a5,a6,a7 , \
3126 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
3130 callOptions.apply(getClientStub()), \
3134 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3136 ::RCF::RemoveOut<A1 >::type a1, \
3137 ::RCF::RemoveOut<A2 >::type a2, \
3138 ::RCF::RemoveOut<A3 >::type a3, \
3139 ::RCF::RemoveOut<A4 >::type a4, \
3140 ::RCF::RemoveOut<A5 >::type a5, \
3141 ::RCF::RemoveOut<A6 >::type a6, \
3142 ::RCF::RemoveOut<A7 >::type a7) \
3153 #define RCF_METHOD_V7_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7) \
3154 RCF_METHOD_V7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, V7))
3156 #define RCF_METHOD_V7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
3158 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3159 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3160 ::RCF::FutureImpl<V> func( \
3161 ::RCF::RemoveOut<A1 >::type a1, \
3162 ::RCF::RemoveOut<A2 >::type a2, \
3163 ::RCF::RemoveOut<A3 >::type a3, \
3164 ::RCF::RemoveOut<A4 >::type a4, \
3165 ::RCF::RemoveOut<A5 >::type a5, \
3166 ::RCF::RemoveOut<A6 >::type a6, \
3167 ::RCF::RemoveOut<A7 >::type a7) \
3170 ::RCF::CallOptions() , \
3171 a1,a2,a3,a4,a5,a6,a7); \
3173 ::RCF::FutureImpl<V> func( \
3174 const ::RCF::CallOptions &callOptions , \
3175 ::RCF::RemoveOut<A1 >::type a1, \
3176 ::RCF::RemoveOut<A2 >::type a2, \
3177 ::RCF::RemoveOut<A3 >::type a3, \
3178 ::RCF::RemoveOut<A4 >::type a4, \
3179 ::RCF::RemoveOut<A5 >::type a5, \
3180 ::RCF::RemoveOut<A6 >::type a6, \
3181 ::RCF::RemoveOut<A7 >::type a7) \
3183 getClientStub().setAsync(false); \
3184 return RCF::FutureImpl<V>( \
3185 ::RCF::AllocateClientParameters< \
3187 A1,A2,A3,A4,A5,A6,A7 , \
3188 V,V,V,V,V,V,V,V >()( \
3190 a1,a2,a3,a4,a5,a6,a7 , \
3191 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
3195 callOptions.apply(getClientStub()), \
3199 const char * getFunctionName(const id &) \
3203 const char * getArity(const id &) \
3209 template<typename T> \
3212 ::RCF::RcfSession &session, \
3215 if (session.isInProcess()) \
3217 ::RCF::ClientParameters< \
3219 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &p = static_cast<\
3220 ::RCF::ClientParameters< \
3222 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3223 RCF_UNUSED_VARIABLE(p); \
3235 ::RCF::ServerParameters< \
3237 A1,A2,A3,A4,A5,A6,A7 > &p = \
3238 ::RCF::AllocateServerParameters< \
3240 A1,A2,A3,A4,A5,A6,A7 >()(session); \
3241 RCF_UNUSED_VARIABLE(p); \
3254 #define RCF_METHOD_V7_DECL(R,func , A1,A2,A3,A4,A5,A6,A7) \
3255 RCF_METHOD_V7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, V7))
3257 #define RCF_METHOD_V7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
3259 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3260 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3261 ::RCF::FutureImpl<V> func( \
3262 ::RCF::RemoveOut<A1 >::type a1, \
3263 ::RCF::RemoveOut<A2 >::type a2, \
3264 ::RCF::RemoveOut<A3 >::type a3, \
3265 ::RCF::RemoveOut<A4 >::type a4, \
3266 ::RCF::RemoveOut<A5 >::type a5, \
3267 ::RCF::RemoveOut<A6 >::type a6, \
3268 ::RCF::RemoveOut<A7 >::type a7) \
3271 ::RCF::CallOptions() , \
3272 a1,a2,a3,a4,a5,a6,a7); \
3275 ::RCF::FutureImpl<V> func( \
3276 const ::RCF::CallOptions &callOptions , \
3277 ::RCF::RemoveOut<A1 >::type a1, \
3278 ::RCF::RemoveOut<A2 >::type a2, \
3279 ::RCF::RemoveOut<A3 >::type a3, \
3280 ::RCF::RemoveOut<A4 >::type a4, \
3281 ::RCF::RemoveOut<A5 >::type a5, \
3282 ::RCF::RemoveOut<A6 >::type a6, \
3283 ::RCF::RemoveOut<A7 >::type a7); \
3285 void error__method_defined_out_of_order__##func( \
3287 ::RCF::RemoveOut<A1 >::type a1, \
3288 ::RCF::RemoveOut<A2 >::type a2, \
3289 ::RCF::RemoveOut<A3 >::type a3, \
3290 ::RCF::RemoveOut<A4 >::type a4, \
3291 ::RCF::RemoveOut<A5 >::type a5, \
3292 ::RCF::RemoveOut<A6 >::type a6, \
3293 ::RCF::RemoveOut<A7 >::type a7); \
3295 const char * getFunctionName(const id &) \
3299 const char * getArity(const id &) \
3305 template<typename T> \
3308 ::RCF::RcfSession &session, \
3311 if (session.isInProcess()) \
3313 ::RCF::ClientParameters< \
3315 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &p = static_cast<\
3316 ::RCF::ClientParameters< \
3318 A1,A2,A3,A4,A5,A6,A7 , V,V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3319 RCF_UNUSED_VARIABLE(p); \
3331 ::RCF::ServerParameters< \
3333 A1,A2,A3,A4,A5,A6,A7 > &p = \
3334 ::RCF::AllocateServerParameters< \
3336 A1,A2,A3,A4,A5,A6,A7 >()(session); \
3337 RCF_UNUSED_VARIABLE(p); \
3350 #define RCF_METHOD_V7_DEF(R,func , A1,A2,A3,A4,A5,A6,A7) \
3351 RCF_METHOD_V7_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_PP_CAT(rcf_interface_id_1_, func, R7, __LINE__), RCF_MAKE_UNIQUE_ID(func, R7), RCF_PP_CAT(rcf_interface_id_2_, func, R7, __LINE__))
3353 #define RCF_METHOD_V7_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7, interfaceId, funcId, genParms)\
3354 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3355 typedef GeneratorParms<interfaceId> genParms; \
3356 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3357 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
3358 const ::RCF::CallOptions &callOptions , \
3359 ::RCF::RemoveOut<A1 >::type a1, \
3360 ::RCF::RemoveOut<A2 >::type a2, \
3361 ::RCF::RemoveOut<A3 >::type a3, \
3362 ::RCF::RemoveOut<A4 >::type a4, \
3363 ::RCF::RemoveOut<A5 >::type a5, \
3364 ::RCF::RemoveOut<A6 >::type a6, \
3365 ::RCF::RemoveOut<A7 >::type a7) \
3367 typedef ::RCF::Void V; \
3368 getClientStub().setAsync(false); \
3369 return RCF::FutureImpl<V >( \
3370 ::RCF::AllocateClientParameters< \
3372 A1,A2,A3,A4,A5,A6,A7 , \
3373 V,V,V,V,V,V,V,V >()( \
3375 a1,a2,a3,a4,a5,a6,a7 , \
3376 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
3380 callOptions.apply(getClientStub()), \
3384 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3386 ::RCF::RemoveOut<A1 >::type a1, \
3387 ::RCF::RemoveOut<A2 >::type a2, \
3388 ::RCF::RemoveOut<A3 >::type a3, \
3389 ::RCF::RemoveOut<A4 >::type a4, \
3390 ::RCF::RemoveOut<A5 >::type a5, \
3391 ::RCF::RemoveOut<A6 >::type a6, \
3392 ::RCF::RemoveOut<A7 >::type a7) \
3404 #define RCF_METHOD_R8_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3405 RCF_METHOD_R8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, R8))
3407 #define RCF_METHOD_R8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
3409 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3410 ::RCF::FutureImpl<R > func( \
3411 ::RCF::RemoveOut<A1 >::type a1, \
3412 ::RCF::RemoveOut<A2 >::type a2, \
3413 ::RCF::RemoveOut<A3 >::type a3, \
3414 ::RCF::RemoveOut<A4 >::type a4, \
3415 ::RCF::RemoveOut<A5 >::type a5, \
3416 ::RCF::RemoveOut<A6 >::type a6, \
3417 ::RCF::RemoveOut<A7 >::type a7, \
3418 ::RCF::RemoveOut<A8 >::type a8) \
3421 ::RCF::CallOptions() , \
3422 a1,a2,a3,a4,a5,a6,a7,a8); \
3424 ::RCF::FutureImpl<R > func( \
3425 const ::RCF::CallOptions &callOptions , \
3426 ::RCF::RemoveOut<A1 >::type a1, \
3427 ::RCF::RemoveOut<A2 >::type a2, \
3428 ::RCF::RemoveOut<A3 >::type a3, \
3429 ::RCF::RemoveOut<A4 >::type a4, \
3430 ::RCF::RemoveOut<A5 >::type a5, \
3431 ::RCF::RemoveOut<A6 >::type a6, \
3432 ::RCF::RemoveOut<A7 >::type a7, \
3433 ::RCF::RemoveOut<A8 >::type a8) \
3435 getClientStub().setAsync(false); \
3436 return RCF::FutureImpl<R >( \
3437 ::RCF::AllocateClientParameters< \
3439 A1,A2,A3,A4,A5,A6,A7,A8 , \
3440 V,V,V,V,V,V,V >()( \
3442 a1,a2,a3,a4,a5,a6,a7,a8 , \
3443 V(),V(),V(),V(),V(),V(),V()).r.get(), \
3447 callOptions.apply(getClientStub()), \
3451 const char * getFunctionName(const id &) \
3455 const char * getArity(const id &) \
3461 template<typename T> \
3464 ::RCF::RcfSession &session, \
3467 if (session.isInProcess()) \
3469 ::RCF::ClientParameters< \
3471 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &p = static_cast<\
3472 ::RCF::ClientParameters< \
3474 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3475 p.r.set( t.func( p.a1.get(), \
3486 ::RCF::ServerParameters< \
3488 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
3489 ::RCF::AllocateServerParameters< \
3491 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
3493 session.getAutoSend(), \
3507 #define RCF_METHOD_R8_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3508 RCF_METHOD_R8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, R8))
3510 #define RCF_METHOD_R8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
3512 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3513 ::RCF::FutureImpl<R > func( \
3514 ::RCF::RemoveOut<A1 >::type a1, \
3515 ::RCF::RemoveOut<A2 >::type a2, \
3516 ::RCF::RemoveOut<A3 >::type a3, \
3517 ::RCF::RemoveOut<A4 >::type a4, \
3518 ::RCF::RemoveOut<A5 >::type a5, \
3519 ::RCF::RemoveOut<A6 >::type a6, \
3520 ::RCF::RemoveOut<A7 >::type a7, \
3521 ::RCF::RemoveOut<A8 >::type a8) \
3524 ::RCF::CallOptions() , \
3525 a1,a2,a3,a4,a5,a6,a7,a8); \
3528 ::RCF::FutureImpl<R > func( \
3529 const ::RCF::CallOptions &callOptions , \
3530 ::RCF::RemoveOut<A1 >::type a1, \
3531 ::RCF::RemoveOut<A2 >::type a2, \
3532 ::RCF::RemoveOut<A3 >::type a3, \
3533 ::RCF::RemoveOut<A4 >::type a4, \
3534 ::RCF::RemoveOut<A5 >::type a5, \
3535 ::RCF::RemoveOut<A6 >::type a6, \
3536 ::RCF::RemoveOut<A7 >::type a7, \
3537 ::RCF::RemoveOut<A8 >::type a8); \
3539 void error__method_defined_out_of_order__##func( \
3541 ::RCF::RemoveOut<A1 >::type a1, \
3542 ::RCF::RemoveOut<A2 >::type a2, \
3543 ::RCF::RemoveOut<A3 >::type a3, \
3544 ::RCF::RemoveOut<A4 >::type a4, \
3545 ::RCF::RemoveOut<A5 >::type a5, \
3546 ::RCF::RemoveOut<A6 >::type a6, \
3547 ::RCF::RemoveOut<A7 >::type a7, \
3548 ::RCF::RemoveOut<A8 >::type a8); \
3550 const char * getFunctionName(const id &) \
3554 const char * getArity(const id &) \
3560 template<typename T> \
3563 ::RCF::RcfSession &session, \
3566 if (session.isInProcess()) \
3568 ::RCF::ClientParameters< \
3570 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &p = static_cast<\
3571 ::RCF::ClientParameters< \
3573 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3574 p.r.set( t.func( p.a1.get(), \
3585 ::RCF::ServerParameters< \
3587 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
3588 ::RCF::AllocateServerParameters< \
3590 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
3592 session.getAutoSend(), \
3606 #define RCF_METHOD_R8_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3607 RCF_METHOD_R8_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_PP_CAT(rcf_interface_id_1_, func, R8, __LINE__), RCF_MAKE_UNIQUE_ID(func, R8), RCF_PP_CAT(rcf_interface_id_2_, func, R8, __LINE__))
3609 #define RCF_METHOD_R8_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, interfaceId, funcId, genParms)\
3610 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3611 typedef GeneratorParms<interfaceId> genParms; \
3612 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3613 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
3614 const ::RCF::CallOptions &callOptions , \
3615 ::RCF::RemoveOut<A1 >::type a1, \
3616 ::RCF::RemoveOut<A2 >::type a2, \
3617 ::RCF::RemoveOut<A3 >::type a3, \
3618 ::RCF::RemoveOut<A4 >::type a4, \
3619 ::RCF::RemoveOut<A5 >::type a5, \
3620 ::RCF::RemoveOut<A6 >::type a6, \
3621 ::RCF::RemoveOut<A7 >::type a7, \
3622 ::RCF::RemoveOut<A8 >::type a8) \
3624 getClientStub().setAsync(false); \
3625 return RCF::FutureImpl<R >( \
3626 ::RCF::AllocateClientParameters< \
3628 A1,A2,A3,A4,A5,A6,A7,A8 , \
3629 V,V,V,V,V,V,V >()( \
3631 a1,a2,a3,a4,a5,a6,a7,a8 , \
3632 V(),V(),V(),V(),V(),V(),V()).r.get(), \
3636 callOptions.apply(getClientStub()), \
3640 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3642 ::RCF::RemoveOut<A1 >::type a1, \
3643 ::RCF::RemoveOut<A2 >::type a2, \
3644 ::RCF::RemoveOut<A3 >::type a3, \
3645 ::RCF::RemoveOut<A4 >::type a4, \
3646 ::RCF::RemoveOut<A5 >::type a5, \
3647 ::RCF::RemoveOut<A6 >::type a6, \
3648 ::RCF::RemoveOut<A7 >::type a7, \
3649 ::RCF::RemoveOut<A8 >::type a8) \
3660 #define RCF_METHOD_V8_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3661 RCF_METHOD_V8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, V8))
3663 #define RCF_METHOD_V8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
3665 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3666 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3667 ::RCF::FutureImpl<V> func( \
3668 ::RCF::RemoveOut<A1 >::type a1, \
3669 ::RCF::RemoveOut<A2 >::type a2, \
3670 ::RCF::RemoveOut<A3 >::type a3, \
3671 ::RCF::RemoveOut<A4 >::type a4, \
3672 ::RCF::RemoveOut<A5 >::type a5, \
3673 ::RCF::RemoveOut<A6 >::type a6, \
3674 ::RCF::RemoveOut<A7 >::type a7, \
3675 ::RCF::RemoveOut<A8 >::type a8) \
3678 ::RCF::CallOptions() , \
3679 a1,a2,a3,a4,a5,a6,a7,a8); \
3681 ::RCF::FutureImpl<V> func( \
3682 const ::RCF::CallOptions &callOptions , \
3683 ::RCF::RemoveOut<A1 >::type a1, \
3684 ::RCF::RemoveOut<A2 >::type a2, \
3685 ::RCF::RemoveOut<A3 >::type a3, \
3686 ::RCF::RemoveOut<A4 >::type a4, \
3687 ::RCF::RemoveOut<A5 >::type a5, \
3688 ::RCF::RemoveOut<A6 >::type a6, \
3689 ::RCF::RemoveOut<A7 >::type a7, \
3690 ::RCF::RemoveOut<A8 >::type a8) \
3692 getClientStub().setAsync(false); \
3693 return RCF::FutureImpl<V>( \
3694 ::RCF::AllocateClientParameters< \
3696 A1,A2,A3,A4,A5,A6,A7,A8 , \
3697 V,V,V,V,V,V,V >()( \
3699 a1,a2,a3,a4,a5,a6,a7,a8 , \
3700 V(),V(),V(),V(),V(),V(),V()).r.get(), \
3704 callOptions.apply(getClientStub()), \
3708 const char * getFunctionName(const id &) \
3712 const char * getArity(const id &) \
3718 template<typename T> \
3721 ::RCF::RcfSession &session, \
3724 if (session.isInProcess()) \
3726 ::RCF::ClientParameters< \
3728 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &p = static_cast<\
3729 ::RCF::ClientParameters< \
3731 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3732 RCF_UNUSED_VARIABLE(p); \
3745 ::RCF::ServerParameters< \
3747 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
3748 ::RCF::AllocateServerParameters< \
3750 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
3751 RCF_UNUSED_VARIABLE(p); \
3765 #define RCF_METHOD_V8_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3766 RCF_METHOD_V8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, V8))
3768 #define RCF_METHOD_V8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
3770 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3771 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3772 ::RCF::FutureImpl<V> func( \
3773 ::RCF::RemoveOut<A1 >::type a1, \
3774 ::RCF::RemoveOut<A2 >::type a2, \
3775 ::RCF::RemoveOut<A3 >::type a3, \
3776 ::RCF::RemoveOut<A4 >::type a4, \
3777 ::RCF::RemoveOut<A5 >::type a5, \
3778 ::RCF::RemoveOut<A6 >::type a6, \
3779 ::RCF::RemoveOut<A7 >::type a7, \
3780 ::RCF::RemoveOut<A8 >::type a8) \
3783 ::RCF::CallOptions() , \
3784 a1,a2,a3,a4,a5,a6,a7,a8); \
3787 ::RCF::FutureImpl<V> func( \
3788 const ::RCF::CallOptions &callOptions , \
3789 ::RCF::RemoveOut<A1 >::type a1, \
3790 ::RCF::RemoveOut<A2 >::type a2, \
3791 ::RCF::RemoveOut<A3 >::type a3, \
3792 ::RCF::RemoveOut<A4 >::type a4, \
3793 ::RCF::RemoveOut<A5 >::type a5, \
3794 ::RCF::RemoveOut<A6 >::type a6, \
3795 ::RCF::RemoveOut<A7 >::type a7, \
3796 ::RCF::RemoveOut<A8 >::type a8); \
3798 void error__method_defined_out_of_order__##func( \
3800 ::RCF::RemoveOut<A1 >::type a1, \
3801 ::RCF::RemoveOut<A2 >::type a2, \
3802 ::RCF::RemoveOut<A3 >::type a3, \
3803 ::RCF::RemoveOut<A4 >::type a4, \
3804 ::RCF::RemoveOut<A5 >::type a5, \
3805 ::RCF::RemoveOut<A6 >::type a6, \
3806 ::RCF::RemoveOut<A7 >::type a7, \
3807 ::RCF::RemoveOut<A8 >::type a8); \
3809 const char * getFunctionName(const id &) \
3813 const char * getArity(const id &) \
3819 template<typename T> \
3822 ::RCF::RcfSession &session, \
3825 if (session.isInProcess()) \
3827 ::RCF::ClientParameters< \
3829 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &p = static_cast<\
3830 ::RCF::ClientParameters< \
3832 A1,A2,A3,A4,A5,A6,A7,A8 , V,V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3833 RCF_UNUSED_VARIABLE(p); \
3846 ::RCF::ServerParameters< \
3848 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
3849 ::RCF::AllocateServerParameters< \
3851 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
3852 RCF_UNUSED_VARIABLE(p); \
3866 #define RCF_METHOD_V8_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3867 RCF_METHOD_V8_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_PP_CAT(rcf_interface_id_1_, func, R8, __LINE__), RCF_MAKE_UNIQUE_ID(func, R8), RCF_PP_CAT(rcf_interface_id_2_, func, R8, __LINE__))
3869 #define RCF_METHOD_V8_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, interfaceId, funcId, genParms)\
3870 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3871 typedef GeneratorParms<interfaceId> genParms; \
3872 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3873 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
3874 const ::RCF::CallOptions &callOptions , \
3875 ::RCF::RemoveOut<A1 >::type a1, \
3876 ::RCF::RemoveOut<A2 >::type a2, \
3877 ::RCF::RemoveOut<A3 >::type a3, \
3878 ::RCF::RemoveOut<A4 >::type a4, \
3879 ::RCF::RemoveOut<A5 >::type a5, \
3880 ::RCF::RemoveOut<A6 >::type a6, \
3881 ::RCF::RemoveOut<A7 >::type a7, \
3882 ::RCF::RemoveOut<A8 >::type a8) \
3884 typedef ::RCF::Void V; \
3885 getClientStub().setAsync(false); \
3886 return RCF::FutureImpl<V >( \
3887 ::RCF::AllocateClientParameters< \
3889 A1,A2,A3,A4,A5,A6,A7,A8 , \
3890 V,V,V,V,V,V,V >()( \
3892 a1,a2,a3,a4,a5,a6,a7,a8 , \
3893 V(),V(),V(),V(),V(),V(),V()).r.get(), \
3897 callOptions.apply(getClientStub()), \
3901 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3903 ::RCF::RemoveOut<A1 >::type a1, \
3904 ::RCF::RemoveOut<A2 >::type a2, \
3905 ::RCF::RemoveOut<A3 >::type a3, \
3906 ::RCF::RemoveOut<A4 >::type a4, \
3907 ::RCF::RemoveOut<A5 >::type a5, \
3908 ::RCF::RemoveOut<A6 >::type a6, \
3909 ::RCF::RemoveOut<A7 >::type a7, \
3910 ::RCF::RemoveOut<A8 >::type a8) \
3922 #define RCF_METHOD_R9_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
3923 RCF_METHOD_R9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, R9))
3925 #define RCF_METHOD_R9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
3927 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3928 ::RCF::FutureImpl<R > func( \
3929 ::RCF::RemoveOut<A1 >::type a1, \
3930 ::RCF::RemoveOut<A2 >::type a2, \
3931 ::RCF::RemoveOut<A3 >::type a3, \
3932 ::RCF::RemoveOut<A4 >::type a4, \
3933 ::RCF::RemoveOut<A5 >::type a5, \
3934 ::RCF::RemoveOut<A6 >::type a6, \
3935 ::RCF::RemoveOut<A7 >::type a7, \
3936 ::RCF::RemoveOut<A8 >::type a8, \
3937 ::RCF::RemoveOut<A9 >::type a9) \
3940 ::RCF::CallOptions() , \
3941 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
3943 ::RCF::FutureImpl<R > func( \
3944 const ::RCF::CallOptions &callOptions , \
3945 ::RCF::RemoveOut<A1 >::type a1, \
3946 ::RCF::RemoveOut<A2 >::type a2, \
3947 ::RCF::RemoveOut<A3 >::type a3, \
3948 ::RCF::RemoveOut<A4 >::type a4, \
3949 ::RCF::RemoveOut<A5 >::type a5, \
3950 ::RCF::RemoveOut<A6 >::type a6, \
3951 ::RCF::RemoveOut<A7 >::type a7, \
3952 ::RCF::RemoveOut<A8 >::type a8, \
3953 ::RCF::RemoveOut<A9 >::type a9) \
3955 getClientStub().setAsync(false); \
3956 return RCF::FutureImpl<R >( \
3957 ::RCF::AllocateClientParameters< \
3959 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
3962 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
3963 V(),V(),V(),V(),V(),V()).r.get(), \
3967 callOptions.apply(getClientStub()), \
3971 const char * getFunctionName(const id &) \
3975 const char * getArity(const id &) \
3981 template<typename T> \
3984 ::RCF::RcfSession &session, \
3987 if (session.isInProcess()) \
3989 ::RCF::ClientParameters< \
3991 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &p = static_cast<\
3992 ::RCF::ClientParameters< \
3994 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &>(* session.getInProcessParameters());\
3995 p.r.set( t.func( p.a1.get(), \
4007 ::RCF::ServerParameters< \
4009 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
4010 ::RCF::AllocateServerParameters< \
4012 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
4014 session.getAutoSend(), \
4029 #define RCF_METHOD_R9_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
4030 RCF_METHOD_R9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, R9))
4032 #define RCF_METHOD_R9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
4034 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4035 ::RCF::FutureImpl<R > func( \
4036 ::RCF::RemoveOut<A1 >::type a1, \
4037 ::RCF::RemoveOut<A2 >::type a2, \
4038 ::RCF::RemoveOut<A3 >::type a3, \
4039 ::RCF::RemoveOut<A4 >::type a4, \
4040 ::RCF::RemoveOut<A5 >::type a5, \
4041 ::RCF::RemoveOut<A6 >::type a6, \
4042 ::RCF::RemoveOut<A7 >::type a7, \
4043 ::RCF::RemoveOut<A8 >::type a8, \
4044 ::RCF::RemoveOut<A9 >::type a9) \
4047 ::RCF::CallOptions() , \
4048 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
4051 ::RCF::FutureImpl<R > func( \
4052 const ::RCF::CallOptions &callOptions , \
4053 ::RCF::RemoveOut<A1 >::type a1, \
4054 ::RCF::RemoveOut<A2 >::type a2, \
4055 ::RCF::RemoveOut<A3 >::type a3, \
4056 ::RCF::RemoveOut<A4 >::type a4, \
4057 ::RCF::RemoveOut<A5 >::type a5, \
4058 ::RCF::RemoveOut<A6 >::type a6, \
4059 ::RCF::RemoveOut<A7 >::type a7, \
4060 ::RCF::RemoveOut<A8 >::type a8, \
4061 ::RCF::RemoveOut<A9 >::type a9); \
4063 void error__method_defined_out_of_order__##func( \
4065 ::RCF::RemoveOut<A1 >::type a1, \
4066 ::RCF::RemoveOut<A2 >::type a2, \
4067 ::RCF::RemoveOut<A3 >::type a3, \
4068 ::RCF::RemoveOut<A4 >::type a4, \
4069 ::RCF::RemoveOut<A5 >::type a5, \
4070 ::RCF::RemoveOut<A6 >::type a6, \
4071 ::RCF::RemoveOut<A7 >::type a7, \
4072 ::RCF::RemoveOut<A8 >::type a8, \
4073 ::RCF::RemoveOut<A9 >::type a9); \
4075 const char * getFunctionName(const id &) \
4079 const char * getArity(const id &) \
4085 template<typename T> \
4088 ::RCF::RcfSession &session, \
4091 if (session.isInProcess()) \
4093 ::RCF::ClientParameters< \
4095 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &p = static_cast<\
4096 ::RCF::ClientParameters< \
4098 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &>(* session.getInProcessParameters());\
4099 p.r.set( t.func( p.a1.get(), \
4111 ::RCF::ServerParameters< \
4113 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
4114 ::RCF::AllocateServerParameters< \
4116 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
4118 session.getAutoSend(), \
4133 #define RCF_METHOD_R9_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
4134 RCF_METHOD_R9_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_PP_CAT(rcf_interface_id_1_, func, R9, __LINE__), RCF_MAKE_UNIQUE_ID(func, R9), RCF_PP_CAT(rcf_interface_id_2_, func, R9, __LINE__))
4136 #define RCF_METHOD_R9_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, interfaceId, funcId, genParms)\
4137 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4138 typedef GeneratorParms<interfaceId> genParms; \
4139 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4140 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
4141 const ::RCF::CallOptions &callOptions , \
4142 ::RCF::RemoveOut<A1 >::type a1, \
4143 ::RCF::RemoveOut<A2 >::type a2, \
4144 ::RCF::RemoveOut<A3 >::type a3, \
4145 ::RCF::RemoveOut<A4 >::type a4, \
4146 ::RCF::RemoveOut<A5 >::type a5, \
4147 ::RCF::RemoveOut<A6 >::type a6, \
4148 ::RCF::RemoveOut<A7 >::type a7, \
4149 ::RCF::RemoveOut<A8 >::type a8, \
4150 ::RCF::RemoveOut<A9 >::type a9) \
4152 getClientStub().setAsync(false); \
4153 return RCF::FutureImpl<R >( \
4154 ::RCF::AllocateClientParameters< \
4156 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
4159 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
4160 V(),V(),V(),V(),V(),V()).r.get(), \
4164 callOptions.apply(getClientStub()), \
4168 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
4170 ::RCF::RemoveOut<A1 >::type a1, \
4171 ::RCF::RemoveOut<A2 >::type a2, \
4172 ::RCF::RemoveOut<A3 >::type a3, \
4173 ::RCF::RemoveOut<A4 >::type a4, \
4174 ::RCF::RemoveOut<A5 >::type a5, \
4175 ::RCF::RemoveOut<A6 >::type a6, \
4176 ::RCF::RemoveOut<A7 >::type a7, \
4177 ::RCF::RemoveOut<A8 >::type a8, \
4178 ::RCF::RemoveOut<A9 >::type a9) \
4189 #define RCF_METHOD_V9_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
4190 RCF_METHOD_V9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, V9))
4192 #define RCF_METHOD_V9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
4194 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4195 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4196 ::RCF::FutureImpl<V> func( \
4197 ::RCF::RemoveOut<A1 >::type a1, \
4198 ::RCF::RemoveOut<A2 >::type a2, \
4199 ::RCF::RemoveOut<A3 >::type a3, \
4200 ::RCF::RemoveOut<A4 >::type a4, \
4201 ::RCF::RemoveOut<A5 >::type a5, \
4202 ::RCF::RemoveOut<A6 >::type a6, \
4203 ::RCF::RemoveOut<A7 >::type a7, \
4204 ::RCF::RemoveOut<A8 >::type a8, \
4205 ::RCF::RemoveOut<A9 >::type a9) \
4208 ::RCF::CallOptions() , \
4209 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
4211 ::RCF::FutureImpl<V> func( \
4212 const ::RCF::CallOptions &callOptions , \
4213 ::RCF::RemoveOut<A1 >::type a1, \
4214 ::RCF::RemoveOut<A2 >::type a2, \
4215 ::RCF::RemoveOut<A3 >::type a3, \
4216 ::RCF::RemoveOut<A4 >::type a4, \
4217 ::RCF::RemoveOut<A5 >::type a5, \
4218 ::RCF::RemoveOut<A6 >::type a6, \
4219 ::RCF::RemoveOut<A7 >::type a7, \
4220 ::RCF::RemoveOut<A8 >::type a8, \
4221 ::RCF::RemoveOut<A9 >::type a9) \
4223 getClientStub().setAsync(false); \
4224 return RCF::FutureImpl<V>( \
4225 ::RCF::AllocateClientParameters< \
4227 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
4230 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
4231 V(),V(),V(),V(),V(),V()).r.get(), \
4235 callOptions.apply(getClientStub()), \
4239 const char * getFunctionName(const id &) \
4243 const char * getArity(const id &) \
4249 template<typename T> \
4252 ::RCF::RcfSession &session, \
4255 if (session.isInProcess()) \
4257 ::RCF::ClientParameters< \
4259 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &p = static_cast<\
4260 ::RCF::ClientParameters< \
4262 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &>(* session.getInProcessParameters());\
4263 RCF_UNUSED_VARIABLE(p); \
4277 ::RCF::ServerParameters< \
4279 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
4280 ::RCF::AllocateServerParameters< \
4282 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
4283 RCF_UNUSED_VARIABLE(p); \
4298 #define RCF_METHOD_V9_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
4299 RCF_METHOD_V9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, V9))
4301 #define RCF_METHOD_V9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
4303 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4304 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4305 ::RCF::FutureImpl<V> func( \
4306 ::RCF::RemoveOut<A1 >::type a1, \
4307 ::RCF::RemoveOut<A2 >::type a2, \
4308 ::RCF::RemoveOut<A3 >::type a3, \
4309 ::RCF::RemoveOut<A4 >::type a4, \
4310 ::RCF::RemoveOut<A5 >::type a5, \
4311 ::RCF::RemoveOut<A6 >::type a6, \
4312 ::RCF::RemoveOut<A7 >::type a7, \
4313 ::RCF::RemoveOut<A8 >::type a8, \
4314 ::RCF::RemoveOut<A9 >::type a9) \
4317 ::RCF::CallOptions() , \
4318 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
4321 ::RCF::FutureImpl<V> func( \
4322 const ::RCF::CallOptions &callOptions , \
4323 ::RCF::RemoveOut<A1 >::type a1, \
4324 ::RCF::RemoveOut<A2 >::type a2, \
4325 ::RCF::RemoveOut<A3 >::type a3, \
4326 ::RCF::RemoveOut<A4 >::type a4, \
4327 ::RCF::RemoveOut<A5 >::type a5, \
4328 ::RCF::RemoveOut<A6 >::type a6, \
4329 ::RCF::RemoveOut<A7 >::type a7, \
4330 ::RCF::RemoveOut<A8 >::type a8, \
4331 ::RCF::RemoveOut<A9 >::type a9); \
4333 void error__method_defined_out_of_order__##func( \
4335 ::RCF::RemoveOut<A1 >::type a1, \
4336 ::RCF::RemoveOut<A2 >::type a2, \
4337 ::RCF::RemoveOut<A3 >::type a3, \
4338 ::RCF::RemoveOut<A4 >::type a4, \
4339 ::RCF::RemoveOut<A5 >::type a5, \
4340 ::RCF::RemoveOut<A6 >::type a6, \
4341 ::RCF::RemoveOut<A7 >::type a7, \
4342 ::RCF::RemoveOut<A8 >::type a8, \
4343 ::RCF::RemoveOut<A9 >::type a9); \
4345 const char * getFunctionName(const id &) \
4349 const char * getArity(const id &) \
4355 template<typename T> \
4358 ::RCF::RcfSession &session, \
4361 if (session.isInProcess()) \
4363 ::RCF::ClientParameters< \
4365 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &p = static_cast<\
4366 ::RCF::ClientParameters< \
4368 A1,A2,A3,A4,A5,A6,A7,A8,A9 , V,V,V,V,V,V > &>(* session.getInProcessParameters());\
4369 RCF_UNUSED_VARIABLE(p); \
4383 ::RCF::ServerParameters< \
4385 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
4386 ::RCF::AllocateServerParameters< \
4388 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
4389 RCF_UNUSED_VARIABLE(p); \
4404 #define RCF_METHOD_V9_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
4405 RCF_METHOD_V9_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_PP_CAT(rcf_interface_id_1_, func, R9, __LINE__), RCF_MAKE_UNIQUE_ID(func, R9), RCF_PP_CAT(rcf_interface_id_2_, func, R9, __LINE__))
4407 #define RCF_METHOD_V9_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, interfaceId, funcId, genParms)\
4408 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4409 typedef GeneratorParms<interfaceId> genParms; \
4410 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4411 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
4412 const ::RCF::CallOptions &callOptions , \
4413 ::RCF::RemoveOut<A1 >::type a1, \
4414 ::RCF::RemoveOut<A2 >::type a2, \
4415 ::RCF::RemoveOut<A3 >::type a3, \
4416 ::RCF::RemoveOut<A4 >::type a4, \
4417 ::RCF::RemoveOut<A5 >::type a5, \
4418 ::RCF::RemoveOut<A6 >::type a6, \
4419 ::RCF::RemoveOut<A7 >::type a7, \
4420 ::RCF::RemoveOut<A8 >::type a8, \
4421 ::RCF::RemoveOut<A9 >::type a9) \
4423 typedef ::RCF::Void V; \
4424 getClientStub().setAsync(false); \
4425 return RCF::FutureImpl<V >( \
4426 ::RCF::AllocateClientParameters< \
4428 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
4431 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
4432 V(),V(),V(),V(),V(),V()).r.get(), \
4436 callOptions.apply(getClientStub()), \
4440 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
4442 ::RCF::RemoveOut<A1 >::type a1, \
4443 ::RCF::RemoveOut<A2 >::type a2, \
4444 ::RCF::RemoveOut<A3 >::type a3, \
4445 ::RCF::RemoveOut<A4 >::type a4, \
4446 ::RCF::RemoveOut<A5 >::type a5, \
4447 ::RCF::RemoveOut<A6 >::type a6, \
4448 ::RCF::RemoveOut<A7 >::type a7, \
4449 ::RCF::RemoveOut<A8 >::type a8, \
4450 ::RCF::RemoveOut<A9 >::type a9) \
4462 #define RCF_METHOD_R10_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4463 RCF_METHOD_R10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, R10))
4465 #define RCF_METHOD_R10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
4467 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4468 ::RCF::FutureImpl<R > func( \
4469 ::RCF::RemoveOut<A1 >::type a1, \
4470 ::RCF::RemoveOut<A2 >::type a2, \
4471 ::RCF::RemoveOut<A3 >::type a3, \
4472 ::RCF::RemoveOut<A4 >::type a4, \
4473 ::RCF::RemoveOut<A5 >::type a5, \
4474 ::RCF::RemoveOut<A6 >::type a6, \
4475 ::RCF::RemoveOut<A7 >::type a7, \
4476 ::RCF::RemoveOut<A8 >::type a8, \
4477 ::RCF::RemoveOut<A9 >::type a9, \
4478 ::RCF::RemoveOut<A10 >::type a10) \
4481 ::RCF::CallOptions() , \
4482 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
4484 ::RCF::FutureImpl<R > func( \
4485 const ::RCF::CallOptions &callOptions , \
4486 ::RCF::RemoveOut<A1 >::type a1, \
4487 ::RCF::RemoveOut<A2 >::type a2, \
4488 ::RCF::RemoveOut<A3 >::type a3, \
4489 ::RCF::RemoveOut<A4 >::type a4, \
4490 ::RCF::RemoveOut<A5 >::type a5, \
4491 ::RCF::RemoveOut<A6 >::type a6, \
4492 ::RCF::RemoveOut<A7 >::type a7, \
4493 ::RCF::RemoveOut<A8 >::type a8, \
4494 ::RCF::RemoveOut<A9 >::type a9, \
4495 ::RCF::RemoveOut<A10 >::type a10) \
4497 getClientStub().setAsync(false); \
4498 return RCF::FutureImpl<R >( \
4499 ::RCF::AllocateClientParameters< \
4501 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
4504 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
4505 V(),V(),V(),V(),V()).r.get(), \
4509 callOptions.apply(getClientStub()), \
4513 const char * getFunctionName(const id &) \
4517 const char * getArity(const id &) \
4523 template<typename T> \
4526 ::RCF::RcfSession &session, \
4529 if (session.isInProcess()) \
4531 ::RCF::ClientParameters< \
4533 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &p = static_cast<\
4534 ::RCF::ClientParameters< \
4536 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &>(* session.getInProcessParameters());\
4537 p.r.set( t.func( p.a1.get(), \
4550 ::RCF::ServerParameters< \
4552 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
4553 ::RCF::AllocateServerParameters< \
4555 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
4557 session.getAutoSend(), \
4573 #define RCF_METHOD_R10_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4574 RCF_METHOD_R10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, R10))
4576 #define RCF_METHOD_R10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
4578 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4579 ::RCF::FutureImpl<R > func( \
4580 ::RCF::RemoveOut<A1 >::type a1, \
4581 ::RCF::RemoveOut<A2 >::type a2, \
4582 ::RCF::RemoveOut<A3 >::type a3, \
4583 ::RCF::RemoveOut<A4 >::type a4, \
4584 ::RCF::RemoveOut<A5 >::type a5, \
4585 ::RCF::RemoveOut<A6 >::type a6, \
4586 ::RCF::RemoveOut<A7 >::type a7, \
4587 ::RCF::RemoveOut<A8 >::type a8, \
4588 ::RCF::RemoveOut<A9 >::type a9, \
4589 ::RCF::RemoveOut<A10 >::type a10) \
4592 ::RCF::CallOptions() , \
4593 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
4596 ::RCF::FutureImpl<R > func( \
4597 const ::RCF::CallOptions &callOptions , \
4598 ::RCF::RemoveOut<A1 >::type a1, \
4599 ::RCF::RemoveOut<A2 >::type a2, \
4600 ::RCF::RemoveOut<A3 >::type a3, \
4601 ::RCF::RemoveOut<A4 >::type a4, \
4602 ::RCF::RemoveOut<A5 >::type a5, \
4603 ::RCF::RemoveOut<A6 >::type a6, \
4604 ::RCF::RemoveOut<A7 >::type a7, \
4605 ::RCF::RemoveOut<A8 >::type a8, \
4606 ::RCF::RemoveOut<A9 >::type a9, \
4607 ::RCF::RemoveOut<A10 >::type a10); \
4609 void error__method_defined_out_of_order__##func( \
4611 ::RCF::RemoveOut<A1 >::type a1, \
4612 ::RCF::RemoveOut<A2 >::type a2, \
4613 ::RCF::RemoveOut<A3 >::type a3, \
4614 ::RCF::RemoveOut<A4 >::type a4, \
4615 ::RCF::RemoveOut<A5 >::type a5, \
4616 ::RCF::RemoveOut<A6 >::type a6, \
4617 ::RCF::RemoveOut<A7 >::type a7, \
4618 ::RCF::RemoveOut<A8 >::type a8, \
4619 ::RCF::RemoveOut<A9 >::type a9, \
4620 ::RCF::RemoveOut<A10 >::type a10); \
4622 const char * getFunctionName(const id &) \
4626 const char * getArity(const id &) \
4632 template<typename T> \
4635 ::RCF::RcfSession &session, \
4638 if (session.isInProcess()) \
4640 ::RCF::ClientParameters< \
4642 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &p = static_cast<\
4643 ::RCF::ClientParameters< \
4645 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &>(* session.getInProcessParameters());\
4646 p.r.set( t.func( p.a1.get(), \
4659 ::RCF::ServerParameters< \
4661 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
4662 ::RCF::AllocateServerParameters< \
4664 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
4666 session.getAutoSend(), \
4682 #define RCF_METHOD_R10_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4683 RCF_METHOD_R10_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_PP_CAT(rcf_interface_id_1_, func, R10, __LINE__), RCF_MAKE_UNIQUE_ID(func, R10), RCF_PP_CAT(rcf_interface_id_2_, func, R10, __LINE__))
4685 #define RCF_METHOD_R10_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, interfaceId, funcId, genParms)\
4686 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4687 typedef GeneratorParms<interfaceId> genParms; \
4688 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4689 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
4690 const ::RCF::CallOptions &callOptions , \
4691 ::RCF::RemoveOut<A1 >::type a1, \
4692 ::RCF::RemoveOut<A2 >::type a2, \
4693 ::RCF::RemoveOut<A3 >::type a3, \
4694 ::RCF::RemoveOut<A4 >::type a4, \
4695 ::RCF::RemoveOut<A5 >::type a5, \
4696 ::RCF::RemoveOut<A6 >::type a6, \
4697 ::RCF::RemoveOut<A7 >::type a7, \
4698 ::RCF::RemoveOut<A8 >::type a8, \
4699 ::RCF::RemoveOut<A9 >::type a9, \
4700 ::RCF::RemoveOut<A10 >::type a10) \
4702 getClientStub().setAsync(false); \
4703 return RCF::FutureImpl<R >( \
4704 ::RCF::AllocateClientParameters< \
4706 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
4709 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
4710 V(),V(),V(),V(),V()).r.get(), \
4714 callOptions.apply(getClientStub()), \
4718 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
4720 ::RCF::RemoveOut<A1 >::type a1, \
4721 ::RCF::RemoveOut<A2 >::type a2, \
4722 ::RCF::RemoveOut<A3 >::type a3, \
4723 ::RCF::RemoveOut<A4 >::type a4, \
4724 ::RCF::RemoveOut<A5 >::type a5, \
4725 ::RCF::RemoveOut<A6 >::type a6, \
4726 ::RCF::RemoveOut<A7 >::type a7, \
4727 ::RCF::RemoveOut<A8 >::type a8, \
4728 ::RCF::RemoveOut<A9 >::type a9, \
4729 ::RCF::RemoveOut<A10 >::type a10) \
4740 #define RCF_METHOD_V10_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4741 RCF_METHOD_V10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, V10))
4743 #define RCF_METHOD_V10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
4745 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4746 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4747 ::RCF::FutureImpl<V> func( \
4748 ::RCF::RemoveOut<A1 >::type a1, \
4749 ::RCF::RemoveOut<A2 >::type a2, \
4750 ::RCF::RemoveOut<A3 >::type a3, \
4751 ::RCF::RemoveOut<A4 >::type a4, \
4752 ::RCF::RemoveOut<A5 >::type a5, \
4753 ::RCF::RemoveOut<A6 >::type a6, \
4754 ::RCF::RemoveOut<A7 >::type a7, \
4755 ::RCF::RemoveOut<A8 >::type a8, \
4756 ::RCF::RemoveOut<A9 >::type a9, \
4757 ::RCF::RemoveOut<A10 >::type a10) \
4760 ::RCF::CallOptions() , \
4761 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
4763 ::RCF::FutureImpl<V> func( \
4764 const ::RCF::CallOptions &callOptions , \
4765 ::RCF::RemoveOut<A1 >::type a1, \
4766 ::RCF::RemoveOut<A2 >::type a2, \
4767 ::RCF::RemoveOut<A3 >::type a3, \
4768 ::RCF::RemoveOut<A4 >::type a4, \
4769 ::RCF::RemoveOut<A5 >::type a5, \
4770 ::RCF::RemoveOut<A6 >::type a6, \
4771 ::RCF::RemoveOut<A7 >::type a7, \
4772 ::RCF::RemoveOut<A8 >::type a8, \
4773 ::RCF::RemoveOut<A9 >::type a9, \
4774 ::RCF::RemoveOut<A10 >::type a10) \
4776 getClientStub().setAsync(false); \
4777 return RCF::FutureImpl<V>( \
4778 ::RCF::AllocateClientParameters< \
4780 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
4783 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
4784 V(),V(),V(),V(),V()).r.get(), \
4788 callOptions.apply(getClientStub()), \
4792 const char * getFunctionName(const id &) \
4796 const char * getArity(const id &) \
4802 template<typename T> \
4805 ::RCF::RcfSession &session, \
4808 if (session.isInProcess()) \
4810 ::RCF::ClientParameters< \
4812 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &p = static_cast<\
4813 ::RCF::ClientParameters< \
4815 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &>(* session.getInProcessParameters());\
4816 RCF_UNUSED_VARIABLE(p); \
4831 ::RCF::ServerParameters< \
4833 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
4834 ::RCF::AllocateServerParameters< \
4836 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
4837 RCF_UNUSED_VARIABLE(p); \
4853 #define RCF_METHOD_V10_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4854 RCF_METHOD_V10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, V10))
4856 #define RCF_METHOD_V10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
4858 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4859 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4860 ::RCF::FutureImpl<V> func( \
4861 ::RCF::RemoveOut<A1 >::type a1, \
4862 ::RCF::RemoveOut<A2 >::type a2, \
4863 ::RCF::RemoveOut<A3 >::type a3, \
4864 ::RCF::RemoveOut<A4 >::type a4, \
4865 ::RCF::RemoveOut<A5 >::type a5, \
4866 ::RCF::RemoveOut<A6 >::type a6, \
4867 ::RCF::RemoveOut<A7 >::type a7, \
4868 ::RCF::RemoveOut<A8 >::type a8, \
4869 ::RCF::RemoveOut<A9 >::type a9, \
4870 ::RCF::RemoveOut<A10 >::type a10) \
4873 ::RCF::CallOptions() , \
4874 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
4877 ::RCF::FutureImpl<V> func( \
4878 const ::RCF::CallOptions &callOptions , \
4879 ::RCF::RemoveOut<A1 >::type a1, \
4880 ::RCF::RemoveOut<A2 >::type a2, \
4881 ::RCF::RemoveOut<A3 >::type a3, \
4882 ::RCF::RemoveOut<A4 >::type a4, \
4883 ::RCF::RemoveOut<A5 >::type a5, \
4884 ::RCF::RemoveOut<A6 >::type a6, \
4885 ::RCF::RemoveOut<A7 >::type a7, \
4886 ::RCF::RemoveOut<A8 >::type a8, \
4887 ::RCF::RemoveOut<A9 >::type a9, \
4888 ::RCF::RemoveOut<A10 >::type a10); \
4890 void error__method_defined_out_of_order__##func( \
4892 ::RCF::RemoveOut<A1 >::type a1, \
4893 ::RCF::RemoveOut<A2 >::type a2, \
4894 ::RCF::RemoveOut<A3 >::type a3, \
4895 ::RCF::RemoveOut<A4 >::type a4, \
4896 ::RCF::RemoveOut<A5 >::type a5, \
4897 ::RCF::RemoveOut<A6 >::type a6, \
4898 ::RCF::RemoveOut<A7 >::type a7, \
4899 ::RCF::RemoveOut<A8 >::type a8, \
4900 ::RCF::RemoveOut<A9 >::type a9, \
4901 ::RCF::RemoveOut<A10 >::type a10); \
4903 const char * getFunctionName(const id &) \
4907 const char * getArity(const id &) \
4913 template<typename T> \
4916 ::RCF::RcfSession &session, \
4919 if (session.isInProcess()) \
4921 ::RCF::ClientParameters< \
4923 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &p = static_cast<\
4924 ::RCF::ClientParameters< \
4926 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , V,V,V,V,V > &>(* session.getInProcessParameters());\
4927 RCF_UNUSED_VARIABLE(p); \
4942 ::RCF::ServerParameters< \
4944 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
4945 ::RCF::AllocateServerParameters< \
4947 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
4948 RCF_UNUSED_VARIABLE(p); \
4964 #define RCF_METHOD_V10_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4965 RCF_METHOD_V10_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_PP_CAT(rcf_interface_id_1_, func, R10, __LINE__), RCF_MAKE_UNIQUE_ID(func, R10), RCF_PP_CAT(rcf_interface_id_2_, func, R10, __LINE__))
4967 #define RCF_METHOD_V10_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, interfaceId, funcId, genParms)\
4968 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4969 typedef GeneratorParms<interfaceId> genParms; \
4970 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4971 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
4972 const ::RCF::CallOptions &callOptions , \
4973 ::RCF::RemoveOut<A1 >::type a1, \
4974 ::RCF::RemoveOut<A2 >::type a2, \
4975 ::RCF::RemoveOut<A3 >::type a3, \
4976 ::RCF::RemoveOut<A4 >::type a4, \
4977 ::RCF::RemoveOut<A5 >::type a5, \
4978 ::RCF::RemoveOut<A6 >::type a6, \
4979 ::RCF::RemoveOut<A7 >::type a7, \
4980 ::RCF::RemoveOut<A8 >::type a8, \
4981 ::RCF::RemoveOut<A9 >::type a9, \
4982 ::RCF::RemoveOut<A10 >::type a10) \
4984 typedef ::RCF::Void V; \
4985 getClientStub().setAsync(false); \
4986 return RCF::FutureImpl<V >( \
4987 ::RCF::AllocateClientParameters< \
4989 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
4992 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
4993 V(),V(),V(),V(),V()).r.get(), \
4997 callOptions.apply(getClientStub()), \
5001 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5003 ::RCF::RemoveOut<A1 >::type a1, \
5004 ::RCF::RemoveOut<A2 >::type a2, \
5005 ::RCF::RemoveOut<A3 >::type a3, \
5006 ::RCF::RemoveOut<A4 >::type a4, \
5007 ::RCF::RemoveOut<A5 >::type a5, \
5008 ::RCF::RemoveOut<A6 >::type a6, \
5009 ::RCF::RemoveOut<A7 >::type a7, \
5010 ::RCF::RemoveOut<A8 >::type a8, \
5011 ::RCF::RemoveOut<A9 >::type a9, \
5012 ::RCF::RemoveOut<A10 >::type a10) \
5024 #define RCF_METHOD_R11_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
5025 RCF_METHOD_R11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, R11))
5027 #define RCF_METHOD_R11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id)\
5029 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5030 ::RCF::FutureImpl<R > func( \
5031 ::RCF::RemoveOut<A1 >::type a1, \
5032 ::RCF::RemoveOut<A2 >::type a2, \
5033 ::RCF::RemoveOut<A3 >::type a3, \
5034 ::RCF::RemoveOut<A4 >::type a4, \
5035 ::RCF::RemoveOut<A5 >::type a5, \
5036 ::RCF::RemoveOut<A6 >::type a6, \
5037 ::RCF::RemoveOut<A7 >::type a7, \
5038 ::RCF::RemoveOut<A8 >::type a8, \
5039 ::RCF::RemoveOut<A9 >::type a9, \
5040 ::RCF::RemoveOut<A10 >::type a10, \
5041 ::RCF::RemoveOut<A11 >::type a11) \
5044 ::RCF::CallOptions() , \
5045 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
5047 ::RCF::FutureImpl<R > func( \
5048 const ::RCF::CallOptions &callOptions , \
5049 ::RCF::RemoveOut<A1 >::type a1, \
5050 ::RCF::RemoveOut<A2 >::type a2, \
5051 ::RCF::RemoveOut<A3 >::type a3, \
5052 ::RCF::RemoveOut<A4 >::type a4, \
5053 ::RCF::RemoveOut<A5 >::type a5, \
5054 ::RCF::RemoveOut<A6 >::type a6, \
5055 ::RCF::RemoveOut<A7 >::type a7, \
5056 ::RCF::RemoveOut<A8 >::type a8, \
5057 ::RCF::RemoveOut<A9 >::type a9, \
5058 ::RCF::RemoveOut<A10 >::type a10, \
5059 ::RCF::RemoveOut<A11 >::type a11) \
5061 getClientStub().setAsync(false); \
5062 return RCF::FutureImpl<R >( \
5063 ::RCF::AllocateClientParameters< \
5065 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
5068 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
5069 V(),V(),V(),V()).r.get(), \
5073 callOptions.apply(getClientStub()), \
5077 const char * getFunctionName(const id &) \
5081 const char * getArity(const id &) \
5087 template<typename T> \
5090 ::RCF::RcfSession &session, \
5093 if (session.isInProcess()) \
5095 ::RCF::ClientParameters< \
5097 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &p = static_cast<\
5098 ::RCF::ClientParameters< \
5100 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &>(* session.getInProcessParameters());\
5101 p.r.set( t.func( p.a1.get(), \
5115 ::RCF::ServerParameters< \
5117 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
5118 ::RCF::AllocateServerParameters< \
5120 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session); \
5122 session.getAutoSend(), \
5139 #define RCF_METHOD_R11_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
5140 RCF_METHOD_R11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, R11))
5142 #define RCF_METHOD_R11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id) \
5144 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5145 ::RCF::FutureImpl<R > func( \
5146 ::RCF::RemoveOut<A1 >::type a1, \
5147 ::RCF::RemoveOut<A2 >::type a2, \
5148 ::RCF::RemoveOut<A3 >::type a3, \
5149 ::RCF::RemoveOut<A4 >::type a4, \
5150 ::RCF::RemoveOut<A5 >::type a5, \
5151 ::RCF::RemoveOut<A6 >::type a6, \
5152 ::RCF::RemoveOut<A7 >::type a7, \
5153 ::RCF::RemoveOut<A8 >::type a8, \
5154 ::RCF::RemoveOut<A9 >::type a9, \
5155 ::RCF::RemoveOut<A10 >::type a10, \
5156 ::RCF::RemoveOut<A11 >::type a11) \
5159 ::RCF::CallOptions() , \
5160 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
5163 ::RCF::FutureImpl<R > func( \
5164 const ::RCF::CallOptions &callOptions , \
5165 ::RCF::RemoveOut<A1 >::type a1, \
5166 ::RCF::RemoveOut<A2 >::type a2, \
5167 ::RCF::RemoveOut<A3 >::type a3, \
5168 ::RCF::RemoveOut<A4 >::type a4, \
5169 ::RCF::RemoveOut<A5 >::type a5, \
5170 ::RCF::RemoveOut<A6 >::type a6, \
5171 ::RCF::RemoveOut<A7 >::type a7, \
5172 ::RCF::RemoveOut<A8 >::type a8, \
5173 ::RCF::RemoveOut<A9 >::type a9, \
5174 ::RCF::RemoveOut<A10 >::type a10, \
5175 ::RCF::RemoveOut<A11 >::type a11); \
5177 void error__method_defined_out_of_order__##func( \
5179 ::RCF::RemoveOut<A1 >::type a1, \
5180 ::RCF::RemoveOut<A2 >::type a2, \
5181 ::RCF::RemoveOut<A3 >::type a3, \
5182 ::RCF::RemoveOut<A4 >::type a4, \
5183 ::RCF::RemoveOut<A5 >::type a5, \
5184 ::RCF::RemoveOut<A6 >::type a6, \
5185 ::RCF::RemoveOut<A7 >::type a7, \
5186 ::RCF::RemoveOut<A8 >::type a8, \
5187 ::RCF::RemoveOut<A9 >::type a9, \
5188 ::RCF::RemoveOut<A10 >::type a10, \
5189 ::RCF::RemoveOut<A11 >::type a11); \
5191 const char * getFunctionName(const id &) \
5195 const char * getArity(const id &) \
5201 template<typename T> \
5204 ::RCF::RcfSession &session, \
5207 if (session.isInProcess()) \
5209 ::RCF::ClientParameters< \
5211 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &p = static_cast<\
5212 ::RCF::ClientParameters< \
5214 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &>(* session.getInProcessParameters());\
5215 p.r.set( t.func( p.a1.get(), \
5229 ::RCF::ServerParameters< \
5231 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
5232 ::RCF::AllocateServerParameters< \
5234 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session); \
5236 session.getAutoSend(), \
5253 #define RCF_METHOD_R11_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
5254 RCF_METHOD_R11_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_PP_CAT(rcf_interface_id_1_, func, R11, __LINE__), RCF_MAKE_UNIQUE_ID(func, R11), RCF_PP_CAT(rcf_interface_id_2_, func, R11, __LINE__))
5256 #define RCF_METHOD_R11_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, interfaceId, funcId, genParms)\
5257 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
5258 typedef GeneratorParms<interfaceId> genParms; \
5259 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
5260 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
5261 const ::RCF::CallOptions &callOptions , \
5262 ::RCF::RemoveOut<A1 >::type a1, \
5263 ::RCF::RemoveOut<A2 >::type a2, \
5264 ::RCF::RemoveOut<A3 >::type a3, \
5265 ::RCF::RemoveOut<A4 >::type a4, \
5266 ::RCF::RemoveOut<A5 >::type a5, \
5267 ::RCF::RemoveOut<A6 >::type a6, \
5268 ::RCF::RemoveOut<A7 >::type a7, \
5269 ::RCF::RemoveOut<A8 >::type a8, \
5270 ::RCF::RemoveOut<A9 >::type a9, \
5271 ::RCF::RemoveOut<A10 >::type a10, \
5272 ::RCF::RemoveOut<A11 >::type a11) \
5274 getClientStub().setAsync(false); \
5275 return RCF::FutureImpl<R >( \
5276 ::RCF::AllocateClientParameters< \
5278 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
5281 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
5282 V(),V(),V(),V()).r.get(), \
5286 callOptions.apply(getClientStub()), \
5290 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5292 ::RCF::RemoveOut<A1 >::type a1, \
5293 ::RCF::RemoveOut<A2 >::type a2, \
5294 ::RCF::RemoveOut<A3 >::type a3, \
5295 ::RCF::RemoveOut<A4 >::type a4, \
5296 ::RCF::RemoveOut<A5 >::type a5, \
5297 ::RCF::RemoveOut<A6 >::type a6, \
5298 ::RCF::RemoveOut<A7 >::type a7, \
5299 ::RCF::RemoveOut<A8 >::type a8, \
5300 ::RCF::RemoveOut<A9 >::type a9, \
5301 ::RCF::RemoveOut<A10 >::type a10, \
5302 ::RCF::RemoveOut<A11 >::type a11) \
5313 #define RCF_METHOD_V11_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
5314 RCF_METHOD_V11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, V11))
5316 #define RCF_METHOD_V11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id)\
5318 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
5319 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5320 ::RCF::FutureImpl<V> func( \
5321 ::RCF::RemoveOut<A1 >::type a1, \
5322 ::RCF::RemoveOut<A2 >::type a2, \
5323 ::RCF::RemoveOut<A3 >::type a3, \
5324 ::RCF::RemoveOut<A4 >::type a4, \
5325 ::RCF::RemoveOut<A5 >::type a5, \
5326 ::RCF::RemoveOut<A6 >::type a6, \
5327 ::RCF::RemoveOut<A7 >::type a7, \
5328 ::RCF::RemoveOut<A8 >::type a8, \
5329 ::RCF::RemoveOut<A9 >::type a9, \
5330 ::RCF::RemoveOut<A10 >::type a10, \
5331 ::RCF::RemoveOut<A11 >::type a11) \
5334 ::RCF::CallOptions() , \
5335 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
5337 ::RCF::FutureImpl<V> func( \
5338 const ::RCF::CallOptions &callOptions , \
5339 ::RCF::RemoveOut<A1 >::type a1, \
5340 ::RCF::RemoveOut<A2 >::type a2, \
5341 ::RCF::RemoveOut<A3 >::type a3, \
5342 ::RCF::RemoveOut<A4 >::type a4, \
5343 ::RCF::RemoveOut<A5 >::type a5, \
5344 ::RCF::RemoveOut<A6 >::type a6, \
5345 ::RCF::RemoveOut<A7 >::type a7, \
5346 ::RCF::RemoveOut<A8 >::type a8, \
5347 ::RCF::RemoveOut<A9 >::type a9, \
5348 ::RCF::RemoveOut<A10 >::type a10, \
5349 ::RCF::RemoveOut<A11 >::type a11) \
5351 getClientStub().setAsync(false); \
5352 return RCF::FutureImpl<V>( \
5353 ::RCF::AllocateClientParameters< \
5355 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
5358 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
5359 V(),V(),V(),V()).r.get(), \
5363 callOptions.apply(getClientStub()), \
5367 const char * getFunctionName(const id &) \
5371 const char * getArity(const id &) \
5377 template<typename T> \
5380 ::RCF::RcfSession &session, \
5383 if (session.isInProcess()) \
5385 ::RCF::ClientParameters< \
5387 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &p = static_cast<\
5388 ::RCF::ClientParameters< \
5390 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &>(* session.getInProcessParameters());\
5391 RCF_UNUSED_VARIABLE(p); \
5407 ::RCF::ServerParameters< \
5409 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
5410 ::RCF::AllocateServerParameters< \
5412 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session);\
5413 RCF_UNUSED_VARIABLE(p); \
5430 #define RCF_METHOD_V11_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
5431 RCF_METHOD_V11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, V11))
5433 #define RCF_METHOD_V11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id) \
5435 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
5436 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5437 ::RCF::FutureImpl<V> func( \
5438 ::RCF::RemoveOut<A1 >::type a1, \
5439 ::RCF::RemoveOut<A2 >::type a2, \
5440 ::RCF::RemoveOut<A3 >::type a3, \
5441 ::RCF::RemoveOut<A4 >::type a4, \
5442 ::RCF::RemoveOut<A5 >::type a5, \
5443 ::RCF::RemoveOut<A6 >::type a6, \
5444 ::RCF::RemoveOut<A7 >::type a7, \
5445 ::RCF::RemoveOut<A8 >::type a8, \
5446 ::RCF::RemoveOut<A9 >::type a9, \
5447 ::RCF::RemoveOut<A10 >::type a10, \
5448 ::RCF::RemoveOut<A11 >::type a11) \
5451 ::RCF::CallOptions() , \
5452 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
5455 ::RCF::FutureImpl<V> func( \
5456 const ::RCF::CallOptions &callOptions , \
5457 ::RCF::RemoveOut<A1 >::type a1, \
5458 ::RCF::RemoveOut<A2 >::type a2, \
5459 ::RCF::RemoveOut<A3 >::type a3, \
5460 ::RCF::RemoveOut<A4 >::type a4, \
5461 ::RCF::RemoveOut<A5 >::type a5, \
5462 ::RCF::RemoveOut<A6 >::type a6, \
5463 ::RCF::RemoveOut<A7 >::type a7, \
5464 ::RCF::RemoveOut<A8 >::type a8, \
5465 ::RCF::RemoveOut<A9 >::type a9, \
5466 ::RCF::RemoveOut<A10 >::type a10, \
5467 ::RCF::RemoveOut<A11 >::type a11); \
5469 void error__method_defined_out_of_order__##func( \
5471 ::RCF::RemoveOut<A1 >::type a1, \
5472 ::RCF::RemoveOut<A2 >::type a2, \
5473 ::RCF::RemoveOut<A3 >::type a3, \
5474 ::RCF::RemoveOut<A4 >::type a4, \
5475 ::RCF::RemoveOut<A5 >::type a5, \
5476 ::RCF::RemoveOut<A6 >::type a6, \
5477 ::RCF::RemoveOut<A7 >::type a7, \
5478 ::RCF::RemoveOut<A8 >::type a8, \
5479 ::RCF::RemoveOut<A9 >::type a9, \
5480 ::RCF::RemoveOut<A10 >::type a10, \
5481 ::RCF::RemoveOut<A11 >::type a11); \
5483 const char * getFunctionName(const id &) \
5487 const char * getArity(const id &) \
5493 template<typename T> \
5496 ::RCF::RcfSession &session, \
5499 if (session.isInProcess()) \
5501 ::RCF::ClientParameters< \
5503 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &p = static_cast<\
5504 ::RCF::ClientParameters< \
5506 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , V,V,V,V > &>(* session.getInProcessParameters());\
5507 RCF_UNUSED_VARIABLE(p); \
5523 ::RCF::ServerParameters< \
5525 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
5526 ::RCF::AllocateServerParameters< \
5528 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session);\
5529 RCF_UNUSED_VARIABLE(p); \
5546 #define RCF_METHOD_V11_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
5547 RCF_METHOD_V11_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_PP_CAT(rcf_interface_id_1_, func, R11, __LINE__), RCF_MAKE_UNIQUE_ID(func, R11), RCF_PP_CAT(rcf_interface_id_2_, func, R11, __LINE__))
5549 #define RCF_METHOD_V11_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, interfaceId, funcId, genParms)\
5550 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
5551 typedef GeneratorParms<interfaceId> genParms; \
5552 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
5553 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
5554 const ::RCF::CallOptions &callOptions , \
5555 ::RCF::RemoveOut<A1 >::type a1, \
5556 ::RCF::RemoveOut<A2 >::type a2, \
5557 ::RCF::RemoveOut<A3 >::type a3, \
5558 ::RCF::RemoveOut<A4 >::type a4, \
5559 ::RCF::RemoveOut<A5 >::type a5, \
5560 ::RCF::RemoveOut<A6 >::type a6, \
5561 ::RCF::RemoveOut<A7 >::type a7, \
5562 ::RCF::RemoveOut<A8 >::type a8, \
5563 ::RCF::RemoveOut<A9 >::type a9, \
5564 ::RCF::RemoveOut<A10 >::type a10, \
5565 ::RCF::RemoveOut<A11 >::type a11) \
5567 typedef ::RCF::Void V; \
5568 getClientStub().setAsync(false); \
5569 return RCF::FutureImpl<V >( \
5570 ::RCF::AllocateClientParameters< \
5572 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
5575 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
5576 V(),V(),V(),V()).r.get(), \
5580 callOptions.apply(getClientStub()), \
5584 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5586 ::RCF::RemoveOut<A1 >::type a1, \
5587 ::RCF::RemoveOut<A2 >::type a2, \
5588 ::RCF::RemoveOut<A3 >::type a3, \
5589 ::RCF::RemoveOut<A4 >::type a4, \
5590 ::RCF::RemoveOut<A5 >::type a5, \
5591 ::RCF::RemoveOut<A6 >::type a6, \
5592 ::RCF::RemoveOut<A7 >::type a7, \
5593 ::RCF::RemoveOut<A8 >::type a8, \
5594 ::RCF::RemoveOut<A9 >::type a9, \
5595 ::RCF::RemoveOut<A10 >::type a10, \
5596 ::RCF::RemoveOut<A11 >::type a11) \
5608 #define RCF_METHOD_R12_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)\
5609 RCF_METHOD_R12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, R12))
5611 #define RCF_METHOD_R12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
5613 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5614 ::RCF::FutureImpl<R > func( \
5615 ::RCF::RemoveOut<A1 >::type a1, \
5616 ::RCF::RemoveOut<A2 >::type a2, \
5617 ::RCF::RemoveOut<A3 >::type a3, \
5618 ::RCF::RemoveOut<A4 >::type a4, \
5619 ::RCF::RemoveOut<A5 >::type a5, \
5620 ::RCF::RemoveOut<A6 >::type a6, \
5621 ::RCF::RemoveOut<A7 >::type a7, \
5622 ::RCF::RemoveOut<A8 >::type a8, \
5623 ::RCF::RemoveOut<A9 >::type a9, \
5624 ::RCF::RemoveOut<A10 >::type a10, \
5625 ::RCF::RemoveOut<A11 >::type a11, \
5626 ::RCF::RemoveOut<A12 >::type a12) \
5629 ::RCF::CallOptions() , \
5630 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
5632 ::RCF::FutureImpl<R > func( \
5633 const ::RCF::CallOptions &callOptions , \
5634 ::RCF::RemoveOut<A1 >::type a1, \
5635 ::RCF::RemoveOut<A2 >::type a2, \
5636 ::RCF::RemoveOut<A3 >::type a3, \
5637 ::RCF::RemoveOut<A4 >::type a4, \
5638 ::RCF::RemoveOut<A5 >::type a5, \
5639 ::RCF::RemoveOut<A6 >::type a6, \
5640 ::RCF::RemoveOut<A7 >::type a7, \
5641 ::RCF::RemoveOut<A8 >::type a8, \
5642 ::RCF::RemoveOut<A9 >::type a9, \
5643 ::RCF::RemoveOut<A10 >::type a10, \
5644 ::RCF::RemoveOut<A11 >::type a11, \
5645 ::RCF::RemoveOut<A12 >::type a12) \
5647 getClientStub().setAsync(false); \
5648 return RCF::FutureImpl<R >( \
5649 ::RCF::AllocateClientParameters< \
5651 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
5654 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
5655 V(),V(),V()).r.get(), \
5659 callOptions.apply(getClientStub()), \
5663 const char * getFunctionName(const id &) \
5667 const char * getArity(const id &) \
5673 template<typename T> \
5676 ::RCF::RcfSession &session, \
5679 if (session.isInProcess()) \
5681 ::RCF::ClientParameters< \
5683 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &p = static_cast<\
5684 ::RCF::ClientParameters< \
5686 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &>(* session.getInProcessParameters());\
5687 p.r.set( t.func( p.a1.get(), \
5702 ::RCF::ServerParameters< \
5704 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
5705 ::RCF::AllocateServerParameters< \
5707 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session);\
5709 session.getAutoSend(), \
5727 #define RCF_METHOD_R12_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
5728 RCF_METHOD_R12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, R12))
5730 #define RCF_METHOD_R12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
5732 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5733 ::RCF::FutureImpl<R > func( \
5734 ::RCF::RemoveOut<A1 >::type a1, \
5735 ::RCF::RemoveOut<A2 >::type a2, \
5736 ::RCF::RemoveOut<A3 >::type a3, \
5737 ::RCF::RemoveOut<A4 >::type a4, \
5738 ::RCF::RemoveOut<A5 >::type a5, \
5739 ::RCF::RemoveOut<A6 >::type a6, \
5740 ::RCF::RemoveOut<A7 >::type a7, \
5741 ::RCF::RemoveOut<A8 >::type a8, \
5742 ::RCF::RemoveOut<A9 >::type a9, \
5743 ::RCF::RemoveOut<A10 >::type a10, \
5744 ::RCF::RemoveOut<A11 >::type a11, \
5745 ::RCF::RemoveOut<A12 >::type a12) \
5748 ::RCF::CallOptions() , \
5749 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
5752 ::RCF::FutureImpl<R > func( \
5753 const ::RCF::CallOptions &callOptions , \
5754 ::RCF::RemoveOut<A1 >::type a1, \
5755 ::RCF::RemoveOut<A2 >::type a2, \
5756 ::RCF::RemoveOut<A3 >::type a3, \
5757 ::RCF::RemoveOut<A4 >::type a4, \
5758 ::RCF::RemoveOut<A5 >::type a5, \
5759 ::RCF::RemoveOut<A6 >::type a6, \
5760 ::RCF::RemoveOut<A7 >::type a7, \
5761 ::RCF::RemoveOut<A8 >::type a8, \
5762 ::RCF::RemoveOut<A9 >::type a9, \
5763 ::RCF::RemoveOut<A10 >::type a10, \
5764 ::RCF::RemoveOut<A11 >::type a11, \
5765 ::RCF::RemoveOut<A12 >::type a12); \
5767 void error__method_defined_out_of_order__##func( \
5769 ::RCF::RemoveOut<A1 >::type a1, \
5770 ::RCF::RemoveOut<A2 >::type a2, \
5771 ::RCF::RemoveOut<A3 >::type a3, \
5772 ::RCF::RemoveOut<A4 >::type a4, \
5773 ::RCF::RemoveOut<A5 >::type a5, \
5774 ::RCF::RemoveOut<A6 >::type a6, \
5775 ::RCF::RemoveOut<A7 >::type a7, \
5776 ::RCF::RemoveOut<A8 >::type a8, \
5777 ::RCF::RemoveOut<A9 >::type a9, \
5778 ::RCF::RemoveOut<A10 >::type a10, \
5779 ::RCF::RemoveOut<A11 >::type a11, \
5780 ::RCF::RemoveOut<A12 >::type a12); \
5782 const char * getFunctionName(const id &) \
5786 const char * getArity(const id &) \
5792 template<typename T> \
5795 ::RCF::RcfSession &session, \
5798 if (session.isInProcess()) \
5800 ::RCF::ClientParameters< \
5802 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &p = static_cast<\
5803 ::RCF::ClientParameters< \
5805 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &>(* session.getInProcessParameters());\
5806 p.r.set( t.func( p.a1.get(), \
5821 ::RCF::ServerParameters< \
5823 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
5824 ::RCF::AllocateServerParameters< \
5826 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session);\
5828 session.getAutoSend(), \
5846 #define RCF_METHOD_R12_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
5847 RCF_METHOD_R12_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_PP_CAT(rcf_interface_id_1_, func, R12, __LINE__), RCF_MAKE_UNIQUE_ID(func, R12), RCF_PP_CAT(rcf_interface_id_2_, func, R12, __LINE__))
5849 #define RCF_METHOD_R12_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, interfaceId, funcId, genParms)\
5850 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
5851 typedef GeneratorParms<interfaceId> genParms; \
5852 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
5853 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
5854 const ::RCF::CallOptions &callOptions , \
5855 ::RCF::RemoveOut<A1 >::type a1, \
5856 ::RCF::RemoveOut<A2 >::type a2, \
5857 ::RCF::RemoveOut<A3 >::type a3, \
5858 ::RCF::RemoveOut<A4 >::type a4, \
5859 ::RCF::RemoveOut<A5 >::type a5, \
5860 ::RCF::RemoveOut<A6 >::type a6, \
5861 ::RCF::RemoveOut<A7 >::type a7, \
5862 ::RCF::RemoveOut<A8 >::type a8, \
5863 ::RCF::RemoveOut<A9 >::type a9, \
5864 ::RCF::RemoveOut<A10 >::type a10, \
5865 ::RCF::RemoveOut<A11 >::type a11, \
5866 ::RCF::RemoveOut<A12 >::type a12) \
5868 getClientStub().setAsync(false); \
5869 return RCF::FutureImpl<R >( \
5870 ::RCF::AllocateClientParameters< \
5872 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
5875 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
5876 V(),V(),V()).r.get(), \
5880 callOptions.apply(getClientStub()), \
5884 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5886 ::RCF::RemoveOut<A1 >::type a1, \
5887 ::RCF::RemoveOut<A2 >::type a2, \
5888 ::RCF::RemoveOut<A3 >::type a3, \
5889 ::RCF::RemoveOut<A4 >::type a4, \
5890 ::RCF::RemoveOut<A5 >::type a5, \
5891 ::RCF::RemoveOut<A6 >::type a6, \
5892 ::RCF::RemoveOut<A7 >::type a7, \
5893 ::RCF::RemoveOut<A8 >::type a8, \
5894 ::RCF::RemoveOut<A9 >::type a9, \
5895 ::RCF::RemoveOut<A10 >::type a10, \
5896 ::RCF::RemoveOut<A11 >::type a11, \
5897 ::RCF::RemoveOut<A12 >::type a12) \
5908 #define RCF_METHOD_V12_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)\
5909 RCF_METHOD_V12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, V12))
5911 #define RCF_METHOD_V12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
5913 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
5914 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5915 ::RCF::FutureImpl<V> func( \
5916 ::RCF::RemoveOut<A1 >::type a1, \
5917 ::RCF::RemoveOut<A2 >::type a2, \
5918 ::RCF::RemoveOut<A3 >::type a3, \
5919 ::RCF::RemoveOut<A4 >::type a4, \
5920 ::RCF::RemoveOut<A5 >::type a5, \
5921 ::RCF::RemoveOut<A6 >::type a6, \
5922 ::RCF::RemoveOut<A7 >::type a7, \
5923 ::RCF::RemoveOut<A8 >::type a8, \
5924 ::RCF::RemoveOut<A9 >::type a9, \
5925 ::RCF::RemoveOut<A10 >::type a10, \
5926 ::RCF::RemoveOut<A11 >::type a11, \
5927 ::RCF::RemoveOut<A12 >::type a12) \
5930 ::RCF::CallOptions() , \
5931 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
5933 ::RCF::FutureImpl<V> func( \
5934 const ::RCF::CallOptions &callOptions , \
5935 ::RCF::RemoveOut<A1 >::type a1, \
5936 ::RCF::RemoveOut<A2 >::type a2, \
5937 ::RCF::RemoveOut<A3 >::type a3, \
5938 ::RCF::RemoveOut<A4 >::type a4, \
5939 ::RCF::RemoveOut<A5 >::type a5, \
5940 ::RCF::RemoveOut<A6 >::type a6, \
5941 ::RCF::RemoveOut<A7 >::type a7, \
5942 ::RCF::RemoveOut<A8 >::type a8, \
5943 ::RCF::RemoveOut<A9 >::type a9, \
5944 ::RCF::RemoveOut<A10 >::type a10, \
5945 ::RCF::RemoveOut<A11 >::type a11, \
5946 ::RCF::RemoveOut<A12 >::type a12) \
5948 getClientStub().setAsync(false); \
5949 return RCF::FutureImpl<V>( \
5950 ::RCF::AllocateClientParameters< \
5952 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
5955 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
5956 V(),V(),V()).r.get(), \
5960 callOptions.apply(getClientStub()), \
5964 const char * getFunctionName(const id &) \
5968 const char * getArity(const id &) \
5974 template<typename T> \
5977 ::RCF::RcfSession &session, \
5980 if (session.isInProcess()) \
5982 ::RCF::ClientParameters< \
5984 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &p = static_cast<\
5985 ::RCF::ClientParameters< \
5987 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &>(* session.getInProcessParameters());\
5988 RCF_UNUSED_VARIABLE(p); \
6005 ::RCF::ServerParameters< \
6007 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
6008 ::RCF::AllocateServerParameters< \
6010 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session);\
6011 RCF_UNUSED_VARIABLE(p); \
6029 #define RCF_METHOD_V12_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
6030 RCF_METHOD_V12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, V12))
6032 #define RCF_METHOD_V12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
6034 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
6035 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6036 ::RCF::FutureImpl<V> func( \
6037 ::RCF::RemoveOut<A1 >::type a1, \
6038 ::RCF::RemoveOut<A2 >::type a2, \
6039 ::RCF::RemoveOut<A3 >::type a3, \
6040 ::RCF::RemoveOut<A4 >::type a4, \
6041 ::RCF::RemoveOut<A5 >::type a5, \
6042 ::RCF::RemoveOut<A6 >::type a6, \
6043 ::RCF::RemoveOut<A7 >::type a7, \
6044 ::RCF::RemoveOut<A8 >::type a8, \
6045 ::RCF::RemoveOut<A9 >::type a9, \
6046 ::RCF::RemoveOut<A10 >::type a10, \
6047 ::RCF::RemoveOut<A11 >::type a11, \
6048 ::RCF::RemoveOut<A12 >::type a12) \
6051 ::RCF::CallOptions() , \
6052 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
6055 ::RCF::FutureImpl<V> func( \
6056 const ::RCF::CallOptions &callOptions , \
6057 ::RCF::RemoveOut<A1 >::type a1, \
6058 ::RCF::RemoveOut<A2 >::type a2, \
6059 ::RCF::RemoveOut<A3 >::type a3, \
6060 ::RCF::RemoveOut<A4 >::type a4, \
6061 ::RCF::RemoveOut<A5 >::type a5, \
6062 ::RCF::RemoveOut<A6 >::type a6, \
6063 ::RCF::RemoveOut<A7 >::type a7, \
6064 ::RCF::RemoveOut<A8 >::type a8, \
6065 ::RCF::RemoveOut<A9 >::type a9, \
6066 ::RCF::RemoveOut<A10 >::type a10, \
6067 ::RCF::RemoveOut<A11 >::type a11, \
6068 ::RCF::RemoveOut<A12 >::type a12); \
6070 void error__method_defined_out_of_order__##func( \
6072 ::RCF::RemoveOut<A1 >::type a1, \
6073 ::RCF::RemoveOut<A2 >::type a2, \
6074 ::RCF::RemoveOut<A3 >::type a3, \
6075 ::RCF::RemoveOut<A4 >::type a4, \
6076 ::RCF::RemoveOut<A5 >::type a5, \
6077 ::RCF::RemoveOut<A6 >::type a6, \
6078 ::RCF::RemoveOut<A7 >::type a7, \
6079 ::RCF::RemoveOut<A8 >::type a8, \
6080 ::RCF::RemoveOut<A9 >::type a9, \
6081 ::RCF::RemoveOut<A10 >::type a10, \
6082 ::RCF::RemoveOut<A11 >::type a11, \
6083 ::RCF::RemoveOut<A12 >::type a12); \
6085 const char * getFunctionName(const id &) \
6089 const char * getArity(const id &) \
6095 template<typename T> \
6098 ::RCF::RcfSession &session, \
6101 if (session.isInProcess()) \
6103 ::RCF::ClientParameters< \
6105 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &p = static_cast<\
6106 ::RCF::ClientParameters< \
6108 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , V,V,V > &>(* session.getInProcessParameters());\
6109 RCF_UNUSED_VARIABLE(p); \
6126 ::RCF::ServerParameters< \
6128 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
6129 ::RCF::AllocateServerParameters< \
6131 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session);\
6132 RCF_UNUSED_VARIABLE(p); \
6150 #define RCF_METHOD_V12_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
6151 RCF_METHOD_V12_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_PP_CAT(rcf_interface_id_1_, func, R12, __LINE__), RCF_MAKE_UNIQUE_ID(func, R12), RCF_PP_CAT(rcf_interface_id_2_, func, R12, __LINE__))
6153 #define RCF_METHOD_V12_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, interfaceId, funcId, genParms)\
6154 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
6155 typedef GeneratorParms<interfaceId> genParms; \
6156 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
6157 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
6158 const ::RCF::CallOptions &callOptions , \
6159 ::RCF::RemoveOut<A1 >::type a1, \
6160 ::RCF::RemoveOut<A2 >::type a2, \
6161 ::RCF::RemoveOut<A3 >::type a3, \
6162 ::RCF::RemoveOut<A4 >::type a4, \
6163 ::RCF::RemoveOut<A5 >::type a5, \
6164 ::RCF::RemoveOut<A6 >::type a6, \
6165 ::RCF::RemoveOut<A7 >::type a7, \
6166 ::RCF::RemoveOut<A8 >::type a8, \
6167 ::RCF::RemoveOut<A9 >::type a9, \
6168 ::RCF::RemoveOut<A10 >::type a10, \
6169 ::RCF::RemoveOut<A11 >::type a11, \
6170 ::RCF::RemoveOut<A12 >::type a12) \
6172 typedef ::RCF::Void V; \
6173 getClientStub().setAsync(false); \
6174 return RCF::FutureImpl<V >( \
6175 ::RCF::AllocateClientParameters< \
6177 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
6180 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
6181 V(),V(),V()).r.get(), \
6185 callOptions.apply(getClientStub()), \
6189 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
6191 ::RCF::RemoveOut<A1 >::type a1, \
6192 ::RCF::RemoveOut<A2 >::type a2, \
6193 ::RCF::RemoveOut<A3 >::type a3, \
6194 ::RCF::RemoveOut<A4 >::type a4, \
6195 ::RCF::RemoveOut<A5 >::type a5, \
6196 ::RCF::RemoveOut<A6 >::type a6, \
6197 ::RCF::RemoveOut<A7 >::type a7, \
6198 ::RCF::RemoveOut<A8 >::type a8, \
6199 ::RCF::RemoveOut<A9 >::type a9, \
6200 ::RCF::RemoveOut<A10 >::type a10, \
6201 ::RCF::RemoveOut<A11 >::type a11, \
6202 ::RCF::RemoveOut<A12 >::type a12) \
6214 #define RCF_METHOD_R13_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
6215 RCF_METHOD_R13_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, RCF_MAKE_UNIQUE_ID(func, R13))
6217 #define RCF_METHOD_R13_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
6219 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6220 ::RCF::FutureImpl<R > func( \
6221 ::RCF::RemoveOut<A1 >::type a1, \
6222 ::RCF::RemoveOut<A2 >::type a2, \
6223 ::RCF::RemoveOut<A3 >::type a3, \
6224 ::RCF::RemoveOut<A4 >::type a4, \
6225 ::RCF::RemoveOut<A5 >::type a5, \
6226 ::RCF::RemoveOut<A6 >::type a6, \
6227 ::RCF::RemoveOut<A7 >::type a7, \
6228 ::RCF::RemoveOut<A8 >::type a8, \
6229 ::RCF::RemoveOut<A9 >::type a9, \
6230 ::RCF::RemoveOut<A10 >::type a10, \
6231 ::RCF::RemoveOut<A11 >::type a11, \
6232 ::RCF::RemoveOut<A12 >::type a12, \
6233 ::RCF::RemoveOut<A13 >::type a13) \
6236 ::RCF::CallOptions() , \
6237 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
6239 ::RCF::FutureImpl<R > func( \
6240 const ::RCF::CallOptions &callOptions , \
6241 ::RCF::RemoveOut<A1 >::type a1, \
6242 ::RCF::RemoveOut<A2 >::type a2, \
6243 ::RCF::RemoveOut<A3 >::type a3, \
6244 ::RCF::RemoveOut<A4 >::type a4, \
6245 ::RCF::RemoveOut<A5 >::type a5, \
6246 ::RCF::RemoveOut<A6 >::type a6, \
6247 ::RCF::RemoveOut<A7 >::type a7, \
6248 ::RCF::RemoveOut<A8 >::type a8, \
6249 ::RCF::RemoveOut<A9 >::type a9, \
6250 ::RCF::RemoveOut<A10 >::type a10, \
6251 ::RCF::RemoveOut<A11 >::type a11, \
6252 ::RCF::RemoveOut<A12 >::type a12, \
6253 ::RCF::RemoveOut<A13 >::type a13) \
6255 getClientStub().setAsync(false); \
6256 return RCF::FutureImpl<R >( \
6257 ::RCF::AllocateClientParameters< \
6259 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
6262 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
6267 callOptions.apply(getClientStub()), \
6271 const char * getFunctionName(const id &) \
6275 const char * getArity(const id &) \
6281 template<typename T> \
6284 ::RCF::RcfSession &session, \
6287 if (session.isInProcess()) \
6289 ::RCF::ClientParameters< \
6291 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &p = static_cast<\
6292 ::RCF::ClientParameters< \
6294 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &>(* session.getInProcessParameters());\
6295 p.r.set( t.func( p.a1.get(), \
6311 ::RCF::ServerParameters< \
6313 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
6314 ::RCF::AllocateServerParameters< \
6316 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
6318 session.getAutoSend(), \
6337 #define RCF_METHOD_R13_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
6338 RCF_METHOD_R13_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, RCF_MAKE_UNIQUE_ID(func, R13))
6340 #define RCF_METHOD_R13_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
6342 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6343 ::RCF::FutureImpl<R > func( \
6344 ::RCF::RemoveOut<A1 >::type a1, \
6345 ::RCF::RemoveOut<A2 >::type a2, \
6346 ::RCF::RemoveOut<A3 >::type a3, \
6347 ::RCF::RemoveOut<A4 >::type a4, \
6348 ::RCF::RemoveOut<A5 >::type a5, \
6349 ::RCF::RemoveOut<A6 >::type a6, \
6350 ::RCF::RemoveOut<A7 >::type a7, \
6351 ::RCF::RemoveOut<A8 >::type a8, \
6352 ::RCF::RemoveOut<A9 >::type a9, \
6353 ::RCF::RemoveOut<A10 >::type a10, \
6354 ::RCF::RemoveOut<A11 >::type a11, \
6355 ::RCF::RemoveOut<A12 >::type a12, \
6356 ::RCF::RemoveOut<A13 >::type a13) \
6359 ::RCF::CallOptions() , \
6360 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
6363 ::RCF::FutureImpl<R > func( \
6364 const ::RCF::CallOptions &callOptions , \
6365 ::RCF::RemoveOut<A1 >::type a1, \
6366 ::RCF::RemoveOut<A2 >::type a2, \
6367 ::RCF::RemoveOut<A3 >::type a3, \
6368 ::RCF::RemoveOut<A4 >::type a4, \
6369 ::RCF::RemoveOut<A5 >::type a5, \
6370 ::RCF::RemoveOut<A6 >::type a6, \
6371 ::RCF::RemoveOut<A7 >::type a7, \
6372 ::RCF::RemoveOut<A8 >::type a8, \
6373 ::RCF::RemoveOut<A9 >::type a9, \
6374 ::RCF::RemoveOut<A10 >::type a10, \
6375 ::RCF::RemoveOut<A11 >::type a11, \
6376 ::RCF::RemoveOut<A12 >::type a12, \
6377 ::RCF::RemoveOut<A13 >::type a13); \
6379 void error__method_defined_out_of_order__##func( \
6381 ::RCF::RemoveOut<A1 >::type a1, \
6382 ::RCF::RemoveOut<A2 >::type a2, \
6383 ::RCF::RemoveOut<A3 >::type a3, \
6384 ::RCF::RemoveOut<A4 >::type a4, \
6385 ::RCF::RemoveOut<A5 >::type a5, \
6386 ::RCF::RemoveOut<A6 >::type a6, \
6387 ::RCF::RemoveOut<A7 >::type a7, \
6388 ::RCF::RemoveOut<A8 >::type a8, \
6389 ::RCF::RemoveOut<A9 >::type a9, \
6390 ::RCF::RemoveOut<A10 >::type a10, \
6391 ::RCF::RemoveOut<A11 >::type a11, \
6392 ::RCF::RemoveOut<A12 >::type a12, \
6393 ::RCF::RemoveOut<A13 >::type a13); \
6395 const char * getFunctionName(const id &) \
6399 const char * getArity(const id &) \
6405 template<typename T> \
6408 ::RCF::RcfSession &session, \
6411 if (session.isInProcess()) \
6413 ::RCF::ClientParameters< \
6415 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &p = static_cast<\
6416 ::RCF::ClientParameters< \
6418 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &>(* session.getInProcessParameters());\
6419 p.r.set( t.func( p.a1.get(), \
6435 ::RCF::ServerParameters< \
6437 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
6438 ::RCF::AllocateServerParameters< \
6440 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
6442 session.getAutoSend(), \
6461 #define RCF_METHOD_R13_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
6462 RCF_METHOD_R13_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, RCF_PP_CAT(rcf_interface_id_1_, func, R13, __LINE__), RCF_MAKE_UNIQUE_ID(func, R13), RCF_PP_CAT(rcf_interface_id_2_, func, R13, __LINE__))
6464 #define RCF_METHOD_R13_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, interfaceId, funcId, genParms)\
6465 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
6466 typedef GeneratorParms<interfaceId> genParms; \
6467 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
6468 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
6469 const ::RCF::CallOptions &callOptions , \
6470 ::RCF::RemoveOut<A1 >::type a1, \
6471 ::RCF::RemoveOut<A2 >::type a2, \
6472 ::RCF::RemoveOut<A3 >::type a3, \
6473 ::RCF::RemoveOut<A4 >::type a4, \
6474 ::RCF::RemoveOut<A5 >::type a5, \
6475 ::RCF::RemoveOut<A6 >::type a6, \
6476 ::RCF::RemoveOut<A7 >::type a7, \
6477 ::RCF::RemoveOut<A8 >::type a8, \
6478 ::RCF::RemoveOut<A9 >::type a9, \
6479 ::RCF::RemoveOut<A10 >::type a10, \
6480 ::RCF::RemoveOut<A11 >::type a11, \
6481 ::RCF::RemoveOut<A12 >::type a12, \
6482 ::RCF::RemoveOut<A13 >::type a13) \
6484 getClientStub().setAsync(false); \
6485 return RCF::FutureImpl<R >( \
6486 ::RCF::AllocateClientParameters< \
6488 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
6491 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
6496 callOptions.apply(getClientStub()), \
6500 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
6502 ::RCF::RemoveOut<A1 >::type a1, \
6503 ::RCF::RemoveOut<A2 >::type a2, \
6504 ::RCF::RemoveOut<A3 >::type a3, \
6505 ::RCF::RemoveOut<A4 >::type a4, \
6506 ::RCF::RemoveOut<A5 >::type a5, \
6507 ::RCF::RemoveOut<A6 >::type a6, \
6508 ::RCF::RemoveOut<A7 >::type a7, \
6509 ::RCF::RemoveOut<A8 >::type a8, \
6510 ::RCF::RemoveOut<A9 >::type a9, \
6511 ::RCF::RemoveOut<A10 >::type a10, \
6512 ::RCF::RemoveOut<A11 >::type a11, \
6513 ::RCF::RemoveOut<A12 >::type a12, \
6514 ::RCF::RemoveOut<A13 >::type a13) \
6525 #define RCF_METHOD_V13_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
6526 RCF_METHOD_V13_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, RCF_MAKE_UNIQUE_ID(func, V13))
6528 #define RCF_METHOD_V13_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
6530 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
6531 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6532 ::RCF::FutureImpl<V> func( \
6533 ::RCF::RemoveOut<A1 >::type a1, \
6534 ::RCF::RemoveOut<A2 >::type a2, \
6535 ::RCF::RemoveOut<A3 >::type a3, \
6536 ::RCF::RemoveOut<A4 >::type a4, \
6537 ::RCF::RemoveOut<A5 >::type a5, \
6538 ::RCF::RemoveOut<A6 >::type a6, \
6539 ::RCF::RemoveOut<A7 >::type a7, \
6540 ::RCF::RemoveOut<A8 >::type a8, \
6541 ::RCF::RemoveOut<A9 >::type a9, \
6542 ::RCF::RemoveOut<A10 >::type a10, \
6543 ::RCF::RemoveOut<A11 >::type a11, \
6544 ::RCF::RemoveOut<A12 >::type a12, \
6545 ::RCF::RemoveOut<A13 >::type a13) \
6548 ::RCF::CallOptions() , \
6549 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
6551 ::RCF::FutureImpl<V> func( \
6552 const ::RCF::CallOptions &callOptions , \
6553 ::RCF::RemoveOut<A1 >::type a1, \
6554 ::RCF::RemoveOut<A2 >::type a2, \
6555 ::RCF::RemoveOut<A3 >::type a3, \
6556 ::RCF::RemoveOut<A4 >::type a4, \
6557 ::RCF::RemoveOut<A5 >::type a5, \
6558 ::RCF::RemoveOut<A6 >::type a6, \
6559 ::RCF::RemoveOut<A7 >::type a7, \
6560 ::RCF::RemoveOut<A8 >::type a8, \
6561 ::RCF::RemoveOut<A9 >::type a9, \
6562 ::RCF::RemoveOut<A10 >::type a10, \
6563 ::RCF::RemoveOut<A11 >::type a11, \
6564 ::RCF::RemoveOut<A12 >::type a12, \
6565 ::RCF::RemoveOut<A13 >::type a13) \
6567 getClientStub().setAsync(false); \
6568 return RCF::FutureImpl<V>( \
6569 ::RCF::AllocateClientParameters< \
6571 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
6574 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
6579 callOptions.apply(getClientStub()), \
6583 const char * getFunctionName(const id &) \
6587 const char * getArity(const id &) \
6593 template<typename T> \
6596 ::RCF::RcfSession &session, \
6599 if (session.isInProcess()) \
6601 ::RCF::ClientParameters< \
6603 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &p = static_cast<\
6604 ::RCF::ClientParameters< \
6606 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &>(* session.getInProcessParameters());\
6607 RCF_UNUSED_VARIABLE(p); \
6625 ::RCF::ServerParameters< \
6627 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
6628 ::RCF::AllocateServerParameters< \
6630 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
6631 RCF_UNUSED_VARIABLE(p); \
6650 #define RCF_METHOD_V13_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
6651 RCF_METHOD_V13_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, RCF_MAKE_UNIQUE_ID(func, V13))
6653 #define RCF_METHOD_V13_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
6655 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
6656 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6657 ::RCF::FutureImpl<V> func( \
6658 ::RCF::RemoveOut<A1 >::type a1, \
6659 ::RCF::RemoveOut<A2 >::type a2, \
6660 ::RCF::RemoveOut<A3 >::type a3, \
6661 ::RCF::RemoveOut<A4 >::type a4, \
6662 ::RCF::RemoveOut<A5 >::type a5, \
6663 ::RCF::RemoveOut<A6 >::type a6, \
6664 ::RCF::RemoveOut<A7 >::type a7, \
6665 ::RCF::RemoveOut<A8 >::type a8, \
6666 ::RCF::RemoveOut<A9 >::type a9, \
6667 ::RCF::RemoveOut<A10 >::type a10, \
6668 ::RCF::RemoveOut<A11 >::type a11, \
6669 ::RCF::RemoveOut<A12 >::type a12, \
6670 ::RCF::RemoveOut<A13 >::type a13) \
6673 ::RCF::CallOptions() , \
6674 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
6677 ::RCF::FutureImpl<V> func( \
6678 const ::RCF::CallOptions &callOptions , \
6679 ::RCF::RemoveOut<A1 >::type a1, \
6680 ::RCF::RemoveOut<A2 >::type a2, \
6681 ::RCF::RemoveOut<A3 >::type a3, \
6682 ::RCF::RemoveOut<A4 >::type a4, \
6683 ::RCF::RemoveOut<A5 >::type a5, \
6684 ::RCF::RemoveOut<A6 >::type a6, \
6685 ::RCF::RemoveOut<A7 >::type a7, \
6686 ::RCF::RemoveOut<A8 >::type a8, \
6687 ::RCF::RemoveOut<A9 >::type a9, \
6688 ::RCF::RemoveOut<A10 >::type a10, \
6689 ::RCF::RemoveOut<A11 >::type a11, \
6690 ::RCF::RemoveOut<A12 >::type a12, \
6691 ::RCF::RemoveOut<A13 >::type a13); \
6693 void error__method_defined_out_of_order__##func( \
6695 ::RCF::RemoveOut<A1 >::type a1, \
6696 ::RCF::RemoveOut<A2 >::type a2, \
6697 ::RCF::RemoveOut<A3 >::type a3, \
6698 ::RCF::RemoveOut<A4 >::type a4, \
6699 ::RCF::RemoveOut<A5 >::type a5, \
6700 ::RCF::RemoveOut<A6 >::type a6, \
6701 ::RCF::RemoveOut<A7 >::type a7, \
6702 ::RCF::RemoveOut<A8 >::type a8, \
6703 ::RCF::RemoveOut<A9 >::type a9, \
6704 ::RCF::RemoveOut<A10 >::type a10, \
6705 ::RCF::RemoveOut<A11 >::type a11, \
6706 ::RCF::RemoveOut<A12 >::type a12, \
6707 ::RCF::RemoveOut<A13 >::type a13); \
6709 const char * getFunctionName(const id &) \
6713 const char * getArity(const id &) \
6719 template<typename T> \
6722 ::RCF::RcfSession &session, \
6725 if (session.isInProcess()) \
6727 ::RCF::ClientParameters< \
6729 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &p = static_cast<\
6730 ::RCF::ClientParameters< \
6732 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , V,V > &>(* session.getInProcessParameters());\
6733 RCF_UNUSED_VARIABLE(p); \
6751 ::RCF::ServerParameters< \
6753 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
6754 ::RCF::AllocateServerParameters< \
6756 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
6757 RCF_UNUSED_VARIABLE(p); \
6776 #define RCF_METHOD_V13_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
6777 RCF_METHOD_V13_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, RCF_PP_CAT(rcf_interface_id_1_, func, R13, __LINE__), RCF_MAKE_UNIQUE_ID(func, R13), RCF_PP_CAT(rcf_interface_id_2_, func, R13, __LINE__))
6779 #define RCF_METHOD_V13_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, interfaceId, funcId, genParms)\
6780 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
6781 typedef GeneratorParms<interfaceId> genParms; \
6782 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
6783 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
6784 const ::RCF::CallOptions &callOptions , \
6785 ::RCF::RemoveOut<A1 >::type a1, \
6786 ::RCF::RemoveOut<A2 >::type a2, \
6787 ::RCF::RemoveOut<A3 >::type a3, \
6788 ::RCF::RemoveOut<A4 >::type a4, \
6789 ::RCF::RemoveOut<A5 >::type a5, \
6790 ::RCF::RemoveOut<A6 >::type a6, \
6791 ::RCF::RemoveOut<A7 >::type a7, \
6792 ::RCF::RemoveOut<A8 >::type a8, \
6793 ::RCF::RemoveOut<A9 >::type a9, \
6794 ::RCF::RemoveOut<A10 >::type a10, \
6795 ::RCF::RemoveOut<A11 >::type a11, \
6796 ::RCF::RemoveOut<A12 >::type a12, \
6797 ::RCF::RemoveOut<A13 >::type a13) \
6799 typedef ::RCF::Void V; \
6800 getClientStub().setAsync(false); \
6801 return RCF::FutureImpl<V >( \
6802 ::RCF::AllocateClientParameters< \
6804 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
6807 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
6812 callOptions.apply(getClientStub()), \
6816 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
6818 ::RCF::RemoveOut<A1 >::type a1, \
6819 ::RCF::RemoveOut<A2 >::type a2, \
6820 ::RCF::RemoveOut<A3 >::type a3, \
6821 ::RCF::RemoveOut<A4 >::type a4, \
6822 ::RCF::RemoveOut<A5 >::type a5, \
6823 ::RCF::RemoveOut<A6 >::type a6, \
6824 ::RCF::RemoveOut<A7 >::type a7, \
6825 ::RCF::RemoveOut<A8 >::type a8, \
6826 ::RCF::RemoveOut<A9 >::type a9, \
6827 ::RCF::RemoveOut<A10 >::type a10, \
6828 ::RCF::RemoveOut<A11 >::type a11, \
6829 ::RCF::RemoveOut<A12 >::type a12, \
6830 ::RCF::RemoveOut<A13 >::type a13) \
6842 #define RCF_METHOD_R14_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
6843 RCF_METHOD_R14_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, RCF_MAKE_UNIQUE_ID(func, R14))
6845 #define RCF_METHOD_R14_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
6847 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6848 ::RCF::FutureImpl<R > func( \
6849 ::RCF::RemoveOut<A1 >::type a1, \
6850 ::RCF::RemoveOut<A2 >::type a2, \
6851 ::RCF::RemoveOut<A3 >::type a3, \
6852 ::RCF::RemoveOut<A4 >::type a4, \
6853 ::RCF::RemoveOut<A5 >::type a5, \
6854 ::RCF::RemoveOut<A6 >::type a6, \
6855 ::RCF::RemoveOut<A7 >::type a7, \
6856 ::RCF::RemoveOut<A8 >::type a8, \
6857 ::RCF::RemoveOut<A9 >::type a9, \
6858 ::RCF::RemoveOut<A10 >::type a10, \
6859 ::RCF::RemoveOut<A11 >::type a11, \
6860 ::RCF::RemoveOut<A12 >::type a12, \
6861 ::RCF::RemoveOut<A13 >::type a13, \
6862 ::RCF::RemoveOut<A14 >::type a14) \
6865 ::RCF::CallOptions() , \
6866 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
6868 ::RCF::FutureImpl<R > func( \
6869 const ::RCF::CallOptions &callOptions , \
6870 ::RCF::RemoveOut<A1 >::type a1, \
6871 ::RCF::RemoveOut<A2 >::type a2, \
6872 ::RCF::RemoveOut<A3 >::type a3, \
6873 ::RCF::RemoveOut<A4 >::type a4, \
6874 ::RCF::RemoveOut<A5 >::type a5, \
6875 ::RCF::RemoveOut<A6 >::type a6, \
6876 ::RCF::RemoveOut<A7 >::type a7, \
6877 ::RCF::RemoveOut<A8 >::type a8, \
6878 ::RCF::RemoveOut<A9 >::type a9, \
6879 ::RCF::RemoveOut<A10 >::type a10, \
6880 ::RCF::RemoveOut<A11 >::type a11, \
6881 ::RCF::RemoveOut<A12 >::type a12, \
6882 ::RCF::RemoveOut<A13 >::type a13, \
6883 ::RCF::RemoveOut<A14 >::type a14) \
6885 getClientStub().setAsync(false); \
6886 return RCF::FutureImpl<R >( \
6887 ::RCF::AllocateClientParameters< \
6889 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
6892 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
6897 callOptions.apply(getClientStub()), \
6901 const char * getFunctionName(const id &) \
6905 const char * getArity(const id &) \
6911 template<typename T> \
6914 ::RCF::RcfSession &session, \
6917 if (session.isInProcess()) \
6919 ::RCF::ClientParameters< \
6921 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &p = static_cast<\
6922 ::RCF::ClientParameters< \
6924 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &>(* session.getInProcessParameters());\
6925 p.r.set( t.func( p.a1.get(), \
6942 ::RCF::ServerParameters< \
6944 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
6945 ::RCF::AllocateServerParameters< \
6947 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
6949 session.getAutoSend(), \
6969 #define RCF_METHOD_R14_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
6970 RCF_METHOD_R14_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, RCF_MAKE_UNIQUE_ID(func, R14))
6972 #define RCF_METHOD_R14_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
6974 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6975 ::RCF::FutureImpl<R > func( \
6976 ::RCF::RemoveOut<A1 >::type a1, \
6977 ::RCF::RemoveOut<A2 >::type a2, \
6978 ::RCF::RemoveOut<A3 >::type a3, \
6979 ::RCF::RemoveOut<A4 >::type a4, \
6980 ::RCF::RemoveOut<A5 >::type a5, \
6981 ::RCF::RemoveOut<A6 >::type a6, \
6982 ::RCF::RemoveOut<A7 >::type a7, \
6983 ::RCF::RemoveOut<A8 >::type a8, \
6984 ::RCF::RemoveOut<A9 >::type a9, \
6985 ::RCF::RemoveOut<A10 >::type a10, \
6986 ::RCF::RemoveOut<A11 >::type a11, \
6987 ::RCF::RemoveOut<A12 >::type a12, \
6988 ::RCF::RemoveOut<A13 >::type a13, \
6989 ::RCF::RemoveOut<A14 >::type a14) \
6992 ::RCF::CallOptions() , \
6993 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
6996 ::RCF::FutureImpl<R > func( \
6997 const ::RCF::CallOptions &callOptions , \
6998 ::RCF::RemoveOut<A1 >::type a1, \
6999 ::RCF::RemoveOut<A2 >::type a2, \
7000 ::RCF::RemoveOut<A3 >::type a3, \
7001 ::RCF::RemoveOut<A4 >::type a4, \
7002 ::RCF::RemoveOut<A5 >::type a5, \
7003 ::RCF::RemoveOut<A6 >::type a6, \
7004 ::RCF::RemoveOut<A7 >::type a7, \
7005 ::RCF::RemoveOut<A8 >::type a8, \
7006 ::RCF::RemoveOut<A9 >::type a9, \
7007 ::RCF::RemoveOut<A10 >::type a10, \
7008 ::RCF::RemoveOut<A11 >::type a11, \
7009 ::RCF::RemoveOut<A12 >::type a12, \
7010 ::RCF::RemoveOut<A13 >::type a13, \
7011 ::RCF::RemoveOut<A14 >::type a14); \
7013 void error__method_defined_out_of_order__##func( \
7015 ::RCF::RemoveOut<A1 >::type a1, \
7016 ::RCF::RemoveOut<A2 >::type a2, \
7017 ::RCF::RemoveOut<A3 >::type a3, \
7018 ::RCF::RemoveOut<A4 >::type a4, \
7019 ::RCF::RemoveOut<A5 >::type a5, \
7020 ::RCF::RemoveOut<A6 >::type a6, \
7021 ::RCF::RemoveOut<A7 >::type a7, \
7022 ::RCF::RemoveOut<A8 >::type a8, \
7023 ::RCF::RemoveOut<A9 >::type a9, \
7024 ::RCF::RemoveOut<A10 >::type a10, \
7025 ::RCF::RemoveOut<A11 >::type a11, \
7026 ::RCF::RemoveOut<A12 >::type a12, \
7027 ::RCF::RemoveOut<A13 >::type a13, \
7028 ::RCF::RemoveOut<A14 >::type a14); \
7030 const char * getFunctionName(const id &) \
7034 const char * getArity(const id &) \
7040 template<typename T> \
7043 ::RCF::RcfSession &session, \
7046 if (session.isInProcess()) \
7048 ::RCF::ClientParameters< \
7050 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &p = static_cast<\
7051 ::RCF::ClientParameters< \
7053 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &>(* session.getInProcessParameters());\
7054 p.r.set( t.func( p.a1.get(), \
7071 ::RCF::ServerParameters< \
7073 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
7074 ::RCF::AllocateServerParameters< \
7076 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
7078 session.getAutoSend(), \
7098 #define RCF_METHOD_R14_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
7099 RCF_METHOD_R14_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, RCF_PP_CAT(rcf_interface_id_1_, func, R14, __LINE__), RCF_MAKE_UNIQUE_ID(func, R14), RCF_PP_CAT(rcf_interface_id_2_, func, R14, __LINE__))
7101 #define RCF_METHOD_R14_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, interfaceId, funcId, genParms)\
7102 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
7103 typedef GeneratorParms<interfaceId> genParms; \
7104 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
7105 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
7106 const ::RCF::CallOptions &callOptions , \
7107 ::RCF::RemoveOut<A1 >::type a1, \
7108 ::RCF::RemoveOut<A2 >::type a2, \
7109 ::RCF::RemoveOut<A3 >::type a3, \
7110 ::RCF::RemoveOut<A4 >::type a4, \
7111 ::RCF::RemoveOut<A5 >::type a5, \
7112 ::RCF::RemoveOut<A6 >::type a6, \
7113 ::RCF::RemoveOut<A7 >::type a7, \
7114 ::RCF::RemoveOut<A8 >::type a8, \
7115 ::RCF::RemoveOut<A9 >::type a9, \
7116 ::RCF::RemoveOut<A10 >::type a10, \
7117 ::RCF::RemoveOut<A11 >::type a11, \
7118 ::RCF::RemoveOut<A12 >::type a12, \
7119 ::RCF::RemoveOut<A13 >::type a13, \
7120 ::RCF::RemoveOut<A14 >::type a14) \
7122 getClientStub().setAsync(false); \
7123 return RCF::FutureImpl<R >( \
7124 ::RCF::AllocateClientParameters< \
7126 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
7129 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
7134 callOptions.apply(getClientStub()), \
7138 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
7140 ::RCF::RemoveOut<A1 >::type a1, \
7141 ::RCF::RemoveOut<A2 >::type a2, \
7142 ::RCF::RemoveOut<A3 >::type a3, \
7143 ::RCF::RemoveOut<A4 >::type a4, \
7144 ::RCF::RemoveOut<A5 >::type a5, \
7145 ::RCF::RemoveOut<A6 >::type a6, \
7146 ::RCF::RemoveOut<A7 >::type a7, \
7147 ::RCF::RemoveOut<A8 >::type a8, \
7148 ::RCF::RemoveOut<A9 >::type a9, \
7149 ::RCF::RemoveOut<A10 >::type a10, \
7150 ::RCF::RemoveOut<A11 >::type a11, \
7151 ::RCF::RemoveOut<A12 >::type a12, \
7152 ::RCF::RemoveOut<A13 >::type a13, \
7153 ::RCF::RemoveOut<A14 >::type a14) \
7164 #define RCF_METHOD_V14_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
7165 RCF_METHOD_V14_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, RCF_MAKE_UNIQUE_ID(func, V14))
7167 #define RCF_METHOD_V14_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
7169 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
7170 RCF_MAKE_NEXT_DISPATCH_ID(id) \
7171 ::RCF::FutureImpl<V> func( \
7172 ::RCF::RemoveOut<A1 >::type a1, \
7173 ::RCF::RemoveOut<A2 >::type a2, \
7174 ::RCF::RemoveOut<A3 >::type a3, \
7175 ::RCF::RemoveOut<A4 >::type a4, \
7176 ::RCF::RemoveOut<A5 >::type a5, \
7177 ::RCF::RemoveOut<A6 >::type a6, \
7178 ::RCF::RemoveOut<A7 >::type a7, \
7179 ::RCF::RemoveOut<A8 >::type a8, \
7180 ::RCF::RemoveOut<A9 >::type a9, \
7181 ::RCF::RemoveOut<A10 >::type a10, \
7182 ::RCF::RemoveOut<A11 >::type a11, \
7183 ::RCF::RemoveOut<A12 >::type a12, \
7184 ::RCF::RemoveOut<A13 >::type a13, \
7185 ::RCF::RemoveOut<A14 >::type a14) \
7188 ::RCF::CallOptions() , \
7189 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
7191 ::RCF::FutureImpl<V> func( \
7192 const ::RCF::CallOptions &callOptions , \
7193 ::RCF::RemoveOut<A1 >::type a1, \
7194 ::RCF::RemoveOut<A2 >::type a2, \
7195 ::RCF::RemoveOut<A3 >::type a3, \
7196 ::RCF::RemoveOut<A4 >::type a4, \
7197 ::RCF::RemoveOut<A5 >::type a5, \
7198 ::RCF::RemoveOut<A6 >::type a6, \
7199 ::RCF::RemoveOut<A7 >::type a7, \
7200 ::RCF::RemoveOut<A8 >::type a8, \
7201 ::RCF::RemoveOut<A9 >::type a9, \
7202 ::RCF::RemoveOut<A10 >::type a10, \
7203 ::RCF::RemoveOut<A11 >::type a11, \
7204 ::RCF::RemoveOut<A12 >::type a12, \
7205 ::RCF::RemoveOut<A13 >::type a13, \
7206 ::RCF::RemoveOut<A14 >::type a14) \
7208 getClientStub().setAsync(false); \
7209 return RCF::FutureImpl<V>( \
7210 ::RCF::AllocateClientParameters< \
7212 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
7215 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
7220 callOptions.apply(getClientStub()), \
7224 const char * getFunctionName(const id &) \
7228 const char * getArity(const id &) \
7234 template<typename T> \
7237 ::RCF::RcfSession &session, \
7240 if (session.isInProcess()) \
7242 ::RCF::ClientParameters< \
7244 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &p = static_cast<\
7245 ::RCF::ClientParameters< \
7247 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &>(* session.getInProcessParameters());\
7248 RCF_UNUSED_VARIABLE(p); \
7267 ::RCF::ServerParameters< \
7269 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
7270 ::RCF::AllocateServerParameters< \
7272 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
7273 RCF_UNUSED_VARIABLE(p); \
7293 #define RCF_METHOD_V14_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
7294 RCF_METHOD_V14_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, RCF_MAKE_UNIQUE_ID(func, V14))
7296 #define RCF_METHOD_V14_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
7298 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
7299 RCF_MAKE_NEXT_DISPATCH_ID(id) \
7300 ::RCF::FutureImpl<V> func( \
7301 ::RCF::RemoveOut<A1 >::type a1, \
7302 ::RCF::RemoveOut<A2 >::type a2, \
7303 ::RCF::RemoveOut<A3 >::type a3, \
7304 ::RCF::RemoveOut<A4 >::type a4, \
7305 ::RCF::RemoveOut<A5 >::type a5, \
7306 ::RCF::RemoveOut<A6 >::type a6, \
7307 ::RCF::RemoveOut<A7 >::type a7, \
7308 ::RCF::RemoveOut<A8 >::type a8, \
7309 ::RCF::RemoveOut<A9 >::type a9, \
7310 ::RCF::RemoveOut<A10 >::type a10, \
7311 ::RCF::RemoveOut<A11 >::type a11, \
7312 ::RCF::RemoveOut<A12 >::type a12, \
7313 ::RCF::RemoveOut<A13 >::type a13, \
7314 ::RCF::RemoveOut<A14 >::type a14) \
7317 ::RCF::CallOptions() , \
7318 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
7321 ::RCF::FutureImpl<V> func( \
7322 const ::RCF::CallOptions &callOptions , \
7323 ::RCF::RemoveOut<A1 >::type a1, \
7324 ::RCF::RemoveOut<A2 >::type a2, \
7325 ::RCF::RemoveOut<A3 >::type a3, \
7326 ::RCF::RemoveOut<A4 >::type a4, \
7327 ::RCF::RemoveOut<A5 >::type a5, \
7328 ::RCF::RemoveOut<A6 >::type a6, \
7329 ::RCF::RemoveOut<A7 >::type a7, \
7330 ::RCF::RemoveOut<A8 >::type a8, \
7331 ::RCF::RemoveOut<A9 >::type a9, \
7332 ::RCF::RemoveOut<A10 >::type a10, \
7333 ::RCF::RemoveOut<A11 >::type a11, \
7334 ::RCF::RemoveOut<A12 >::type a12, \
7335 ::RCF::RemoveOut<A13 >::type a13, \
7336 ::RCF::RemoveOut<A14 >::type a14); \
7338 void error__method_defined_out_of_order__##func( \
7340 ::RCF::RemoveOut<A1 >::type a1, \
7341 ::RCF::RemoveOut<A2 >::type a2, \
7342 ::RCF::RemoveOut<A3 >::type a3, \
7343 ::RCF::RemoveOut<A4 >::type a4, \
7344 ::RCF::RemoveOut<A5 >::type a5, \
7345 ::RCF::RemoveOut<A6 >::type a6, \
7346 ::RCF::RemoveOut<A7 >::type a7, \
7347 ::RCF::RemoveOut<A8 >::type a8, \
7348 ::RCF::RemoveOut<A9 >::type a9, \
7349 ::RCF::RemoveOut<A10 >::type a10, \
7350 ::RCF::RemoveOut<A11 >::type a11, \
7351 ::RCF::RemoveOut<A12 >::type a12, \
7352 ::RCF::RemoveOut<A13 >::type a13, \
7353 ::RCF::RemoveOut<A14 >::type a14); \
7355 const char * getFunctionName(const id &) \
7359 const char * getArity(const id &) \
7365 template<typename T> \
7368 ::RCF::RcfSession &session, \
7371 if (session.isInProcess()) \
7373 ::RCF::ClientParameters< \
7375 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &p = static_cast<\
7376 ::RCF::ClientParameters< \
7378 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , V > &>(* session.getInProcessParameters());\
7379 RCF_UNUSED_VARIABLE(p); \
7398 ::RCF::ServerParameters< \
7400 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
7401 ::RCF::AllocateServerParameters< \
7403 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
7404 RCF_UNUSED_VARIABLE(p); \
7424 #define RCF_METHOD_V14_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
7425 RCF_METHOD_V14_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, RCF_PP_CAT(rcf_interface_id_1_, func, R14, __LINE__), RCF_MAKE_UNIQUE_ID(func, R14), RCF_PP_CAT(rcf_interface_id_2_, func, R14, __LINE__))
7427 #define RCF_METHOD_V14_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, interfaceId, funcId, genParms)\
7428 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
7429 typedef GeneratorParms<interfaceId> genParms; \
7430 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
7431 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
7432 const ::RCF::CallOptions &callOptions , \
7433 ::RCF::RemoveOut<A1 >::type a1, \
7434 ::RCF::RemoveOut<A2 >::type a2, \
7435 ::RCF::RemoveOut<A3 >::type a3, \
7436 ::RCF::RemoveOut<A4 >::type a4, \
7437 ::RCF::RemoveOut<A5 >::type a5, \
7438 ::RCF::RemoveOut<A6 >::type a6, \
7439 ::RCF::RemoveOut<A7 >::type a7, \
7440 ::RCF::RemoveOut<A8 >::type a8, \
7441 ::RCF::RemoveOut<A9 >::type a9, \
7442 ::RCF::RemoveOut<A10 >::type a10, \
7443 ::RCF::RemoveOut<A11 >::type a11, \
7444 ::RCF::RemoveOut<A12 >::type a12, \
7445 ::RCF::RemoveOut<A13 >::type a13, \
7446 ::RCF::RemoveOut<A14 >::type a14) \
7448 typedef ::RCF::Void V; \
7449 getClientStub().setAsync(false); \
7450 return RCF::FutureImpl<V >( \
7451 ::RCF::AllocateClientParameters< \
7453 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
7456 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
7461 callOptions.apply(getClientStub()), \
7465 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
7467 ::RCF::RemoveOut<A1 >::type a1, \
7468 ::RCF::RemoveOut<A2 >::type a2, \
7469 ::RCF::RemoveOut<A3 >::type a3, \
7470 ::RCF::RemoveOut<A4 >::type a4, \
7471 ::RCF::RemoveOut<A5 >::type a5, \
7472 ::RCF::RemoveOut<A6 >::type a6, \
7473 ::RCF::RemoveOut<A7 >::type a7, \
7474 ::RCF::RemoveOut<A8 >::type a8, \
7475 ::RCF::RemoveOut<A9 >::type a9, \
7476 ::RCF::RemoveOut<A10 >::type a10, \
7477 ::RCF::RemoveOut<A11 >::type a11, \
7478 ::RCF::RemoveOut<A12 >::type a12, \
7479 ::RCF::RemoveOut<A13 >::type a13, \
7480 ::RCF::RemoveOut<A14 >::type a14) \
7492 #define RCF_METHOD_R15_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
7493 RCF_METHOD_R15_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, RCF_MAKE_UNIQUE_ID(func, R15))
7495 #define RCF_METHOD_R15_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
7497 RCF_MAKE_NEXT_DISPATCH_ID(id) \
7498 ::RCF::FutureImpl<R > func( \
7499 ::RCF::RemoveOut<A1 >::type a1, \
7500 ::RCF::RemoveOut<A2 >::type a2, \
7501 ::RCF::RemoveOut<A3 >::type a3, \
7502 ::RCF::RemoveOut<A4 >::type a4, \
7503 ::RCF::RemoveOut<A5 >::type a5, \
7504 ::RCF::RemoveOut<A6 >::type a6, \
7505 ::RCF::RemoveOut<A7 >::type a7, \
7506 ::RCF::RemoveOut<A8 >::type a8, \
7507 ::RCF::RemoveOut<A9 >::type a9, \
7508 ::RCF::RemoveOut<A10 >::type a10, \
7509 ::RCF::RemoveOut<A11 >::type a11, \
7510 ::RCF::RemoveOut<A12 >::type a12, \
7511 ::RCF::RemoveOut<A13 >::type a13, \
7512 ::RCF::RemoveOut<A14 >::type a14, \
7513 ::RCF::RemoveOut<A15 >::type a15) \
7516 ::RCF::CallOptions() , \
7517 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
7519 ::RCF::FutureImpl<R > func( \
7520 const ::RCF::CallOptions &callOptions , \
7521 ::RCF::RemoveOut<A1 >::type a1, \
7522 ::RCF::RemoveOut<A2 >::type a2, \
7523 ::RCF::RemoveOut<A3 >::type a3, \
7524 ::RCF::RemoveOut<A4 >::type a4, \
7525 ::RCF::RemoveOut<A5 >::type a5, \
7526 ::RCF::RemoveOut<A6 >::type a6, \
7527 ::RCF::RemoveOut<A7 >::type a7, \
7528 ::RCF::RemoveOut<A8 >::type a8, \
7529 ::RCF::RemoveOut<A9 >::type a9, \
7530 ::RCF::RemoveOut<A10 >::type a10, \
7531 ::RCF::RemoveOut<A11 >::type a11, \
7532 ::RCF::RemoveOut<A12 >::type a12, \
7533 ::RCF::RemoveOut<A13 >::type a13, \
7534 ::RCF::RemoveOut<A14 >::type a14, \
7535 ::RCF::RemoveOut<A15 >::type a15) \
7537 getClientStub().setAsync(false); \
7538 return RCF::FutureImpl<R >( \
7539 ::RCF::AllocateClientParameters< \
7541 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
7544 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
7549 callOptions.apply(getClientStub()), \
7553 const char * getFunctionName(const id &) \
7557 const char * getArity(const id &) \
7563 template<typename T> \
7566 ::RCF::RcfSession &session, \
7569 if (session.isInProcess()) \
7571 ::RCF::ClientParameters< \
7573 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = static_cast<\
7574 ::RCF::ClientParameters< \
7576 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &>(* session.getInProcessParameters());\
7577 p.r.set( t.func( p.a1.get(), \
7595 ::RCF::ServerParameters< \
7597 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p =\
7598 ::RCF::AllocateServerParameters< \
7600 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
7602 session.getAutoSend(), \
7623 #define RCF_METHOD_R15_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
7624 RCF_METHOD_R15_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, RCF_MAKE_UNIQUE_ID(func, R15))
7626 #define RCF_METHOD_R15_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
7628 RCF_MAKE_NEXT_DISPATCH_ID(id) \
7629 ::RCF::FutureImpl<R > func( \
7630 ::RCF::RemoveOut<A1 >::type a1, \
7631 ::RCF::RemoveOut<A2 >::type a2, \
7632 ::RCF::RemoveOut<A3 >::type a3, \
7633 ::RCF::RemoveOut<A4 >::type a4, \
7634 ::RCF::RemoveOut<A5 >::type a5, \
7635 ::RCF::RemoveOut<A6 >::type a6, \
7636 ::RCF::RemoveOut<A7 >::type a7, \
7637 ::RCF::RemoveOut<A8 >::type a8, \
7638 ::RCF::RemoveOut<A9 >::type a9, \
7639 ::RCF::RemoveOut<A10 >::type a10, \
7640 ::RCF::RemoveOut<A11 >::type a11, \
7641 ::RCF::RemoveOut<A12 >::type a12, \
7642 ::RCF::RemoveOut<A13 >::type a13, \
7643 ::RCF::RemoveOut<A14 >::type a14, \
7644 ::RCF::RemoveOut<A15 >::type a15) \
7647 ::RCF::CallOptions() , \
7648 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
7651 ::RCF::FutureImpl<R > func( \
7652 const ::RCF::CallOptions &callOptions , \
7653 ::RCF::RemoveOut<A1 >::type a1, \
7654 ::RCF::RemoveOut<A2 >::type a2, \
7655 ::RCF::RemoveOut<A3 >::type a3, \
7656 ::RCF::RemoveOut<A4 >::type a4, \
7657 ::RCF::RemoveOut<A5 >::type a5, \
7658 ::RCF::RemoveOut<A6 >::type a6, \
7659 ::RCF::RemoveOut<A7 >::type a7, \
7660 ::RCF::RemoveOut<A8 >::type a8, \
7661 ::RCF::RemoveOut<A9 >::type a9, \
7662 ::RCF::RemoveOut<A10 >::type a10, \
7663 ::RCF::RemoveOut<A11 >::type a11, \
7664 ::RCF::RemoveOut<A12 >::type a12, \
7665 ::RCF::RemoveOut<A13 >::type a13, \
7666 ::RCF::RemoveOut<A14 >::type a14, \
7667 ::RCF::RemoveOut<A15 >::type a15); \
7669 void error__method_defined_out_of_order__##func( \
7671 ::RCF::RemoveOut<A1 >::type a1, \
7672 ::RCF::RemoveOut<A2 >::type a2, \
7673 ::RCF::RemoveOut<A3 >::type a3, \
7674 ::RCF::RemoveOut<A4 >::type a4, \
7675 ::RCF::RemoveOut<A5 >::type a5, \
7676 ::RCF::RemoveOut<A6 >::type a6, \
7677 ::RCF::RemoveOut<A7 >::type a7, \
7678 ::RCF::RemoveOut<A8 >::type a8, \
7679 ::RCF::RemoveOut<A9 >::type a9, \
7680 ::RCF::RemoveOut<A10 >::type a10, \
7681 ::RCF::RemoveOut<A11 >::type a11, \
7682 ::RCF::RemoveOut<A12 >::type a12, \
7683 ::RCF::RemoveOut<A13 >::type a13, \
7684 ::RCF::RemoveOut<A14 >::type a14, \
7685 ::RCF::RemoveOut<A15 >::type a15); \
7687 const char * getFunctionName(const id &) \
7691 const char * getArity(const id &) \
7697 template<typename T> \
7700 ::RCF::RcfSession &session, \
7703 if (session.isInProcess()) \
7705 ::RCF::ClientParameters< \
7707 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = static_cast<\
7708 ::RCF::ClientParameters< \
7710 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &>(* session.getInProcessParameters());\
7711 p.r.set( t.func( p.a1.get(), \
7729 ::RCF::ServerParameters< \
7731 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p =\
7732 ::RCF::AllocateServerParameters< \
7734 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
7736 session.getAutoSend(), \
7757 #define RCF_METHOD_R15_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
7758 RCF_METHOD_R15_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, RCF_PP_CAT(rcf_interface_id_1_, func, R15, __LINE__), RCF_MAKE_UNIQUE_ID(func, R15), RCF_PP_CAT(rcf_interface_id_2_, func, R15, __LINE__))
7760 #define RCF_METHOD_R15_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, interfaceId, funcId, genParms)\
7761 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
7762 typedef GeneratorParms<interfaceId> genParms; \
7763 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
7764 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
7765 const ::RCF::CallOptions &callOptions , \
7766 ::RCF::RemoveOut<A1 >::type a1, \
7767 ::RCF::RemoveOut<A2 >::type a2, \
7768 ::RCF::RemoveOut<A3 >::type a3, \
7769 ::RCF::RemoveOut<A4 >::type a4, \
7770 ::RCF::RemoveOut<A5 >::type a5, \
7771 ::RCF::RemoveOut<A6 >::type a6, \
7772 ::RCF::RemoveOut<A7 >::type a7, \
7773 ::RCF::RemoveOut<A8 >::type a8, \
7774 ::RCF::RemoveOut<A9 >::type a9, \
7775 ::RCF::RemoveOut<A10 >::type a10, \
7776 ::RCF::RemoveOut<A11 >::type a11, \
7777 ::RCF::RemoveOut<A12 >::type a12, \
7778 ::RCF::RemoveOut<A13 >::type a13, \
7779 ::RCF::RemoveOut<A14 >::type a14, \
7780 ::RCF::RemoveOut<A15 >::type a15) \
7782 getClientStub().setAsync(false); \
7783 return RCF::FutureImpl<R >( \
7784 ::RCF::AllocateClientParameters< \
7786 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
7789 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
7794 callOptions.apply(getClientStub()), \
7798 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
7800 ::RCF::RemoveOut<A1 >::type a1, \
7801 ::RCF::RemoveOut<A2 >::type a2, \
7802 ::RCF::RemoveOut<A3 >::type a3, \
7803 ::RCF::RemoveOut<A4 >::type a4, \
7804 ::RCF::RemoveOut<A5 >::type a5, \
7805 ::RCF::RemoveOut<A6 >::type a6, \
7806 ::RCF::RemoveOut<A7 >::type a7, \
7807 ::RCF::RemoveOut<A8 >::type a8, \
7808 ::RCF::RemoveOut<A9 >::type a9, \
7809 ::RCF::RemoveOut<A10 >::type a10, \
7810 ::RCF::RemoveOut<A11 >::type a11, \
7811 ::RCF::RemoveOut<A12 >::type a12, \
7812 ::RCF::RemoveOut<A13 >::type a13, \
7813 ::RCF::RemoveOut<A14 >::type a14, \
7814 ::RCF::RemoveOut<A15 >::type a15) \
7825 #define RCF_METHOD_V15_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
7826 RCF_METHOD_V15_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, RCF_MAKE_UNIQUE_ID(func, V15))
7828 #define RCF_METHOD_V15_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
7830 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
7831 RCF_MAKE_NEXT_DISPATCH_ID(id) \
7832 ::RCF::FutureImpl<V> func( \
7833 ::RCF::RemoveOut<A1 >::type a1, \
7834 ::RCF::RemoveOut<A2 >::type a2, \
7835 ::RCF::RemoveOut<A3 >::type a3, \
7836 ::RCF::RemoveOut<A4 >::type a4, \
7837 ::RCF::RemoveOut<A5 >::type a5, \
7838 ::RCF::RemoveOut<A6 >::type a6, \
7839 ::RCF::RemoveOut<A7 >::type a7, \
7840 ::RCF::RemoveOut<A8 >::type a8, \
7841 ::RCF::RemoveOut<A9 >::type a9, \
7842 ::RCF::RemoveOut<A10 >::type a10, \
7843 ::RCF::RemoveOut<A11 >::type a11, \
7844 ::RCF::RemoveOut<A12 >::type a12, \
7845 ::RCF::RemoveOut<A13 >::type a13, \
7846 ::RCF::RemoveOut<A14 >::type a14, \
7847 ::RCF::RemoveOut<A15 >::type a15) \
7850 ::RCF::CallOptions() , \
7851 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
7853 ::RCF::FutureImpl<V> func( \
7854 const ::RCF::CallOptions &callOptions , \
7855 ::RCF::RemoveOut<A1 >::type a1, \
7856 ::RCF::RemoveOut<A2 >::type a2, \
7857 ::RCF::RemoveOut<A3 >::type a3, \
7858 ::RCF::RemoveOut<A4 >::type a4, \
7859 ::RCF::RemoveOut<A5 >::type a5, \
7860 ::RCF::RemoveOut<A6 >::type a6, \
7861 ::RCF::RemoveOut<A7 >::type a7, \
7862 ::RCF::RemoveOut<A8 >::type a8, \
7863 ::RCF::RemoveOut<A9 >::type a9, \
7864 ::RCF::RemoveOut<A10 >::type a10, \
7865 ::RCF::RemoveOut<A11 >::type a11, \
7866 ::RCF::RemoveOut<A12 >::type a12, \
7867 ::RCF::RemoveOut<A13 >::type a13, \
7868 ::RCF::RemoveOut<A14 >::type a14, \
7869 ::RCF::RemoveOut<A15 >::type a15) \
7871 getClientStub().setAsync(false); \
7872 return RCF::FutureImpl<V>( \
7873 ::RCF::AllocateClientParameters< \
7875 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
7878 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
7883 callOptions.apply(getClientStub()), \
7887 const char * getFunctionName(const id &) \
7891 const char * getArity(const id &) \
7897 template<typename T> \
7900 ::RCF::RcfSession &session, \
7903 if (session.isInProcess()) \
7905 ::RCF::ClientParameters< \
7907 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = static_cast<\
7908 ::RCF::ClientParameters< \
7910 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &>(* session.getInProcessParameters());\
7911 RCF_UNUSED_VARIABLE(p); \
7931 ::RCF::ServerParameters< \
7933 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p =\
7934 ::RCF::AllocateServerParameters< \
7936 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
7937 RCF_UNUSED_VARIABLE(p); \
7958 #define RCF_METHOD_V15_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
7959 RCF_METHOD_V15_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, RCF_MAKE_UNIQUE_ID(func, V15))
7961 #define RCF_METHOD_V15_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
7963 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
7964 RCF_MAKE_NEXT_DISPATCH_ID(id) \
7965 ::RCF::FutureImpl<V> func( \
7966 ::RCF::RemoveOut<A1 >::type a1, \
7967 ::RCF::RemoveOut<A2 >::type a2, \
7968 ::RCF::RemoveOut<A3 >::type a3, \
7969 ::RCF::RemoveOut<A4 >::type a4, \
7970 ::RCF::RemoveOut<A5 >::type a5, \
7971 ::RCF::RemoveOut<A6 >::type a6, \
7972 ::RCF::RemoveOut<A7 >::type a7, \
7973 ::RCF::RemoveOut<A8 >::type a8, \
7974 ::RCF::RemoveOut<A9 >::type a9, \
7975 ::RCF::RemoveOut<A10 >::type a10, \
7976 ::RCF::RemoveOut<A11 >::type a11, \
7977 ::RCF::RemoveOut<A12 >::type a12, \
7978 ::RCF::RemoveOut<A13 >::type a13, \
7979 ::RCF::RemoveOut<A14 >::type a14, \
7980 ::RCF::RemoveOut<A15 >::type a15) \
7983 ::RCF::CallOptions() , \
7984 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
7987 ::RCF::FutureImpl<V> func( \
7988 const ::RCF::CallOptions &callOptions , \
7989 ::RCF::RemoveOut<A1 >::type a1, \
7990 ::RCF::RemoveOut<A2 >::type a2, \
7991 ::RCF::RemoveOut<A3 >::type a3, \
7992 ::RCF::RemoveOut<A4 >::type a4, \
7993 ::RCF::RemoveOut<A5 >::type a5, \
7994 ::RCF::RemoveOut<A6 >::type a6, \
7995 ::RCF::RemoveOut<A7 >::type a7, \
7996 ::RCF::RemoveOut<A8 >::type a8, \
7997 ::RCF::RemoveOut<A9 >::type a9, \
7998 ::RCF::RemoveOut<A10 >::type a10, \
7999 ::RCF::RemoveOut<A11 >::type a11, \
8000 ::RCF::RemoveOut<A12 >::type a12, \
8001 ::RCF::RemoveOut<A13 >::type a13, \
8002 ::RCF::RemoveOut<A14 >::type a14, \
8003 ::RCF::RemoveOut<A15 >::type a15); \
8005 void error__method_defined_out_of_order__##func( \
8007 ::RCF::RemoveOut<A1 >::type a1, \
8008 ::RCF::RemoveOut<A2 >::type a2, \
8009 ::RCF::RemoveOut<A3 >::type a3, \
8010 ::RCF::RemoveOut<A4 >::type a4, \
8011 ::RCF::RemoveOut<A5 >::type a5, \
8012 ::RCF::RemoveOut<A6 >::type a6, \
8013 ::RCF::RemoveOut<A7 >::type a7, \
8014 ::RCF::RemoveOut<A8 >::type a8, \
8015 ::RCF::RemoveOut<A9 >::type a9, \
8016 ::RCF::RemoveOut<A10 >::type a10, \
8017 ::RCF::RemoveOut<A11 >::type a11, \
8018 ::RCF::RemoveOut<A12 >::type a12, \
8019 ::RCF::RemoveOut<A13 >::type a13, \
8020 ::RCF::RemoveOut<A14 >::type a14, \
8021 ::RCF::RemoveOut<A15 >::type a15); \
8023 const char * getFunctionName(const id &) \
8027 const char * getArity(const id &) \
8033 template<typename T> \
8036 ::RCF::RcfSession &session, \
8039 if (session.isInProcess()) \
8041 ::RCF::ClientParameters< \
8043 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = static_cast<\
8044 ::RCF::ClientParameters< \
8046 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &>(* session.getInProcessParameters());\
8047 RCF_UNUSED_VARIABLE(p); \
8067 ::RCF::ServerParameters< \
8069 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p =\
8070 ::RCF::AllocateServerParameters< \
8072 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
8073 RCF_UNUSED_VARIABLE(p); \
8094 #define RCF_METHOD_V15_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
8095 RCF_METHOD_V15_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, RCF_PP_CAT(rcf_interface_id_1_, func, R15, __LINE__), RCF_MAKE_UNIQUE_ID(func, R15), RCF_PP_CAT(rcf_interface_id_2_, func, R15, __LINE__))
8097 #define RCF_METHOD_V15_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, interfaceId, funcId, genParms)\
8098 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
8099 typedef GeneratorParms<interfaceId> genParms; \
8100 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
8101 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
8102 const ::RCF::CallOptions &callOptions , \
8103 ::RCF::RemoveOut<A1 >::type a1, \
8104 ::RCF::RemoveOut<A2 >::type a2, \
8105 ::RCF::RemoveOut<A3 >::type a3, \
8106 ::RCF::RemoveOut<A4 >::type a4, \
8107 ::RCF::RemoveOut<A5 >::type a5, \
8108 ::RCF::RemoveOut<A6 >::type a6, \
8109 ::RCF::RemoveOut<A7 >::type a7, \
8110 ::RCF::RemoveOut<A8 >::type a8, \
8111 ::RCF::RemoveOut<A9 >::type a9, \
8112 ::RCF::RemoveOut<A10 >::type a10, \
8113 ::RCF::RemoveOut<A11 >::type a11, \
8114 ::RCF::RemoveOut<A12 >::type a12, \
8115 ::RCF::RemoveOut<A13 >::type a13, \
8116 ::RCF::RemoveOut<A14 >::type a14, \
8117 ::RCF::RemoveOut<A15 >::type a15) \
8119 typedef ::RCF::Void V; \
8120 getClientStub().setAsync(false); \
8121 return RCF::FutureImpl<V >( \
8122 ::RCF::AllocateClientParameters< \
8124 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
8127 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
8132 callOptions.apply(getClientStub()), \
8136 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
8138 ::RCF::RemoveOut<A1 >::type a1, \
8139 ::RCF::RemoveOut<A2 >::type a2, \
8140 ::RCF::RemoveOut<A3 >::type a3, \
8141 ::RCF::RemoveOut<A4 >::type a4, \
8142 ::RCF::RemoveOut<A5 >::type a5, \
8143 ::RCF::RemoveOut<A6 >::type a6, \
8144 ::RCF::RemoveOut<A7 >::type a7, \
8145 ::RCF::RemoveOut<A8 >::type a8, \
8146 ::RCF::RemoveOut<A9 >::type a9, \
8147 ::RCF::RemoveOut<A10 >::type a10, \
8148 ::RCF::RemoveOut<A11 >::type a11, \
8149 ::RCF::RemoveOut<A12 >::type a12, \
8150 ::RCF::RemoveOut<A13 >::type a13, \
8151 ::RCF::RemoveOut<A14 >::type a14, \
8152 ::RCF::RemoveOut<A15 >::type a15) \
8156 #endif // ! INCLUDE_RCF_RCFMETHODGEN_HPP