2 #ifndef INCLUDE_RCF_RCFMETHODGEN_HPP
3 #define INCLUDE_RCF_RCFMETHODGEN_HPP
13 #define RCF_METHOD_R0_INLINE(R,func ) \
14 RCF_METHOD_R0_INLINE_(R,func , RCF_MAKE_UNIQUE_ID(func, R0))
16 #define RCF_METHOD_R0_INLINE_(R,func , id) \
18 RCF_MAKE_NEXT_DISPATCH_ID(id) \
19 ::RCF::FutureImpl<R > func( \
23 ::RCF::CallOptions() \
26 ::RCF::FutureImpl<R > func( \
27 const ::RCF::CallOptions &callOptions \
30 getClientStub().setAsync(false); \
31 return RCF::FutureImpl<R >( \
32 ::RCF::AllocateClientParameters< \
35 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
38 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
42 callOptions.apply(getClientStub()), \
46 const char * getFunctionName(const id &) \
50 const char * getArity(const id &) \
56 template<typename T> \
59 ::RCF::RcfSession &session, \
62 ::RCF::ServerParameters< \
65 ::RCF::AllocateServerParameters< \
69 session.getAutoSend(), \
75 #define RCF_METHOD_R0_DECL(R,func ) \
76 RCF_METHOD_R0_DECL_(R,func , RCF_MAKE_UNIQUE_ID(func, R0))
78 #define RCF_METHOD_R0_DECL_(R,func , id) \
80 RCF_MAKE_NEXT_DISPATCH_ID(id) \
81 ::RCF::FutureImpl<R > func( \
85 ::RCF::CallOptions() \
89 ::RCF::FutureImpl<R > func( \
90 const ::RCF::CallOptions &callOptions \
93 void error__method_defined_out_of_order__##func( \
97 const char * getFunctionName(const id &) \
101 const char * getArity(const id &) \
107 template<typename T> \
110 ::RCF::RcfSession &session, \
113 ::RCF::ServerParameters< \
116 ::RCF::AllocateServerParameters< \
120 session.getAutoSend(), \
126 #define RCF_METHOD_R0_DEF(R,func ) \
127 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__))
129 #define RCF_METHOD_R0_DEF_(R,func , interfaceId, funcId, genParms) \
130 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
131 typedef GeneratorParms<interfaceId> genParms; \
132 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
133 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
134 const ::RCF::CallOptions &callOptions \
137 getClientStub().setAsync(false); \
138 return RCF::FutureImpl<R >( \
139 ::RCF::AllocateClientParameters< \
142 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
145 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
149 callOptions.apply(getClientStub()), \
153 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
166 #define RCF_METHOD_V0_INLINE(R,func ) \
167 RCF_METHOD_V0_INLINE_(R,func , RCF_MAKE_UNIQUE_ID(func, V0))
169 #define RCF_METHOD_V0_INLINE_(R,func , id) \
171 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
172 RCF_MAKE_NEXT_DISPATCH_ID(id) \
173 ::RCF::FutureImpl<V> func( \
177 ::RCF::CallOptions() \
180 ::RCF::FutureImpl<V> func( \
181 const ::RCF::CallOptions &callOptions \
184 getClientStub().setAsync(false); \
185 return RCF::FutureImpl<V>( \
186 ::RCF::AllocateClientParameters< \
189 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
192 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
196 callOptions.apply(getClientStub()), \
200 const char * getFunctionName(const id &) \
204 const char * getArity(const id &) \
210 template<typename T> \
213 ::RCF::RcfSession &session, \
216 ::RCF::ServerParameters< \
219 ::RCF::AllocateServerParameters< \
222 RCF_UNUSED_VARIABLE(p); \
228 #define RCF_METHOD_V0_DECL(R,func ) \
229 RCF_METHOD_V0_DECL_(R,func , RCF_MAKE_UNIQUE_ID(func, V0))
231 #define RCF_METHOD_V0_DECL_(R,func , id) \
233 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
234 RCF_MAKE_NEXT_DISPATCH_ID(id) \
235 ::RCF::FutureImpl<V> func( \
239 ::RCF::CallOptions() \
243 ::RCF::FutureImpl<V> func( \
244 const ::RCF::CallOptions &callOptions \
247 void error__method_defined_out_of_order__##func( \
251 const char * getFunctionName(const id &) \
255 const char * getArity(const id &) \
261 template<typename T> \
264 ::RCF::RcfSession &session, \
267 ::RCF::ServerParameters< \
270 ::RCF::AllocateServerParameters< \
273 RCF_UNUSED_VARIABLE(p); \
279 #define RCF_METHOD_V0_DEF(R,func ) \
280 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__))
282 #define RCF_METHOD_V0_DEF_(R,func , interfaceId, funcId, genParms) \
283 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
284 typedef GeneratorParms<interfaceId> genParms; \
285 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
286 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
287 const ::RCF::CallOptions &callOptions \
290 typedef ::RCF::Void V; \
291 getClientStub().setAsync(false); \
292 return RCF::FutureImpl<V >( \
293 ::RCF::AllocateClientParameters< \
296 V,V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
299 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
303 callOptions.apply(getClientStub()), \
307 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
321 #define RCF_METHOD_R1_INLINE(R,func , A1) \
322 RCF_METHOD_R1_INLINE_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, R1))
324 #define RCF_METHOD_R1_INLINE_(R,func , A1, id) \
326 RCF_MAKE_NEXT_DISPATCH_ID(id) \
327 ::RCF::FutureImpl<R > func( \
328 ::RCF::RemoveOut<A1 >::type a1) \
331 ::RCF::CallOptions() , \
334 ::RCF::FutureImpl<R > func( \
335 const ::RCF::CallOptions &callOptions , \
336 ::RCF::RemoveOut<A1 >::type a1) \
338 getClientStub().setAsync(false); \
339 return RCF::FutureImpl<R >( \
340 ::RCF::AllocateClientParameters< \
343 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
346 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
350 callOptions.apply(getClientStub()), \
354 const char * getFunctionName(const id &) \
358 const char * getArity(const id &) \
364 template<typename T> \
367 ::RCF::RcfSession &session, \
370 ::RCF::ServerParameters< \
373 ::RCF::AllocateServerParameters< \
377 session.getAutoSend(), \
383 #define RCF_METHOD_R1_DECL(R,func , A1) \
384 RCF_METHOD_R1_DECL_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, R1))
386 #define RCF_METHOD_R1_DECL_(R,func , A1, id) \
388 RCF_MAKE_NEXT_DISPATCH_ID(id) \
389 ::RCF::FutureImpl<R > func( \
390 ::RCF::RemoveOut<A1 >::type a1) \
393 ::RCF::CallOptions() , \
397 ::RCF::FutureImpl<R > func( \
398 const ::RCF::CallOptions &callOptions , \
399 ::RCF::RemoveOut<A1 >::type a1); \
401 void error__method_defined_out_of_order__##func( \
403 ::RCF::RemoveOut<A1 >::type a1); \
405 const char * getFunctionName(const id &) \
409 const char * getArity(const id &) \
415 template<typename T> \
418 ::RCF::RcfSession &session, \
421 ::RCF::ServerParameters< \
424 ::RCF::AllocateServerParameters< \
428 session.getAutoSend(), \
434 #define RCF_METHOD_R1_DEF(R,func , A1) \
435 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__))
437 #define RCF_METHOD_R1_DEF_(R,func , A1, interfaceId, funcId, genParms) \
438 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
439 typedef GeneratorParms<interfaceId> genParms; \
440 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
441 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
442 const ::RCF::CallOptions &callOptions , \
443 ::RCF::RemoveOut<A1 >::type a1) \
445 getClientStub().setAsync(false); \
446 return RCF::FutureImpl<R >( \
447 ::RCF::AllocateClientParameters< \
450 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
453 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
457 callOptions.apply(getClientStub()), \
461 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
463 ::RCF::RemoveOut<A1 >::type a1) \
474 #define RCF_METHOD_V1_INLINE(R,func , A1) \
475 RCF_METHOD_V1_INLINE_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, V1))
477 #define RCF_METHOD_V1_INLINE_(R,func , A1, id) \
479 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
480 RCF_MAKE_NEXT_DISPATCH_ID(id) \
481 ::RCF::FutureImpl<V> func( \
482 ::RCF::RemoveOut<A1 >::type a1) \
485 ::RCF::CallOptions() , \
488 ::RCF::FutureImpl<V> func( \
489 const ::RCF::CallOptions &callOptions , \
490 ::RCF::RemoveOut<A1 >::type a1) \
492 getClientStub().setAsync(false); \
493 return RCF::FutureImpl<V>( \
494 ::RCF::AllocateClientParameters< \
497 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
500 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
504 callOptions.apply(getClientStub()), \
508 const char * getFunctionName(const id &) \
512 const char * getArity(const id &) \
518 template<typename T> \
521 ::RCF::RcfSession &session, \
524 ::RCF::ServerParameters< \
527 ::RCF::AllocateServerParameters< \
530 RCF_UNUSED_VARIABLE(p); \
536 #define RCF_METHOD_V1_DECL(R,func , A1) \
537 RCF_METHOD_V1_DECL_(R,func , A1, RCF_MAKE_UNIQUE_ID(func, V1))
539 #define RCF_METHOD_V1_DECL_(R,func , A1, id) \
541 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
542 RCF_MAKE_NEXT_DISPATCH_ID(id) \
543 ::RCF::FutureImpl<V> func( \
544 ::RCF::RemoveOut<A1 >::type a1) \
547 ::RCF::CallOptions() , \
551 ::RCF::FutureImpl<V> func( \
552 const ::RCF::CallOptions &callOptions , \
553 ::RCF::RemoveOut<A1 >::type a1); \
555 void error__method_defined_out_of_order__##func( \
557 ::RCF::RemoveOut<A1 >::type a1); \
559 const char * getFunctionName(const id &) \
563 const char * getArity(const id &) \
569 template<typename T> \
572 ::RCF::RcfSession &session, \
575 ::RCF::ServerParameters< \
578 ::RCF::AllocateServerParameters< \
581 RCF_UNUSED_VARIABLE(p); \
587 #define RCF_METHOD_V1_DEF(R,func , A1) \
588 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__))
590 #define RCF_METHOD_V1_DEF_(R,func , A1, interfaceId, funcId, genParms) \
591 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
592 typedef GeneratorParms<interfaceId> genParms; \
593 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
594 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
595 const ::RCF::CallOptions &callOptions , \
596 ::RCF::RemoveOut<A1 >::type a1) \
598 typedef ::RCF::Void V; \
599 getClientStub().setAsync(false); \
600 return RCF::FutureImpl<V >( \
601 ::RCF::AllocateClientParameters< \
604 V,V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
607 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
611 callOptions.apply(getClientStub()), \
615 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
617 ::RCF::RemoveOut<A1 >::type a1) \
629 #define RCF_METHOD_R2_INLINE(R,func , A1,A2) \
630 RCF_METHOD_R2_INLINE_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, R2))
632 #define RCF_METHOD_R2_INLINE_(R,func , A1,A2, id) \
634 RCF_MAKE_NEXT_DISPATCH_ID(id) \
635 ::RCF::FutureImpl<R > func( \
636 ::RCF::RemoveOut<A1 >::type a1, \
637 ::RCF::RemoveOut<A2 >::type a2) \
640 ::RCF::CallOptions() , \
643 ::RCF::FutureImpl<R > func( \
644 const ::RCF::CallOptions &callOptions , \
645 ::RCF::RemoveOut<A1 >::type a1, \
646 ::RCF::RemoveOut<A2 >::type a2) \
648 getClientStub().setAsync(false); \
649 return RCF::FutureImpl<R >( \
650 ::RCF::AllocateClientParameters< \
653 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
656 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
660 callOptions.apply(getClientStub()), \
664 const char * getFunctionName(const id &) \
668 const char * getArity(const id &) \
674 template<typename T> \
677 ::RCF::RcfSession &session, \
680 ::RCF::ServerParameters< \
683 ::RCF::AllocateServerParameters< \
685 A1,A2 >()(session); \
687 session.getAutoSend(), \
694 #define RCF_METHOD_R2_DECL(R,func , A1,A2) \
695 RCF_METHOD_R2_DECL_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, R2))
697 #define RCF_METHOD_R2_DECL_(R,func , A1,A2, id) \
699 RCF_MAKE_NEXT_DISPATCH_ID(id) \
700 ::RCF::FutureImpl<R > func( \
701 ::RCF::RemoveOut<A1 >::type a1, \
702 ::RCF::RemoveOut<A2 >::type a2) \
705 ::RCF::CallOptions() , \
709 ::RCF::FutureImpl<R > func( \
710 const ::RCF::CallOptions &callOptions , \
711 ::RCF::RemoveOut<A1 >::type a1, \
712 ::RCF::RemoveOut<A2 >::type a2); \
714 void error__method_defined_out_of_order__##func( \
716 ::RCF::RemoveOut<A1 >::type a1, \
717 ::RCF::RemoveOut<A2 >::type a2); \
719 const char * getFunctionName(const id &) \
723 const char * getArity(const id &) \
729 template<typename T> \
732 ::RCF::RcfSession &session, \
735 ::RCF::ServerParameters< \
738 ::RCF::AllocateServerParameters< \
740 A1,A2 >()(session); \
742 session.getAutoSend(), \
749 #define RCF_METHOD_R2_DEF(R,func , A1,A2) \
750 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__))
752 #define RCF_METHOD_R2_DEF_(R,func , A1,A2, interfaceId, funcId, genParms) \
753 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
754 typedef GeneratorParms<interfaceId> genParms; \
755 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
756 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
757 const ::RCF::CallOptions &callOptions , \
758 ::RCF::RemoveOut<A1 >::type a1, \
759 ::RCF::RemoveOut<A2 >::type a2) \
761 getClientStub().setAsync(false); \
762 return RCF::FutureImpl<R >( \
763 ::RCF::AllocateClientParameters< \
766 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
769 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
773 callOptions.apply(getClientStub()), \
777 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
779 ::RCF::RemoveOut<A1 >::type a1, \
780 ::RCF::RemoveOut<A2 >::type a2) \
791 #define RCF_METHOD_V2_INLINE(R,func , A1,A2) \
792 RCF_METHOD_V2_INLINE_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, V2))
794 #define RCF_METHOD_V2_INLINE_(R,func , A1,A2, id) \
796 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
797 RCF_MAKE_NEXT_DISPATCH_ID(id) \
798 ::RCF::FutureImpl<V> func( \
799 ::RCF::RemoveOut<A1 >::type a1, \
800 ::RCF::RemoveOut<A2 >::type a2) \
803 ::RCF::CallOptions() , \
806 ::RCF::FutureImpl<V> func( \
807 const ::RCF::CallOptions &callOptions , \
808 ::RCF::RemoveOut<A1 >::type a1, \
809 ::RCF::RemoveOut<A2 >::type a2) \
811 getClientStub().setAsync(false); \
812 return RCF::FutureImpl<V>( \
813 ::RCF::AllocateClientParameters< \
816 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
819 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
823 callOptions.apply(getClientStub()), \
827 const char * getFunctionName(const id &) \
831 const char * getArity(const id &) \
837 template<typename T> \
840 ::RCF::RcfSession &session, \
843 ::RCF::ServerParameters< \
846 ::RCF::AllocateServerParameters< \
848 A1,A2 >()(session); \
849 RCF_UNUSED_VARIABLE(p); \
856 #define RCF_METHOD_V2_DECL(R,func , A1,A2) \
857 RCF_METHOD_V2_DECL_(R,func , A1,A2, RCF_MAKE_UNIQUE_ID(func, V2))
859 #define RCF_METHOD_V2_DECL_(R,func , A1,A2, id) \
861 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
862 RCF_MAKE_NEXT_DISPATCH_ID(id) \
863 ::RCF::FutureImpl<V> func( \
864 ::RCF::RemoveOut<A1 >::type a1, \
865 ::RCF::RemoveOut<A2 >::type a2) \
868 ::RCF::CallOptions() , \
872 ::RCF::FutureImpl<V> func( \
873 const ::RCF::CallOptions &callOptions , \
874 ::RCF::RemoveOut<A1 >::type a1, \
875 ::RCF::RemoveOut<A2 >::type a2); \
877 void error__method_defined_out_of_order__##func( \
879 ::RCF::RemoveOut<A1 >::type a1, \
880 ::RCF::RemoveOut<A2 >::type a2); \
882 const char * getFunctionName(const id &) \
886 const char * getArity(const id &) \
892 template<typename T> \
895 ::RCF::RcfSession &session, \
898 ::RCF::ServerParameters< \
901 ::RCF::AllocateServerParameters< \
903 A1,A2 >()(session); \
904 RCF_UNUSED_VARIABLE(p); \
911 #define RCF_METHOD_V2_DEF(R,func , A1,A2) \
912 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__))
914 #define RCF_METHOD_V2_DEF_(R,func , A1,A2, interfaceId, funcId, genParms) \
915 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
916 typedef GeneratorParms<interfaceId> genParms; \
917 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
918 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
919 const ::RCF::CallOptions &callOptions , \
920 ::RCF::RemoveOut<A1 >::type a1, \
921 ::RCF::RemoveOut<A2 >::type a2) \
923 typedef ::RCF::Void V; \
924 getClientStub().setAsync(false); \
925 return RCF::FutureImpl<V >( \
926 ::RCF::AllocateClientParameters< \
929 V,V,V,V,V,V,V,V,V,V,V,V,V >()( \
932 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
936 callOptions.apply(getClientStub()), \
940 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
942 ::RCF::RemoveOut<A1 >::type a1, \
943 ::RCF::RemoveOut<A2 >::type a2) \
955 #define RCF_METHOD_R3_INLINE(R,func , A1,A2,A3) \
956 RCF_METHOD_R3_INLINE_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, R3))
958 #define RCF_METHOD_R3_INLINE_(R,func , A1,A2,A3, id) \
960 RCF_MAKE_NEXT_DISPATCH_ID(id) \
961 ::RCF::FutureImpl<R > func( \
962 ::RCF::RemoveOut<A1 >::type a1, \
963 ::RCF::RemoveOut<A2 >::type a2, \
964 ::RCF::RemoveOut<A3 >::type a3) \
967 ::RCF::CallOptions() , \
970 ::RCF::FutureImpl<R > func( \
971 const ::RCF::CallOptions &callOptions , \
972 ::RCF::RemoveOut<A1 >::type a1, \
973 ::RCF::RemoveOut<A2 >::type a2, \
974 ::RCF::RemoveOut<A3 >::type a3) \
976 getClientStub().setAsync(false); \
977 return RCF::FutureImpl<R >( \
978 ::RCF::AllocateClientParameters< \
981 V,V,V,V,V,V,V,V,V,V,V,V >()( \
984 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
988 callOptions.apply(getClientStub()), \
992 const char * getFunctionName(const id &) \
996 const char * getArity(const id &) \
1002 template<typename T> \
1005 ::RCF::RcfSession &session, \
1008 ::RCF::ServerParameters< \
1011 ::RCF::AllocateServerParameters< \
1013 A1,A2,A3 >()(session); \
1015 session.getAutoSend(), \
1023 #define RCF_METHOD_R3_DECL(R,func , A1,A2,A3) \
1024 RCF_METHOD_R3_DECL_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, R3))
1026 #define RCF_METHOD_R3_DECL_(R,func , A1,A2,A3, id) \
1028 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1029 ::RCF::FutureImpl<R > func( \
1030 ::RCF::RemoveOut<A1 >::type a1, \
1031 ::RCF::RemoveOut<A2 >::type a2, \
1032 ::RCF::RemoveOut<A3 >::type a3) \
1035 ::RCF::CallOptions() , \
1039 ::RCF::FutureImpl<R > func( \
1040 const ::RCF::CallOptions &callOptions , \
1041 ::RCF::RemoveOut<A1 >::type a1, \
1042 ::RCF::RemoveOut<A2 >::type a2, \
1043 ::RCF::RemoveOut<A3 >::type a3); \
1045 void error__method_defined_out_of_order__##func( \
1047 ::RCF::RemoveOut<A1 >::type a1, \
1048 ::RCF::RemoveOut<A2 >::type a2, \
1049 ::RCF::RemoveOut<A3 >::type a3); \
1051 const char * getFunctionName(const id &) \
1055 const char * getArity(const id &) \
1061 template<typename T> \
1064 ::RCF::RcfSession &session, \
1067 ::RCF::ServerParameters< \
1070 ::RCF::AllocateServerParameters< \
1072 A1,A2,A3 >()(session); \
1074 session.getAutoSend(), \
1082 #define RCF_METHOD_R3_DEF(R,func , A1,A2,A3) \
1083 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__))
1085 #define RCF_METHOD_R3_DEF_(R,func , A1,A2,A3, interfaceId, funcId, genParms) \
1086 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1087 typedef GeneratorParms<interfaceId> genParms; \
1088 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1089 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
1090 const ::RCF::CallOptions &callOptions , \
1091 ::RCF::RemoveOut<A1 >::type a1, \
1092 ::RCF::RemoveOut<A2 >::type a2, \
1093 ::RCF::RemoveOut<A3 >::type a3) \
1095 getClientStub().setAsync(false); \
1096 return RCF::FutureImpl<R >( \
1097 ::RCF::AllocateClientParameters< \
1100 V,V,V,V,V,V,V,V,V,V,V,V >()( \
1103 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1107 callOptions.apply(getClientStub()), \
1111 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1113 ::RCF::RemoveOut<A1 >::type a1, \
1114 ::RCF::RemoveOut<A2 >::type a2, \
1115 ::RCF::RemoveOut<A3 >::type a3) \
1126 #define RCF_METHOD_V3_INLINE(R,func , A1,A2,A3) \
1127 RCF_METHOD_V3_INLINE_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, V3))
1129 #define RCF_METHOD_V3_INLINE_(R,func , A1,A2,A3, id) \
1131 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1132 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1133 ::RCF::FutureImpl<V> func( \
1134 ::RCF::RemoveOut<A1 >::type a1, \
1135 ::RCF::RemoveOut<A2 >::type a2, \
1136 ::RCF::RemoveOut<A3 >::type a3) \
1139 ::RCF::CallOptions() , \
1142 ::RCF::FutureImpl<V> func( \
1143 const ::RCF::CallOptions &callOptions , \
1144 ::RCF::RemoveOut<A1 >::type a1, \
1145 ::RCF::RemoveOut<A2 >::type a2, \
1146 ::RCF::RemoveOut<A3 >::type a3) \
1148 getClientStub().setAsync(false); \
1149 return RCF::FutureImpl<V>( \
1150 ::RCF::AllocateClientParameters< \
1153 V,V,V,V,V,V,V,V,V,V,V,V >()( \
1156 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1160 callOptions.apply(getClientStub()), \
1164 const char * getFunctionName(const id &) \
1168 const char * getArity(const id &) \
1174 template<typename T> \
1177 ::RCF::RcfSession &session, \
1180 ::RCF::ServerParameters< \
1183 ::RCF::AllocateServerParameters< \
1185 A1,A2,A3 >()(session); \
1186 RCF_UNUSED_VARIABLE(p); \
1194 #define RCF_METHOD_V3_DECL(R,func , A1,A2,A3) \
1195 RCF_METHOD_V3_DECL_(R,func , A1,A2,A3, RCF_MAKE_UNIQUE_ID(func, V3))
1197 #define RCF_METHOD_V3_DECL_(R,func , A1,A2,A3, id) \
1199 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1200 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1201 ::RCF::FutureImpl<V> func( \
1202 ::RCF::RemoveOut<A1 >::type a1, \
1203 ::RCF::RemoveOut<A2 >::type a2, \
1204 ::RCF::RemoveOut<A3 >::type a3) \
1207 ::RCF::CallOptions() , \
1211 ::RCF::FutureImpl<V> func( \
1212 const ::RCF::CallOptions &callOptions , \
1213 ::RCF::RemoveOut<A1 >::type a1, \
1214 ::RCF::RemoveOut<A2 >::type a2, \
1215 ::RCF::RemoveOut<A3 >::type a3); \
1217 void error__method_defined_out_of_order__##func( \
1219 ::RCF::RemoveOut<A1 >::type a1, \
1220 ::RCF::RemoveOut<A2 >::type a2, \
1221 ::RCF::RemoveOut<A3 >::type a3); \
1223 const char * getFunctionName(const id &) \
1227 const char * getArity(const id &) \
1233 template<typename T> \
1236 ::RCF::RcfSession &session, \
1239 ::RCF::ServerParameters< \
1242 ::RCF::AllocateServerParameters< \
1244 A1,A2,A3 >()(session); \
1245 RCF_UNUSED_VARIABLE(p); \
1253 #define RCF_METHOD_V3_DEF(R,func , A1,A2,A3) \
1254 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__))
1256 #define RCF_METHOD_V3_DEF_(R,func , A1,A2,A3, interfaceId, funcId, genParms) \
1257 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1258 typedef GeneratorParms<interfaceId> genParms; \
1259 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1260 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
1261 const ::RCF::CallOptions &callOptions , \
1262 ::RCF::RemoveOut<A1 >::type a1, \
1263 ::RCF::RemoveOut<A2 >::type a2, \
1264 ::RCF::RemoveOut<A3 >::type a3) \
1266 typedef ::RCF::Void V; \
1267 getClientStub().setAsync(false); \
1268 return RCF::FutureImpl<V >( \
1269 ::RCF::AllocateClientParameters< \
1272 V,V,V,V,V,V,V,V,V,V,V,V >()( \
1275 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1279 callOptions.apply(getClientStub()), \
1283 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1285 ::RCF::RemoveOut<A1 >::type a1, \
1286 ::RCF::RemoveOut<A2 >::type a2, \
1287 ::RCF::RemoveOut<A3 >::type a3) \
1299 #define RCF_METHOD_R4_INLINE(R,func , A1,A2,A3,A4) \
1300 RCF_METHOD_R4_INLINE_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, R4))
1302 #define RCF_METHOD_R4_INLINE_(R,func , A1,A2,A3,A4, id) \
1304 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1305 ::RCF::FutureImpl<R > func( \
1306 ::RCF::RemoveOut<A1 >::type a1, \
1307 ::RCF::RemoveOut<A2 >::type a2, \
1308 ::RCF::RemoveOut<A3 >::type a3, \
1309 ::RCF::RemoveOut<A4 >::type a4) \
1312 ::RCF::CallOptions() , \
1315 ::RCF::FutureImpl<R > func( \
1316 const ::RCF::CallOptions &callOptions , \
1317 ::RCF::RemoveOut<A1 >::type a1, \
1318 ::RCF::RemoveOut<A2 >::type a2, \
1319 ::RCF::RemoveOut<A3 >::type a3, \
1320 ::RCF::RemoveOut<A4 >::type a4) \
1322 getClientStub().setAsync(false); \
1323 return RCF::FutureImpl<R >( \
1324 ::RCF::AllocateClientParameters< \
1327 V,V,V,V,V,V,V,V,V,V,V >()( \
1330 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1334 callOptions.apply(getClientStub()), \
1338 const char * getFunctionName(const id &) \
1342 const char * getArity(const id &) \
1348 template<typename T> \
1351 ::RCF::RcfSession &session, \
1354 ::RCF::ServerParameters< \
1356 A1,A2,A3,A4 > &p = \
1357 ::RCF::AllocateServerParameters< \
1359 A1,A2,A3,A4 >()(session); \
1361 session.getAutoSend(), \
1370 #define RCF_METHOD_R4_DECL(R,func , A1,A2,A3,A4) \
1371 RCF_METHOD_R4_DECL_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, R4))
1373 #define RCF_METHOD_R4_DECL_(R,func , A1,A2,A3,A4, id) \
1375 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1376 ::RCF::FutureImpl<R > func( \
1377 ::RCF::RemoveOut<A1 >::type a1, \
1378 ::RCF::RemoveOut<A2 >::type a2, \
1379 ::RCF::RemoveOut<A3 >::type a3, \
1380 ::RCF::RemoveOut<A4 >::type a4) \
1383 ::RCF::CallOptions() , \
1387 ::RCF::FutureImpl<R > func( \
1388 const ::RCF::CallOptions &callOptions , \
1389 ::RCF::RemoveOut<A1 >::type a1, \
1390 ::RCF::RemoveOut<A2 >::type a2, \
1391 ::RCF::RemoveOut<A3 >::type a3, \
1392 ::RCF::RemoveOut<A4 >::type a4); \
1394 void error__method_defined_out_of_order__##func( \
1396 ::RCF::RemoveOut<A1 >::type a1, \
1397 ::RCF::RemoveOut<A2 >::type a2, \
1398 ::RCF::RemoveOut<A3 >::type a3, \
1399 ::RCF::RemoveOut<A4 >::type a4); \
1401 const char * getFunctionName(const id &) \
1405 const char * getArity(const id &) \
1411 template<typename T> \
1414 ::RCF::RcfSession &session, \
1417 ::RCF::ServerParameters< \
1419 A1,A2,A3,A4 > &p = \
1420 ::RCF::AllocateServerParameters< \
1422 A1,A2,A3,A4 >()(session); \
1424 session.getAutoSend(), \
1433 #define RCF_METHOD_R4_DEF(R,func , A1,A2,A3,A4) \
1434 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__))
1436 #define RCF_METHOD_R4_DEF_(R,func , A1,A2,A3,A4, interfaceId, funcId, genParms)\
1437 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1438 typedef GeneratorParms<interfaceId> genParms; \
1439 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1440 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
1441 const ::RCF::CallOptions &callOptions , \
1442 ::RCF::RemoveOut<A1 >::type a1, \
1443 ::RCF::RemoveOut<A2 >::type a2, \
1444 ::RCF::RemoveOut<A3 >::type a3, \
1445 ::RCF::RemoveOut<A4 >::type a4) \
1447 getClientStub().setAsync(false); \
1448 return RCF::FutureImpl<R >( \
1449 ::RCF::AllocateClientParameters< \
1452 V,V,V,V,V,V,V,V,V,V,V >()( \
1455 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1459 callOptions.apply(getClientStub()), \
1463 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1465 ::RCF::RemoveOut<A1 >::type a1, \
1466 ::RCF::RemoveOut<A2 >::type a2, \
1467 ::RCF::RemoveOut<A3 >::type a3, \
1468 ::RCF::RemoveOut<A4 >::type a4) \
1479 #define RCF_METHOD_V4_INLINE(R,func , A1,A2,A3,A4) \
1480 RCF_METHOD_V4_INLINE_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, V4))
1482 #define RCF_METHOD_V4_INLINE_(R,func , A1,A2,A3,A4, id) \
1484 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1485 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1486 ::RCF::FutureImpl<V> func( \
1487 ::RCF::RemoveOut<A1 >::type a1, \
1488 ::RCF::RemoveOut<A2 >::type a2, \
1489 ::RCF::RemoveOut<A3 >::type a3, \
1490 ::RCF::RemoveOut<A4 >::type a4) \
1493 ::RCF::CallOptions() , \
1496 ::RCF::FutureImpl<V> func( \
1497 const ::RCF::CallOptions &callOptions , \
1498 ::RCF::RemoveOut<A1 >::type a1, \
1499 ::RCF::RemoveOut<A2 >::type a2, \
1500 ::RCF::RemoveOut<A3 >::type a3, \
1501 ::RCF::RemoveOut<A4 >::type a4) \
1503 getClientStub().setAsync(false); \
1504 return RCF::FutureImpl<V>( \
1505 ::RCF::AllocateClientParameters< \
1508 V,V,V,V,V,V,V,V,V,V,V >()( \
1511 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(),\
1515 callOptions.apply(getClientStub()), \
1519 const char * getFunctionName(const id &) \
1523 const char * getArity(const id &) \
1529 template<typename T> \
1532 ::RCF::RcfSession &session, \
1535 ::RCF::ServerParameters< \
1537 A1,A2,A3,A4 > &p = \
1538 ::RCF::AllocateServerParameters< \
1540 A1,A2,A3,A4 >()(session); \
1541 RCF_UNUSED_VARIABLE(p); \
1550 #define RCF_METHOD_V4_DECL(R,func , A1,A2,A3,A4) \
1551 RCF_METHOD_V4_DECL_(R,func , A1,A2,A3,A4, RCF_MAKE_UNIQUE_ID(func, V4))
1553 #define RCF_METHOD_V4_DECL_(R,func , A1,A2,A3,A4, id) \
1555 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1556 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1557 ::RCF::FutureImpl<V> func( \
1558 ::RCF::RemoveOut<A1 >::type a1, \
1559 ::RCF::RemoveOut<A2 >::type a2, \
1560 ::RCF::RemoveOut<A3 >::type a3, \
1561 ::RCF::RemoveOut<A4 >::type a4) \
1564 ::RCF::CallOptions() , \
1568 ::RCF::FutureImpl<V> 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 void error__method_defined_out_of_order__##func( \
1577 ::RCF::RemoveOut<A1 >::type a1, \
1578 ::RCF::RemoveOut<A2 >::type a2, \
1579 ::RCF::RemoveOut<A3 >::type a3, \
1580 ::RCF::RemoveOut<A4 >::type a4); \
1582 const char * getFunctionName(const id &) \
1586 const char * getArity(const id &) \
1592 template<typename T> \
1595 ::RCF::RcfSession &session, \
1598 ::RCF::ServerParameters< \
1600 A1,A2,A3,A4 > &p = \
1601 ::RCF::AllocateServerParameters< \
1603 A1,A2,A3,A4 >()(session); \
1604 RCF_UNUSED_VARIABLE(p); \
1613 #define RCF_METHOD_V4_DEF(R,func , A1,A2,A3,A4) \
1614 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__))
1616 #define RCF_METHOD_V4_DEF_(R,func , A1,A2,A3,A4, interfaceId, funcId, genParms)\
1617 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1618 typedef GeneratorParms<interfaceId> genParms; \
1619 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1620 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
1621 const ::RCF::CallOptions &callOptions , \
1622 ::RCF::RemoveOut<A1 >::type a1, \
1623 ::RCF::RemoveOut<A2 >::type a2, \
1624 ::RCF::RemoveOut<A3 >::type a3, \
1625 ::RCF::RemoveOut<A4 >::type a4) \
1627 typedef ::RCF::Void V; \
1628 getClientStub().setAsync(false); \
1629 return RCF::FutureImpl<V >( \
1630 ::RCF::AllocateClientParameters< \
1633 V,V,V,V,V,V,V,V,V,V,V >()( \
1636 V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1640 callOptions.apply(getClientStub()), \
1644 void genParms::RcfClientT::error__method_defined_out_of_order__##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) \
1661 #define RCF_METHOD_R5_INLINE(R,func , A1,A2,A3,A4,A5) \
1662 RCF_METHOD_R5_INLINE_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, R5))
1664 #define RCF_METHOD_R5_INLINE_(R,func , A1,A2,A3,A4,A5, id) \
1666 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1667 ::RCF::FutureImpl<R > func( \
1668 ::RCF::RemoveOut<A1 >::type a1, \
1669 ::RCF::RemoveOut<A2 >::type a2, \
1670 ::RCF::RemoveOut<A3 >::type a3, \
1671 ::RCF::RemoveOut<A4 >::type a4, \
1672 ::RCF::RemoveOut<A5 >::type a5) \
1675 ::RCF::CallOptions() , \
1678 ::RCF::FutureImpl<R > func( \
1679 const ::RCF::CallOptions &callOptions , \
1680 ::RCF::RemoveOut<A1 >::type a1, \
1681 ::RCF::RemoveOut<A2 >::type a2, \
1682 ::RCF::RemoveOut<A3 >::type a3, \
1683 ::RCF::RemoveOut<A4 >::type a4, \
1684 ::RCF::RemoveOut<A5 >::type a5) \
1686 getClientStub().setAsync(false); \
1687 return RCF::FutureImpl<R >( \
1688 ::RCF::AllocateClientParameters< \
1691 V,V,V,V,V,V,V,V,V,V >()( \
1694 V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1698 callOptions.apply(getClientStub()), \
1702 const char * getFunctionName(const id &) \
1706 const char * getArity(const id &) \
1712 template<typename T> \
1715 ::RCF::RcfSession &session, \
1718 ::RCF::ServerParameters< \
1720 A1,A2,A3,A4,A5 > &p = \
1721 ::RCF::AllocateServerParameters< \
1723 A1,A2,A3,A4,A5 >()(session); \
1725 session.getAutoSend(), \
1735 #define RCF_METHOD_R5_DECL(R,func , A1,A2,A3,A4,A5) \
1736 RCF_METHOD_R5_DECL_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, R5))
1738 #define RCF_METHOD_R5_DECL_(R,func , A1,A2,A3,A4,A5, id) \
1740 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1741 ::RCF::FutureImpl<R > func( \
1742 ::RCF::RemoveOut<A1 >::type a1, \
1743 ::RCF::RemoveOut<A2 >::type a2, \
1744 ::RCF::RemoveOut<A3 >::type a3, \
1745 ::RCF::RemoveOut<A4 >::type a4, \
1746 ::RCF::RemoveOut<A5 >::type a5) \
1749 ::RCF::CallOptions() , \
1753 ::RCF::FutureImpl<R > func( \
1754 const ::RCF::CallOptions &callOptions , \
1755 ::RCF::RemoveOut<A1 >::type a1, \
1756 ::RCF::RemoveOut<A2 >::type a2, \
1757 ::RCF::RemoveOut<A3 >::type a3, \
1758 ::RCF::RemoveOut<A4 >::type a4, \
1759 ::RCF::RemoveOut<A5 >::type a5); \
1761 void error__method_defined_out_of_order__##func( \
1763 ::RCF::RemoveOut<A1 >::type a1, \
1764 ::RCF::RemoveOut<A2 >::type a2, \
1765 ::RCF::RemoveOut<A3 >::type a3, \
1766 ::RCF::RemoveOut<A4 >::type a4, \
1767 ::RCF::RemoveOut<A5 >::type a5); \
1769 const char * getFunctionName(const id &) \
1773 const char * getArity(const id &) \
1779 template<typename T> \
1782 ::RCF::RcfSession &session, \
1785 ::RCF::ServerParameters< \
1787 A1,A2,A3,A4,A5 > &p = \
1788 ::RCF::AllocateServerParameters< \
1790 A1,A2,A3,A4,A5 >()(session); \
1792 session.getAutoSend(), \
1802 #define RCF_METHOD_R5_DEF(R,func , A1,A2,A3,A4,A5) \
1803 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__))
1805 #define RCF_METHOD_R5_DEF_(R,func , A1,A2,A3,A4,A5, interfaceId, funcId, genParms)\
1806 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1807 typedef GeneratorParms<interfaceId> genParms; \
1808 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1809 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
1810 const ::RCF::CallOptions &callOptions , \
1811 ::RCF::RemoveOut<A1 >::type a1, \
1812 ::RCF::RemoveOut<A2 >::type a2, \
1813 ::RCF::RemoveOut<A3 >::type a3, \
1814 ::RCF::RemoveOut<A4 >::type a4, \
1815 ::RCF::RemoveOut<A5 >::type a5) \
1817 getClientStub().setAsync(false); \
1818 return RCF::FutureImpl<R >( \
1819 ::RCF::AllocateClientParameters< \
1822 V,V,V,V,V,V,V,V,V,V >()( \
1825 V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1829 callOptions.apply(getClientStub()), \
1833 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
1835 ::RCF::RemoveOut<A1 >::type a1, \
1836 ::RCF::RemoveOut<A2 >::type a2, \
1837 ::RCF::RemoveOut<A3 >::type a3, \
1838 ::RCF::RemoveOut<A4 >::type a4, \
1839 ::RCF::RemoveOut<A5 >::type a5) \
1850 #define RCF_METHOD_V5_INLINE(R,func , A1,A2,A3,A4,A5) \
1851 RCF_METHOD_V5_INLINE_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, V5))
1853 #define RCF_METHOD_V5_INLINE_(R,func , A1,A2,A3,A4,A5, id) \
1855 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1856 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1857 ::RCF::FutureImpl<V> func( \
1858 ::RCF::RemoveOut<A1 >::type a1, \
1859 ::RCF::RemoveOut<A2 >::type a2, \
1860 ::RCF::RemoveOut<A3 >::type a3, \
1861 ::RCF::RemoveOut<A4 >::type a4, \
1862 ::RCF::RemoveOut<A5 >::type a5) \
1865 ::RCF::CallOptions() , \
1868 ::RCF::FutureImpl<V> func( \
1869 const ::RCF::CallOptions &callOptions , \
1870 ::RCF::RemoveOut<A1 >::type a1, \
1871 ::RCF::RemoveOut<A2 >::type a2, \
1872 ::RCF::RemoveOut<A3 >::type a3, \
1873 ::RCF::RemoveOut<A4 >::type a4, \
1874 ::RCF::RemoveOut<A5 >::type a5) \
1876 getClientStub().setAsync(false); \
1877 return RCF::FutureImpl<V>( \
1878 ::RCF::AllocateClientParameters< \
1881 V,V,V,V,V,V,V,V,V,V >()( \
1884 V(),V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
1888 callOptions.apply(getClientStub()), \
1892 const char * getFunctionName(const id &) \
1896 const char * getArity(const id &) \
1902 template<typename T> \
1905 ::RCF::RcfSession &session, \
1908 ::RCF::ServerParameters< \
1910 A1,A2,A3,A4,A5 > &p = \
1911 ::RCF::AllocateServerParameters< \
1913 A1,A2,A3,A4,A5 >()(session); \
1914 RCF_UNUSED_VARIABLE(p); \
1924 #define RCF_METHOD_V5_DECL(R,func , A1,A2,A3,A4,A5) \
1925 RCF_METHOD_V5_DECL_(R,func , A1,A2,A3,A4,A5, RCF_MAKE_UNIQUE_ID(func, V5))
1927 #define RCF_METHOD_V5_DECL_(R,func , A1,A2,A3,A4,A5, id) \
1929 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
1930 RCF_MAKE_NEXT_DISPATCH_ID(id) \
1931 ::RCF::FutureImpl<V> func( \
1932 ::RCF::RemoveOut<A1 >::type a1, \
1933 ::RCF::RemoveOut<A2 >::type a2, \
1934 ::RCF::RemoveOut<A3 >::type a3, \
1935 ::RCF::RemoveOut<A4 >::type a4, \
1936 ::RCF::RemoveOut<A5 >::type a5) \
1939 ::RCF::CallOptions() , \
1943 ::RCF::FutureImpl<V> func( \
1944 const ::RCF::CallOptions &callOptions , \
1945 ::RCF::RemoveOut<A1 >::type a1, \
1946 ::RCF::RemoveOut<A2 >::type a2, \
1947 ::RCF::RemoveOut<A3 >::type a3, \
1948 ::RCF::RemoveOut<A4 >::type a4, \
1949 ::RCF::RemoveOut<A5 >::type a5); \
1951 void error__method_defined_out_of_order__##func( \
1953 ::RCF::RemoveOut<A1 >::type a1, \
1954 ::RCF::RemoveOut<A2 >::type a2, \
1955 ::RCF::RemoveOut<A3 >::type a3, \
1956 ::RCF::RemoveOut<A4 >::type a4, \
1957 ::RCF::RemoveOut<A5 >::type a5); \
1959 const char * getFunctionName(const id &) \
1963 const char * getArity(const id &) \
1969 template<typename T> \
1972 ::RCF::RcfSession &session, \
1975 ::RCF::ServerParameters< \
1977 A1,A2,A3,A4,A5 > &p = \
1978 ::RCF::AllocateServerParameters< \
1980 A1,A2,A3,A4,A5 >()(session); \
1981 RCF_UNUSED_VARIABLE(p); \
1991 #define RCF_METHOD_V5_DEF(R,func , A1,A2,A3,A4,A5) \
1992 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__))
1994 #define RCF_METHOD_V5_DEF_(R,func , A1,A2,A3,A4,A5, interfaceId, funcId, genParms)\
1995 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
1996 typedef GeneratorParms<interfaceId> genParms; \
1997 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
1998 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
1999 const ::RCF::CallOptions &callOptions , \
2000 ::RCF::RemoveOut<A1 >::type a1, \
2001 ::RCF::RemoveOut<A2 >::type a2, \
2002 ::RCF::RemoveOut<A3 >::type a3, \
2003 ::RCF::RemoveOut<A4 >::type a4, \
2004 ::RCF::RemoveOut<A5 >::type a5) \
2006 typedef ::RCF::Void V; \
2007 getClientStub().setAsync(false); \
2008 return RCF::FutureImpl<V >( \
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 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2025 ::RCF::RemoveOut<A1 >::type a1, \
2026 ::RCF::RemoveOut<A2 >::type a2, \
2027 ::RCF::RemoveOut<A3 >::type a3, \
2028 ::RCF::RemoveOut<A4 >::type a4, \
2029 ::RCF::RemoveOut<A5 >::type a5) \
2041 #define RCF_METHOD_R6_INLINE(R,func , A1,A2,A3,A4,A5,A6) \
2042 RCF_METHOD_R6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, R6))
2044 #define RCF_METHOD_R6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, id) \
2046 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2047 ::RCF::FutureImpl<R > func( \
2048 ::RCF::RemoveOut<A1 >::type a1, \
2049 ::RCF::RemoveOut<A2 >::type a2, \
2050 ::RCF::RemoveOut<A3 >::type a3, \
2051 ::RCF::RemoveOut<A4 >::type a4, \
2052 ::RCF::RemoveOut<A5 >::type a5, \
2053 ::RCF::RemoveOut<A6 >::type a6) \
2056 ::RCF::CallOptions() , \
2057 a1,a2,a3,a4,a5,a6); \
2059 ::RCF::FutureImpl<R > func( \
2060 const ::RCF::CallOptions &callOptions , \
2061 ::RCF::RemoveOut<A1 >::type a1, \
2062 ::RCF::RemoveOut<A2 >::type a2, \
2063 ::RCF::RemoveOut<A3 >::type a3, \
2064 ::RCF::RemoveOut<A4 >::type a4, \
2065 ::RCF::RemoveOut<A5 >::type a5, \
2066 ::RCF::RemoveOut<A6 >::type a6) \
2068 getClientStub().setAsync(false); \
2069 return RCF::FutureImpl<R >( \
2070 ::RCF::AllocateClientParameters< \
2072 A1,A2,A3,A4,A5,A6 , \
2073 V,V,V,V,V,V,V,V,V >()( \
2075 a1,a2,a3,a4,a5,a6 , \
2076 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2080 callOptions.apply(getClientStub()), \
2084 const char * getFunctionName(const id &) \
2088 const char * getArity(const id &) \
2094 template<typename T> \
2097 ::RCF::RcfSession &session, \
2100 ::RCF::ServerParameters< \
2102 A1,A2,A3,A4,A5,A6 > &p = \
2103 ::RCF::AllocateServerParameters< \
2105 A1,A2,A3,A4,A5,A6 >()(session); \
2107 session.getAutoSend(), \
2118 #define RCF_METHOD_R6_DECL(R,func , A1,A2,A3,A4,A5,A6) \
2119 RCF_METHOD_R6_DECL_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, R6))
2121 #define RCF_METHOD_R6_DECL_(R,func , A1,A2,A3,A4,A5,A6, id) \
2123 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2124 ::RCF::FutureImpl<R > func( \
2125 ::RCF::RemoveOut<A1 >::type a1, \
2126 ::RCF::RemoveOut<A2 >::type a2, \
2127 ::RCF::RemoveOut<A3 >::type a3, \
2128 ::RCF::RemoveOut<A4 >::type a4, \
2129 ::RCF::RemoveOut<A5 >::type a5, \
2130 ::RCF::RemoveOut<A6 >::type a6) \
2133 ::RCF::CallOptions() , \
2134 a1,a2,a3,a4,a5,a6); \
2137 ::RCF::FutureImpl<R > func( \
2138 const ::RCF::CallOptions &callOptions , \
2139 ::RCF::RemoveOut<A1 >::type a1, \
2140 ::RCF::RemoveOut<A2 >::type a2, \
2141 ::RCF::RemoveOut<A3 >::type a3, \
2142 ::RCF::RemoveOut<A4 >::type a4, \
2143 ::RCF::RemoveOut<A5 >::type a5, \
2144 ::RCF::RemoveOut<A6 >::type a6); \
2146 void error__method_defined_out_of_order__##func( \
2148 ::RCF::RemoveOut<A1 >::type a1, \
2149 ::RCF::RemoveOut<A2 >::type a2, \
2150 ::RCF::RemoveOut<A3 >::type a3, \
2151 ::RCF::RemoveOut<A4 >::type a4, \
2152 ::RCF::RemoveOut<A5 >::type a5, \
2153 ::RCF::RemoveOut<A6 >::type a6); \
2155 const char * getFunctionName(const id &) \
2159 const char * getArity(const id &) \
2165 template<typename T> \
2168 ::RCF::RcfSession &session, \
2171 ::RCF::ServerParameters< \
2173 A1,A2,A3,A4,A5,A6 > &p = \
2174 ::RCF::AllocateServerParameters< \
2176 A1,A2,A3,A4,A5,A6 >()(session); \
2178 session.getAutoSend(), \
2189 #define RCF_METHOD_R6_DEF(R,func , A1,A2,A3,A4,A5,A6) \
2190 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__))
2192 #define RCF_METHOD_R6_DEF_(R,func , A1,A2,A3,A4,A5,A6, interfaceId, funcId, genParms)\
2193 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2194 typedef GeneratorParms<interfaceId> genParms; \
2195 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2196 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
2197 const ::RCF::CallOptions &callOptions , \
2198 ::RCF::RemoveOut<A1 >::type a1, \
2199 ::RCF::RemoveOut<A2 >::type a2, \
2200 ::RCF::RemoveOut<A3 >::type a3, \
2201 ::RCF::RemoveOut<A4 >::type a4, \
2202 ::RCF::RemoveOut<A5 >::type a5, \
2203 ::RCF::RemoveOut<A6 >::type a6) \
2205 getClientStub().setAsync(false); \
2206 return RCF::FutureImpl<R >( \
2207 ::RCF::AllocateClientParameters< \
2209 A1,A2,A3,A4,A5,A6 , \
2210 V,V,V,V,V,V,V,V,V >()( \
2212 a1,a2,a3,a4,a5,a6 , \
2213 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2217 callOptions.apply(getClientStub()), \
2221 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2223 ::RCF::RemoveOut<A1 >::type a1, \
2224 ::RCF::RemoveOut<A2 >::type a2, \
2225 ::RCF::RemoveOut<A3 >::type a3, \
2226 ::RCF::RemoveOut<A4 >::type a4, \
2227 ::RCF::RemoveOut<A5 >::type a5, \
2228 ::RCF::RemoveOut<A6 >::type a6) \
2239 #define RCF_METHOD_V6_INLINE(R,func , A1,A2,A3,A4,A5,A6) \
2240 RCF_METHOD_V6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, V6))
2242 #define RCF_METHOD_V6_INLINE_(R,func , A1,A2,A3,A4,A5,A6, id) \
2244 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2245 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2246 ::RCF::FutureImpl<V> func( \
2247 ::RCF::RemoveOut<A1 >::type a1, \
2248 ::RCF::RemoveOut<A2 >::type a2, \
2249 ::RCF::RemoveOut<A3 >::type a3, \
2250 ::RCF::RemoveOut<A4 >::type a4, \
2251 ::RCF::RemoveOut<A5 >::type a5, \
2252 ::RCF::RemoveOut<A6 >::type a6) \
2255 ::RCF::CallOptions() , \
2256 a1,a2,a3,a4,a5,a6); \
2258 ::RCF::FutureImpl<V> func( \
2259 const ::RCF::CallOptions &callOptions , \
2260 ::RCF::RemoveOut<A1 >::type a1, \
2261 ::RCF::RemoveOut<A2 >::type a2, \
2262 ::RCF::RemoveOut<A3 >::type a3, \
2263 ::RCF::RemoveOut<A4 >::type a4, \
2264 ::RCF::RemoveOut<A5 >::type a5, \
2265 ::RCF::RemoveOut<A6 >::type a6) \
2267 getClientStub().setAsync(false); \
2268 return RCF::FutureImpl<V>( \
2269 ::RCF::AllocateClientParameters< \
2271 A1,A2,A3,A4,A5,A6 , \
2272 V,V,V,V,V,V,V,V,V >()( \
2274 a1,a2,a3,a4,a5,a6 , \
2275 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2279 callOptions.apply(getClientStub()), \
2283 const char * getFunctionName(const id &) \
2287 const char * getArity(const id &) \
2293 template<typename T> \
2296 ::RCF::RcfSession &session, \
2299 ::RCF::ServerParameters< \
2301 A1,A2,A3,A4,A5,A6 > &p = \
2302 ::RCF::AllocateServerParameters< \
2304 A1,A2,A3,A4,A5,A6 >()(session); \
2305 RCF_UNUSED_VARIABLE(p); \
2316 #define RCF_METHOD_V6_DECL(R,func , A1,A2,A3,A4,A5,A6) \
2317 RCF_METHOD_V6_DECL_(R,func , A1,A2,A3,A4,A5,A6, RCF_MAKE_UNIQUE_ID(func, V6))
2319 #define RCF_METHOD_V6_DECL_(R,func , A1,A2,A3,A4,A5,A6, id) \
2321 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2322 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2323 ::RCF::FutureImpl<V> func( \
2324 ::RCF::RemoveOut<A1 >::type a1, \
2325 ::RCF::RemoveOut<A2 >::type a2, \
2326 ::RCF::RemoveOut<A3 >::type a3, \
2327 ::RCF::RemoveOut<A4 >::type a4, \
2328 ::RCF::RemoveOut<A5 >::type a5, \
2329 ::RCF::RemoveOut<A6 >::type a6) \
2332 ::RCF::CallOptions() , \
2333 a1,a2,a3,a4,a5,a6); \
2336 ::RCF::FutureImpl<V> func( \
2337 const ::RCF::CallOptions &callOptions , \
2338 ::RCF::RemoveOut<A1 >::type a1, \
2339 ::RCF::RemoveOut<A2 >::type a2, \
2340 ::RCF::RemoveOut<A3 >::type a3, \
2341 ::RCF::RemoveOut<A4 >::type a4, \
2342 ::RCF::RemoveOut<A5 >::type a5, \
2343 ::RCF::RemoveOut<A6 >::type a6); \
2345 void error__method_defined_out_of_order__##func( \
2347 ::RCF::RemoveOut<A1 >::type a1, \
2348 ::RCF::RemoveOut<A2 >::type a2, \
2349 ::RCF::RemoveOut<A3 >::type a3, \
2350 ::RCF::RemoveOut<A4 >::type a4, \
2351 ::RCF::RemoveOut<A5 >::type a5, \
2352 ::RCF::RemoveOut<A6 >::type a6); \
2354 const char * getFunctionName(const id &) \
2358 const char * getArity(const id &) \
2364 template<typename T> \
2367 ::RCF::RcfSession &session, \
2370 ::RCF::ServerParameters< \
2372 A1,A2,A3,A4,A5,A6 > &p = \
2373 ::RCF::AllocateServerParameters< \
2375 A1,A2,A3,A4,A5,A6 >()(session); \
2376 RCF_UNUSED_VARIABLE(p); \
2387 #define RCF_METHOD_V6_DEF(R,func , A1,A2,A3,A4,A5,A6) \
2388 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__))
2390 #define RCF_METHOD_V6_DEF_(R,func , A1,A2,A3,A4,A5,A6, interfaceId, funcId, genParms)\
2391 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2392 typedef GeneratorParms<interfaceId> genParms; \
2393 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2394 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
2395 const ::RCF::CallOptions &callOptions , \
2396 ::RCF::RemoveOut<A1 >::type a1, \
2397 ::RCF::RemoveOut<A2 >::type a2, \
2398 ::RCF::RemoveOut<A3 >::type a3, \
2399 ::RCF::RemoveOut<A4 >::type a4, \
2400 ::RCF::RemoveOut<A5 >::type a5, \
2401 ::RCF::RemoveOut<A6 >::type a6) \
2403 typedef ::RCF::Void V; \
2404 getClientStub().setAsync(false); \
2405 return RCF::FutureImpl<V >( \
2406 ::RCF::AllocateClientParameters< \
2408 A1,A2,A3,A4,A5,A6 , \
2409 V,V,V,V,V,V,V,V,V >()( \
2411 a1,a2,a3,a4,a5,a6 , \
2412 V(),V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2416 callOptions.apply(getClientStub()), \
2420 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2422 ::RCF::RemoveOut<A1 >::type a1, \
2423 ::RCF::RemoveOut<A2 >::type a2, \
2424 ::RCF::RemoveOut<A3 >::type a3, \
2425 ::RCF::RemoveOut<A4 >::type a4, \
2426 ::RCF::RemoveOut<A5 >::type a5, \
2427 ::RCF::RemoveOut<A6 >::type a6) \
2439 #define RCF_METHOD_R7_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7) \
2440 RCF_METHOD_R7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, R7))
2442 #define RCF_METHOD_R7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
2444 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2445 ::RCF::FutureImpl<R > func( \
2446 ::RCF::RemoveOut<A1 >::type a1, \
2447 ::RCF::RemoveOut<A2 >::type a2, \
2448 ::RCF::RemoveOut<A3 >::type a3, \
2449 ::RCF::RemoveOut<A4 >::type a4, \
2450 ::RCF::RemoveOut<A5 >::type a5, \
2451 ::RCF::RemoveOut<A6 >::type a6, \
2452 ::RCF::RemoveOut<A7 >::type a7) \
2455 ::RCF::CallOptions() , \
2456 a1,a2,a3,a4,a5,a6,a7); \
2458 ::RCF::FutureImpl<R > func( \
2459 const ::RCF::CallOptions &callOptions , \
2460 ::RCF::RemoveOut<A1 >::type a1, \
2461 ::RCF::RemoveOut<A2 >::type a2, \
2462 ::RCF::RemoveOut<A3 >::type a3, \
2463 ::RCF::RemoveOut<A4 >::type a4, \
2464 ::RCF::RemoveOut<A5 >::type a5, \
2465 ::RCF::RemoveOut<A6 >::type a6, \
2466 ::RCF::RemoveOut<A7 >::type a7) \
2468 getClientStub().setAsync(false); \
2469 return RCF::FutureImpl<R >( \
2470 ::RCF::AllocateClientParameters< \
2472 A1,A2,A3,A4,A5,A6,A7 , \
2473 V,V,V,V,V,V,V,V >()( \
2475 a1,a2,a3,a4,a5,a6,a7 , \
2476 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2480 callOptions.apply(getClientStub()), \
2484 const char * getFunctionName(const id &) \
2488 const char * getArity(const id &) \
2494 template<typename T> \
2497 ::RCF::RcfSession &session, \
2500 ::RCF::ServerParameters< \
2502 A1,A2,A3,A4,A5,A6,A7 > &p = \
2503 ::RCF::AllocateServerParameters< \
2505 A1,A2,A3,A4,A5,A6,A7 >()(session); \
2507 session.getAutoSend(), \
2519 #define RCF_METHOD_R7_DECL(R,func , A1,A2,A3,A4,A5,A6,A7) \
2520 RCF_METHOD_R7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, R7))
2522 #define RCF_METHOD_R7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
2524 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2525 ::RCF::FutureImpl<R > func( \
2526 ::RCF::RemoveOut<A1 >::type a1, \
2527 ::RCF::RemoveOut<A2 >::type a2, \
2528 ::RCF::RemoveOut<A3 >::type a3, \
2529 ::RCF::RemoveOut<A4 >::type a4, \
2530 ::RCF::RemoveOut<A5 >::type a5, \
2531 ::RCF::RemoveOut<A6 >::type a6, \
2532 ::RCF::RemoveOut<A7 >::type a7) \
2535 ::RCF::CallOptions() , \
2536 a1,a2,a3,a4,a5,a6,a7); \
2539 ::RCF::FutureImpl<R > func( \
2540 const ::RCF::CallOptions &callOptions , \
2541 ::RCF::RemoveOut<A1 >::type a1, \
2542 ::RCF::RemoveOut<A2 >::type a2, \
2543 ::RCF::RemoveOut<A3 >::type a3, \
2544 ::RCF::RemoveOut<A4 >::type a4, \
2545 ::RCF::RemoveOut<A5 >::type a5, \
2546 ::RCF::RemoveOut<A6 >::type a6, \
2547 ::RCF::RemoveOut<A7 >::type a7); \
2549 void error__method_defined_out_of_order__##func( \
2551 ::RCF::RemoveOut<A1 >::type a1, \
2552 ::RCF::RemoveOut<A2 >::type a2, \
2553 ::RCF::RemoveOut<A3 >::type a3, \
2554 ::RCF::RemoveOut<A4 >::type a4, \
2555 ::RCF::RemoveOut<A5 >::type a5, \
2556 ::RCF::RemoveOut<A6 >::type a6, \
2557 ::RCF::RemoveOut<A7 >::type a7); \
2559 const char * getFunctionName(const id &) \
2563 const char * getArity(const id &) \
2569 template<typename T> \
2572 ::RCF::RcfSession &session, \
2575 ::RCF::ServerParameters< \
2577 A1,A2,A3,A4,A5,A6,A7 > &p = \
2578 ::RCF::AllocateServerParameters< \
2580 A1,A2,A3,A4,A5,A6,A7 >()(session); \
2582 session.getAutoSend(), \
2594 #define RCF_METHOD_R7_DEF(R,func , A1,A2,A3,A4,A5,A6,A7) \
2595 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__))
2597 #define RCF_METHOD_R7_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7, interfaceId, funcId, genParms)\
2598 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2599 typedef GeneratorParms<interfaceId> genParms; \
2600 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2601 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
2602 const ::RCF::CallOptions &callOptions , \
2603 ::RCF::RemoveOut<A1 >::type a1, \
2604 ::RCF::RemoveOut<A2 >::type a2, \
2605 ::RCF::RemoveOut<A3 >::type a3, \
2606 ::RCF::RemoveOut<A4 >::type a4, \
2607 ::RCF::RemoveOut<A5 >::type a5, \
2608 ::RCF::RemoveOut<A6 >::type a6, \
2609 ::RCF::RemoveOut<A7 >::type a7) \
2611 getClientStub().setAsync(false); \
2612 return RCF::FutureImpl<R >( \
2613 ::RCF::AllocateClientParameters< \
2615 A1,A2,A3,A4,A5,A6,A7 , \
2616 V,V,V,V,V,V,V,V >()( \
2618 a1,a2,a3,a4,a5,a6,a7 , \
2619 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2623 callOptions.apply(getClientStub()), \
2627 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2629 ::RCF::RemoveOut<A1 >::type a1, \
2630 ::RCF::RemoveOut<A2 >::type a2, \
2631 ::RCF::RemoveOut<A3 >::type a3, \
2632 ::RCF::RemoveOut<A4 >::type a4, \
2633 ::RCF::RemoveOut<A5 >::type a5, \
2634 ::RCF::RemoveOut<A6 >::type a6, \
2635 ::RCF::RemoveOut<A7 >::type a7) \
2646 #define RCF_METHOD_V7_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7) \
2647 RCF_METHOD_V7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, V7))
2649 #define RCF_METHOD_V7_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
2651 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2652 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2653 ::RCF::FutureImpl<V> func( \
2654 ::RCF::RemoveOut<A1 >::type a1, \
2655 ::RCF::RemoveOut<A2 >::type a2, \
2656 ::RCF::RemoveOut<A3 >::type a3, \
2657 ::RCF::RemoveOut<A4 >::type a4, \
2658 ::RCF::RemoveOut<A5 >::type a5, \
2659 ::RCF::RemoveOut<A6 >::type a6, \
2660 ::RCF::RemoveOut<A7 >::type a7) \
2663 ::RCF::CallOptions() , \
2664 a1,a2,a3,a4,a5,a6,a7); \
2666 ::RCF::FutureImpl<V> func( \
2667 const ::RCF::CallOptions &callOptions , \
2668 ::RCF::RemoveOut<A1 >::type a1, \
2669 ::RCF::RemoveOut<A2 >::type a2, \
2670 ::RCF::RemoveOut<A3 >::type a3, \
2671 ::RCF::RemoveOut<A4 >::type a4, \
2672 ::RCF::RemoveOut<A5 >::type a5, \
2673 ::RCF::RemoveOut<A6 >::type a6, \
2674 ::RCF::RemoveOut<A7 >::type a7) \
2676 getClientStub().setAsync(false); \
2677 return RCF::FutureImpl<V>( \
2678 ::RCF::AllocateClientParameters< \
2680 A1,A2,A3,A4,A5,A6,A7 , \
2681 V,V,V,V,V,V,V,V >()( \
2683 a1,a2,a3,a4,a5,a6,a7 , \
2684 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2688 callOptions.apply(getClientStub()), \
2692 const char * getFunctionName(const id &) \
2696 const char * getArity(const id &) \
2702 template<typename T> \
2705 ::RCF::RcfSession &session, \
2708 ::RCF::ServerParameters< \
2710 A1,A2,A3,A4,A5,A6,A7 > &p = \
2711 ::RCF::AllocateServerParameters< \
2713 A1,A2,A3,A4,A5,A6,A7 >()(session); \
2714 RCF_UNUSED_VARIABLE(p); \
2726 #define RCF_METHOD_V7_DECL(R,func , A1,A2,A3,A4,A5,A6,A7) \
2727 RCF_METHOD_V7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, RCF_MAKE_UNIQUE_ID(func, V7))
2729 #define RCF_METHOD_V7_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7, id) \
2731 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
2732 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2733 ::RCF::FutureImpl<V> func( \
2734 ::RCF::RemoveOut<A1 >::type a1, \
2735 ::RCF::RemoveOut<A2 >::type a2, \
2736 ::RCF::RemoveOut<A3 >::type a3, \
2737 ::RCF::RemoveOut<A4 >::type a4, \
2738 ::RCF::RemoveOut<A5 >::type a5, \
2739 ::RCF::RemoveOut<A6 >::type a6, \
2740 ::RCF::RemoveOut<A7 >::type a7) \
2743 ::RCF::CallOptions() , \
2744 a1,a2,a3,a4,a5,a6,a7); \
2747 ::RCF::FutureImpl<V> func( \
2748 const ::RCF::CallOptions &callOptions , \
2749 ::RCF::RemoveOut<A1 >::type a1, \
2750 ::RCF::RemoveOut<A2 >::type a2, \
2751 ::RCF::RemoveOut<A3 >::type a3, \
2752 ::RCF::RemoveOut<A4 >::type a4, \
2753 ::RCF::RemoveOut<A5 >::type a5, \
2754 ::RCF::RemoveOut<A6 >::type a6, \
2755 ::RCF::RemoveOut<A7 >::type a7); \
2757 void error__method_defined_out_of_order__##func( \
2759 ::RCF::RemoveOut<A1 >::type a1, \
2760 ::RCF::RemoveOut<A2 >::type a2, \
2761 ::RCF::RemoveOut<A3 >::type a3, \
2762 ::RCF::RemoveOut<A4 >::type a4, \
2763 ::RCF::RemoveOut<A5 >::type a5, \
2764 ::RCF::RemoveOut<A6 >::type a6, \
2765 ::RCF::RemoveOut<A7 >::type a7); \
2767 const char * getFunctionName(const id &) \
2771 const char * getArity(const id &) \
2777 template<typename T> \
2780 ::RCF::RcfSession &session, \
2783 ::RCF::ServerParameters< \
2785 A1,A2,A3,A4,A5,A6,A7 > &p = \
2786 ::RCF::AllocateServerParameters< \
2788 A1,A2,A3,A4,A5,A6,A7 >()(session); \
2789 RCF_UNUSED_VARIABLE(p); \
2801 #define RCF_METHOD_V7_DEF(R,func , A1,A2,A3,A4,A5,A6,A7) \
2802 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__))
2804 #define RCF_METHOD_V7_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7, interfaceId, funcId, genParms)\
2805 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
2806 typedef GeneratorParms<interfaceId> genParms; \
2807 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
2808 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
2809 const ::RCF::CallOptions &callOptions , \
2810 ::RCF::RemoveOut<A1 >::type a1, \
2811 ::RCF::RemoveOut<A2 >::type a2, \
2812 ::RCF::RemoveOut<A3 >::type a3, \
2813 ::RCF::RemoveOut<A4 >::type a4, \
2814 ::RCF::RemoveOut<A5 >::type a5, \
2815 ::RCF::RemoveOut<A6 >::type a6, \
2816 ::RCF::RemoveOut<A7 >::type a7) \
2818 typedef ::RCF::Void V; \
2819 getClientStub().setAsync(false); \
2820 return RCF::FutureImpl<V >( \
2821 ::RCF::AllocateClientParameters< \
2823 A1,A2,A3,A4,A5,A6,A7 , \
2824 V,V,V,V,V,V,V,V >()( \
2826 a1,a2,a3,a4,a5,a6,a7 , \
2827 V(),V(),V(),V(),V(),V(),V(),V()).r.get(), \
2831 callOptions.apply(getClientStub()), \
2835 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
2837 ::RCF::RemoveOut<A1 >::type a1, \
2838 ::RCF::RemoveOut<A2 >::type a2, \
2839 ::RCF::RemoveOut<A3 >::type a3, \
2840 ::RCF::RemoveOut<A4 >::type a4, \
2841 ::RCF::RemoveOut<A5 >::type a5, \
2842 ::RCF::RemoveOut<A6 >::type a6, \
2843 ::RCF::RemoveOut<A7 >::type a7) \
2855 #define RCF_METHOD_R8_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
2856 RCF_METHOD_R8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, R8))
2858 #define RCF_METHOD_R8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
2860 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2861 ::RCF::FutureImpl<R > func( \
2862 ::RCF::RemoveOut<A1 >::type a1, \
2863 ::RCF::RemoveOut<A2 >::type a2, \
2864 ::RCF::RemoveOut<A3 >::type a3, \
2865 ::RCF::RemoveOut<A4 >::type a4, \
2866 ::RCF::RemoveOut<A5 >::type a5, \
2867 ::RCF::RemoveOut<A6 >::type a6, \
2868 ::RCF::RemoveOut<A7 >::type a7, \
2869 ::RCF::RemoveOut<A8 >::type a8) \
2872 ::RCF::CallOptions() , \
2873 a1,a2,a3,a4,a5,a6,a7,a8); \
2875 ::RCF::FutureImpl<R > func( \
2876 const ::RCF::CallOptions &callOptions , \
2877 ::RCF::RemoveOut<A1 >::type a1, \
2878 ::RCF::RemoveOut<A2 >::type a2, \
2879 ::RCF::RemoveOut<A3 >::type a3, \
2880 ::RCF::RemoveOut<A4 >::type a4, \
2881 ::RCF::RemoveOut<A5 >::type a5, \
2882 ::RCF::RemoveOut<A6 >::type a6, \
2883 ::RCF::RemoveOut<A7 >::type a7, \
2884 ::RCF::RemoveOut<A8 >::type a8) \
2886 getClientStub().setAsync(false); \
2887 return RCF::FutureImpl<R >( \
2888 ::RCF::AllocateClientParameters< \
2890 A1,A2,A3,A4,A5,A6,A7,A8 , \
2891 V,V,V,V,V,V,V >()( \
2893 a1,a2,a3,a4,a5,a6,a7,a8 , \
2894 V(),V(),V(),V(),V(),V(),V()).r.get(), \
2898 callOptions.apply(getClientStub()), \
2902 const char * getFunctionName(const id &) \
2906 const char * getArity(const id &) \
2912 template<typename T> \
2915 ::RCF::RcfSession &session, \
2918 ::RCF::ServerParameters< \
2920 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
2921 ::RCF::AllocateServerParameters< \
2923 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
2925 session.getAutoSend(), \
2938 #define RCF_METHOD_R8_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
2939 RCF_METHOD_R8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, R8))
2941 #define RCF_METHOD_R8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
2943 RCF_MAKE_NEXT_DISPATCH_ID(id) \
2944 ::RCF::FutureImpl<R > func( \
2945 ::RCF::RemoveOut<A1 >::type a1, \
2946 ::RCF::RemoveOut<A2 >::type a2, \
2947 ::RCF::RemoveOut<A3 >::type a3, \
2948 ::RCF::RemoveOut<A4 >::type a4, \
2949 ::RCF::RemoveOut<A5 >::type a5, \
2950 ::RCF::RemoveOut<A6 >::type a6, \
2951 ::RCF::RemoveOut<A7 >::type a7, \
2952 ::RCF::RemoveOut<A8 >::type a8) \
2955 ::RCF::CallOptions() , \
2956 a1,a2,a3,a4,a5,a6,a7,a8); \
2959 ::RCF::FutureImpl<R > func( \
2960 const ::RCF::CallOptions &callOptions , \
2961 ::RCF::RemoveOut<A1 >::type a1, \
2962 ::RCF::RemoveOut<A2 >::type a2, \
2963 ::RCF::RemoveOut<A3 >::type a3, \
2964 ::RCF::RemoveOut<A4 >::type a4, \
2965 ::RCF::RemoveOut<A5 >::type a5, \
2966 ::RCF::RemoveOut<A6 >::type a6, \
2967 ::RCF::RemoveOut<A7 >::type a7, \
2968 ::RCF::RemoveOut<A8 >::type a8); \
2970 void error__method_defined_out_of_order__##func( \
2972 ::RCF::RemoveOut<A1 >::type a1, \
2973 ::RCF::RemoveOut<A2 >::type a2, \
2974 ::RCF::RemoveOut<A3 >::type a3, \
2975 ::RCF::RemoveOut<A4 >::type a4, \
2976 ::RCF::RemoveOut<A5 >::type a5, \
2977 ::RCF::RemoveOut<A6 >::type a6, \
2978 ::RCF::RemoveOut<A7 >::type a7, \
2979 ::RCF::RemoveOut<A8 >::type a8); \
2981 const char * getFunctionName(const id &) \
2985 const char * getArity(const id &) \
2991 template<typename T> \
2994 ::RCF::RcfSession &session, \
2997 ::RCF::ServerParameters< \
2999 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
3000 ::RCF::AllocateServerParameters< \
3002 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
3004 session.getAutoSend(), \
3017 #define RCF_METHOD_R8_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3018 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__))
3020 #define RCF_METHOD_R8_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, interfaceId, funcId, genParms)\
3021 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3022 typedef GeneratorParms<interfaceId> genParms; \
3023 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3024 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
3025 const ::RCF::CallOptions &callOptions , \
3026 ::RCF::RemoveOut<A1 >::type a1, \
3027 ::RCF::RemoveOut<A2 >::type a2, \
3028 ::RCF::RemoveOut<A3 >::type a3, \
3029 ::RCF::RemoveOut<A4 >::type a4, \
3030 ::RCF::RemoveOut<A5 >::type a5, \
3031 ::RCF::RemoveOut<A6 >::type a6, \
3032 ::RCF::RemoveOut<A7 >::type a7, \
3033 ::RCF::RemoveOut<A8 >::type a8) \
3035 getClientStub().setAsync(false); \
3036 return RCF::FutureImpl<R >( \
3037 ::RCF::AllocateClientParameters< \
3039 A1,A2,A3,A4,A5,A6,A7,A8 , \
3040 V,V,V,V,V,V,V >()( \
3042 a1,a2,a3,a4,a5,a6,a7,a8 , \
3043 V(),V(),V(),V(),V(),V(),V()).r.get(), \
3047 callOptions.apply(getClientStub()), \
3051 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3053 ::RCF::RemoveOut<A1 >::type a1, \
3054 ::RCF::RemoveOut<A2 >::type a2, \
3055 ::RCF::RemoveOut<A3 >::type a3, \
3056 ::RCF::RemoveOut<A4 >::type a4, \
3057 ::RCF::RemoveOut<A5 >::type a5, \
3058 ::RCF::RemoveOut<A6 >::type a6, \
3059 ::RCF::RemoveOut<A7 >::type a7, \
3060 ::RCF::RemoveOut<A8 >::type a8) \
3071 #define RCF_METHOD_V8_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3072 RCF_METHOD_V8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, V8))
3074 #define RCF_METHOD_V8_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
3076 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3077 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3078 ::RCF::FutureImpl<V> func( \
3079 ::RCF::RemoveOut<A1 >::type a1, \
3080 ::RCF::RemoveOut<A2 >::type a2, \
3081 ::RCF::RemoveOut<A3 >::type a3, \
3082 ::RCF::RemoveOut<A4 >::type a4, \
3083 ::RCF::RemoveOut<A5 >::type a5, \
3084 ::RCF::RemoveOut<A6 >::type a6, \
3085 ::RCF::RemoveOut<A7 >::type a7, \
3086 ::RCF::RemoveOut<A8 >::type a8) \
3089 ::RCF::CallOptions() , \
3090 a1,a2,a3,a4,a5,a6,a7,a8); \
3092 ::RCF::FutureImpl<V> func( \
3093 const ::RCF::CallOptions &callOptions , \
3094 ::RCF::RemoveOut<A1 >::type a1, \
3095 ::RCF::RemoveOut<A2 >::type a2, \
3096 ::RCF::RemoveOut<A3 >::type a3, \
3097 ::RCF::RemoveOut<A4 >::type a4, \
3098 ::RCF::RemoveOut<A5 >::type a5, \
3099 ::RCF::RemoveOut<A6 >::type a6, \
3100 ::RCF::RemoveOut<A7 >::type a7, \
3101 ::RCF::RemoveOut<A8 >::type a8) \
3103 getClientStub().setAsync(false); \
3104 return RCF::FutureImpl<V>( \
3105 ::RCF::AllocateClientParameters< \
3107 A1,A2,A3,A4,A5,A6,A7,A8 , \
3108 V,V,V,V,V,V,V >()( \
3110 a1,a2,a3,a4,a5,a6,a7,a8 , \
3111 V(),V(),V(),V(),V(),V(),V()).r.get(), \
3115 callOptions.apply(getClientStub()), \
3119 const char * getFunctionName(const id &) \
3123 const char * getArity(const id &) \
3129 template<typename T> \
3132 ::RCF::RcfSession &session, \
3135 ::RCF::ServerParameters< \
3137 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
3138 ::RCF::AllocateServerParameters< \
3140 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
3141 RCF_UNUSED_VARIABLE(p); \
3154 #define RCF_METHOD_V8_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3155 RCF_METHOD_V8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, RCF_MAKE_UNIQUE_ID(func, V8))
3157 #define RCF_METHOD_V8_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, id) \
3159 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3160 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3161 ::RCF::FutureImpl<V> func( \
3162 ::RCF::RemoveOut<A1 >::type a1, \
3163 ::RCF::RemoveOut<A2 >::type a2, \
3164 ::RCF::RemoveOut<A3 >::type a3, \
3165 ::RCF::RemoveOut<A4 >::type a4, \
3166 ::RCF::RemoveOut<A5 >::type a5, \
3167 ::RCF::RemoveOut<A6 >::type a6, \
3168 ::RCF::RemoveOut<A7 >::type a7, \
3169 ::RCF::RemoveOut<A8 >::type a8) \
3172 ::RCF::CallOptions() , \
3173 a1,a2,a3,a4,a5,a6,a7,a8); \
3176 ::RCF::FutureImpl<V> func( \
3177 const ::RCF::CallOptions &callOptions , \
3178 ::RCF::RemoveOut<A1 >::type a1, \
3179 ::RCF::RemoveOut<A2 >::type a2, \
3180 ::RCF::RemoveOut<A3 >::type a3, \
3181 ::RCF::RemoveOut<A4 >::type a4, \
3182 ::RCF::RemoveOut<A5 >::type a5, \
3183 ::RCF::RemoveOut<A6 >::type a6, \
3184 ::RCF::RemoveOut<A7 >::type a7, \
3185 ::RCF::RemoveOut<A8 >::type a8); \
3187 void error__method_defined_out_of_order__##func( \
3189 ::RCF::RemoveOut<A1 >::type a1, \
3190 ::RCF::RemoveOut<A2 >::type a2, \
3191 ::RCF::RemoveOut<A3 >::type a3, \
3192 ::RCF::RemoveOut<A4 >::type a4, \
3193 ::RCF::RemoveOut<A5 >::type a5, \
3194 ::RCF::RemoveOut<A6 >::type a6, \
3195 ::RCF::RemoveOut<A7 >::type a7, \
3196 ::RCF::RemoveOut<A8 >::type a8); \
3198 const char * getFunctionName(const id &) \
3202 const char * getArity(const id &) \
3208 template<typename T> \
3211 ::RCF::RcfSession &session, \
3214 ::RCF::ServerParameters< \
3216 A1,A2,A3,A4,A5,A6,A7,A8 > &p = \
3217 ::RCF::AllocateServerParameters< \
3219 A1,A2,A3,A4,A5,A6,A7,A8 >()(session); \
3220 RCF_UNUSED_VARIABLE(p); \
3233 #define RCF_METHOD_V8_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8) \
3234 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__))
3236 #define RCF_METHOD_V8_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8, interfaceId, funcId, genParms)\
3237 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3238 typedef GeneratorParms<interfaceId> genParms; \
3239 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3240 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
3241 const ::RCF::CallOptions &callOptions , \
3242 ::RCF::RemoveOut<A1 >::type a1, \
3243 ::RCF::RemoveOut<A2 >::type a2, \
3244 ::RCF::RemoveOut<A3 >::type a3, \
3245 ::RCF::RemoveOut<A4 >::type a4, \
3246 ::RCF::RemoveOut<A5 >::type a5, \
3247 ::RCF::RemoveOut<A6 >::type a6, \
3248 ::RCF::RemoveOut<A7 >::type a7, \
3249 ::RCF::RemoveOut<A8 >::type a8) \
3251 typedef ::RCF::Void V; \
3252 getClientStub().setAsync(false); \
3253 return RCF::FutureImpl<V >( \
3254 ::RCF::AllocateClientParameters< \
3256 A1,A2,A3,A4,A5,A6,A7,A8 , \
3257 V,V,V,V,V,V,V >()( \
3259 a1,a2,a3,a4,a5,a6,a7,a8 , \
3260 V(),V(),V(),V(),V(),V(),V()).r.get(), \
3264 callOptions.apply(getClientStub()), \
3268 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3270 ::RCF::RemoveOut<A1 >::type a1, \
3271 ::RCF::RemoveOut<A2 >::type a2, \
3272 ::RCF::RemoveOut<A3 >::type a3, \
3273 ::RCF::RemoveOut<A4 >::type a4, \
3274 ::RCF::RemoveOut<A5 >::type a5, \
3275 ::RCF::RemoveOut<A6 >::type a6, \
3276 ::RCF::RemoveOut<A7 >::type a7, \
3277 ::RCF::RemoveOut<A8 >::type a8) \
3289 #define RCF_METHOD_R9_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
3290 RCF_METHOD_R9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, R9))
3292 #define RCF_METHOD_R9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
3294 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3295 ::RCF::FutureImpl<R > func( \
3296 ::RCF::RemoveOut<A1 >::type a1, \
3297 ::RCF::RemoveOut<A2 >::type a2, \
3298 ::RCF::RemoveOut<A3 >::type a3, \
3299 ::RCF::RemoveOut<A4 >::type a4, \
3300 ::RCF::RemoveOut<A5 >::type a5, \
3301 ::RCF::RemoveOut<A6 >::type a6, \
3302 ::RCF::RemoveOut<A7 >::type a7, \
3303 ::RCF::RemoveOut<A8 >::type a8, \
3304 ::RCF::RemoveOut<A9 >::type a9) \
3307 ::RCF::CallOptions() , \
3308 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
3310 ::RCF::FutureImpl<R > func( \
3311 const ::RCF::CallOptions &callOptions , \
3312 ::RCF::RemoveOut<A1 >::type a1, \
3313 ::RCF::RemoveOut<A2 >::type a2, \
3314 ::RCF::RemoveOut<A3 >::type a3, \
3315 ::RCF::RemoveOut<A4 >::type a4, \
3316 ::RCF::RemoveOut<A5 >::type a5, \
3317 ::RCF::RemoveOut<A6 >::type a6, \
3318 ::RCF::RemoveOut<A7 >::type a7, \
3319 ::RCF::RemoveOut<A8 >::type a8, \
3320 ::RCF::RemoveOut<A9 >::type a9) \
3322 getClientStub().setAsync(false); \
3323 return RCF::FutureImpl<R >( \
3324 ::RCF::AllocateClientParameters< \
3326 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
3329 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
3330 V(),V(),V(),V(),V(),V()).r.get(), \
3334 callOptions.apply(getClientStub()), \
3338 const char * getFunctionName(const id &) \
3342 const char * getArity(const id &) \
3348 template<typename T> \
3351 ::RCF::RcfSession &session, \
3354 ::RCF::ServerParameters< \
3356 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
3357 ::RCF::AllocateServerParameters< \
3359 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
3361 session.getAutoSend(), \
3375 #define RCF_METHOD_R9_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
3376 RCF_METHOD_R9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, R9))
3378 #define RCF_METHOD_R9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
3380 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3381 ::RCF::FutureImpl<R > func( \
3382 ::RCF::RemoveOut<A1 >::type a1, \
3383 ::RCF::RemoveOut<A2 >::type a2, \
3384 ::RCF::RemoveOut<A3 >::type a3, \
3385 ::RCF::RemoveOut<A4 >::type a4, \
3386 ::RCF::RemoveOut<A5 >::type a5, \
3387 ::RCF::RemoveOut<A6 >::type a6, \
3388 ::RCF::RemoveOut<A7 >::type a7, \
3389 ::RCF::RemoveOut<A8 >::type a8, \
3390 ::RCF::RemoveOut<A9 >::type a9) \
3393 ::RCF::CallOptions() , \
3394 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
3397 ::RCF::FutureImpl<R > func( \
3398 const ::RCF::CallOptions &callOptions , \
3399 ::RCF::RemoveOut<A1 >::type a1, \
3400 ::RCF::RemoveOut<A2 >::type a2, \
3401 ::RCF::RemoveOut<A3 >::type a3, \
3402 ::RCF::RemoveOut<A4 >::type a4, \
3403 ::RCF::RemoveOut<A5 >::type a5, \
3404 ::RCF::RemoveOut<A6 >::type a6, \
3405 ::RCF::RemoveOut<A7 >::type a7, \
3406 ::RCF::RemoveOut<A8 >::type a8, \
3407 ::RCF::RemoveOut<A9 >::type a9); \
3409 void error__method_defined_out_of_order__##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, \
3419 ::RCF::RemoveOut<A9 >::type a9); \
3421 const char * getFunctionName(const id &) \
3425 const char * getArity(const id &) \
3431 template<typename T> \
3434 ::RCF::RcfSession &session, \
3437 ::RCF::ServerParameters< \
3439 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
3440 ::RCF::AllocateServerParameters< \
3442 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
3444 session.getAutoSend(), \
3458 #define RCF_METHOD_R9_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
3459 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__))
3461 #define RCF_METHOD_R9_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, interfaceId, funcId, genParms)\
3462 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3463 typedef GeneratorParms<interfaceId> genParms; \
3464 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3465 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
3466 const ::RCF::CallOptions &callOptions , \
3467 ::RCF::RemoveOut<A1 >::type a1, \
3468 ::RCF::RemoveOut<A2 >::type a2, \
3469 ::RCF::RemoveOut<A3 >::type a3, \
3470 ::RCF::RemoveOut<A4 >::type a4, \
3471 ::RCF::RemoveOut<A5 >::type a5, \
3472 ::RCF::RemoveOut<A6 >::type a6, \
3473 ::RCF::RemoveOut<A7 >::type a7, \
3474 ::RCF::RemoveOut<A8 >::type a8, \
3475 ::RCF::RemoveOut<A9 >::type a9) \
3477 getClientStub().setAsync(false); \
3478 return RCF::FutureImpl<R >( \
3479 ::RCF::AllocateClientParameters< \
3481 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
3484 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
3485 V(),V(),V(),V(),V(),V()).r.get(), \
3489 callOptions.apply(getClientStub()), \
3493 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3495 ::RCF::RemoveOut<A1 >::type a1, \
3496 ::RCF::RemoveOut<A2 >::type a2, \
3497 ::RCF::RemoveOut<A3 >::type a3, \
3498 ::RCF::RemoveOut<A4 >::type a4, \
3499 ::RCF::RemoveOut<A5 >::type a5, \
3500 ::RCF::RemoveOut<A6 >::type a6, \
3501 ::RCF::RemoveOut<A7 >::type a7, \
3502 ::RCF::RemoveOut<A8 >::type a8, \
3503 ::RCF::RemoveOut<A9 >::type a9) \
3514 #define RCF_METHOD_V9_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
3515 RCF_METHOD_V9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, V9))
3517 #define RCF_METHOD_V9_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
3519 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3520 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3521 ::RCF::FutureImpl<V> func( \
3522 ::RCF::RemoveOut<A1 >::type a1, \
3523 ::RCF::RemoveOut<A2 >::type a2, \
3524 ::RCF::RemoveOut<A3 >::type a3, \
3525 ::RCF::RemoveOut<A4 >::type a4, \
3526 ::RCF::RemoveOut<A5 >::type a5, \
3527 ::RCF::RemoveOut<A6 >::type a6, \
3528 ::RCF::RemoveOut<A7 >::type a7, \
3529 ::RCF::RemoveOut<A8 >::type a8, \
3530 ::RCF::RemoveOut<A9 >::type a9) \
3533 ::RCF::CallOptions() , \
3534 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
3536 ::RCF::FutureImpl<V> func( \
3537 const ::RCF::CallOptions &callOptions , \
3538 ::RCF::RemoveOut<A1 >::type a1, \
3539 ::RCF::RemoveOut<A2 >::type a2, \
3540 ::RCF::RemoveOut<A3 >::type a3, \
3541 ::RCF::RemoveOut<A4 >::type a4, \
3542 ::RCF::RemoveOut<A5 >::type a5, \
3543 ::RCF::RemoveOut<A6 >::type a6, \
3544 ::RCF::RemoveOut<A7 >::type a7, \
3545 ::RCF::RemoveOut<A8 >::type a8, \
3546 ::RCF::RemoveOut<A9 >::type a9) \
3548 getClientStub().setAsync(false); \
3549 return RCF::FutureImpl<V>( \
3550 ::RCF::AllocateClientParameters< \
3552 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
3555 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
3556 V(),V(),V(),V(),V(),V()).r.get(), \
3560 callOptions.apply(getClientStub()), \
3564 const char * getFunctionName(const id &) \
3568 const char * getArity(const id &) \
3574 template<typename T> \
3577 ::RCF::RcfSession &session, \
3580 ::RCF::ServerParameters< \
3582 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
3583 ::RCF::AllocateServerParameters< \
3585 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
3586 RCF_UNUSED_VARIABLE(p); \
3600 #define RCF_METHOD_V9_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
3601 RCF_METHOD_V9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, RCF_MAKE_UNIQUE_ID(func, V9))
3603 #define RCF_METHOD_V9_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, id) \
3605 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3606 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3607 ::RCF::FutureImpl<V> func( \
3608 ::RCF::RemoveOut<A1 >::type a1, \
3609 ::RCF::RemoveOut<A2 >::type a2, \
3610 ::RCF::RemoveOut<A3 >::type a3, \
3611 ::RCF::RemoveOut<A4 >::type a4, \
3612 ::RCF::RemoveOut<A5 >::type a5, \
3613 ::RCF::RemoveOut<A6 >::type a6, \
3614 ::RCF::RemoveOut<A7 >::type a7, \
3615 ::RCF::RemoveOut<A8 >::type a8, \
3616 ::RCF::RemoveOut<A9 >::type a9) \
3619 ::RCF::CallOptions() , \
3620 a1,a2,a3,a4,a5,a6,a7,a8,a9); \
3623 ::RCF::FutureImpl<V> func( \
3624 const ::RCF::CallOptions &callOptions , \
3625 ::RCF::RemoveOut<A1 >::type a1, \
3626 ::RCF::RemoveOut<A2 >::type a2, \
3627 ::RCF::RemoveOut<A3 >::type a3, \
3628 ::RCF::RemoveOut<A4 >::type a4, \
3629 ::RCF::RemoveOut<A5 >::type a5, \
3630 ::RCF::RemoveOut<A6 >::type a6, \
3631 ::RCF::RemoveOut<A7 >::type a7, \
3632 ::RCF::RemoveOut<A8 >::type a8, \
3633 ::RCF::RemoveOut<A9 >::type a9); \
3635 void error__method_defined_out_of_order__##func( \
3637 ::RCF::RemoveOut<A1 >::type a1, \
3638 ::RCF::RemoveOut<A2 >::type a2, \
3639 ::RCF::RemoveOut<A3 >::type a3, \
3640 ::RCF::RemoveOut<A4 >::type a4, \
3641 ::RCF::RemoveOut<A5 >::type a5, \
3642 ::RCF::RemoveOut<A6 >::type a6, \
3643 ::RCF::RemoveOut<A7 >::type a7, \
3644 ::RCF::RemoveOut<A8 >::type a8, \
3645 ::RCF::RemoveOut<A9 >::type a9); \
3647 const char * getFunctionName(const id &) \
3651 const char * getArity(const id &) \
3657 template<typename T> \
3660 ::RCF::RcfSession &session, \
3663 ::RCF::ServerParameters< \
3665 A1,A2,A3,A4,A5,A6,A7,A8,A9 > &p = \
3666 ::RCF::AllocateServerParameters< \
3668 A1,A2,A3,A4,A5,A6,A7,A8,A9 >()(session); \
3669 RCF_UNUSED_VARIABLE(p); \
3683 #define RCF_METHOD_V9_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9) \
3684 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__))
3686 #define RCF_METHOD_V9_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9, interfaceId, funcId, genParms)\
3687 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3688 typedef GeneratorParms<interfaceId> genParms; \
3689 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3690 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
3691 const ::RCF::CallOptions &callOptions , \
3692 ::RCF::RemoveOut<A1 >::type a1, \
3693 ::RCF::RemoveOut<A2 >::type a2, \
3694 ::RCF::RemoveOut<A3 >::type a3, \
3695 ::RCF::RemoveOut<A4 >::type a4, \
3696 ::RCF::RemoveOut<A5 >::type a5, \
3697 ::RCF::RemoveOut<A6 >::type a6, \
3698 ::RCF::RemoveOut<A7 >::type a7, \
3699 ::RCF::RemoveOut<A8 >::type a8, \
3700 ::RCF::RemoveOut<A9 >::type a9) \
3702 typedef ::RCF::Void V; \
3703 getClientStub().setAsync(false); \
3704 return RCF::FutureImpl<V >( \
3705 ::RCF::AllocateClientParameters< \
3707 A1,A2,A3,A4,A5,A6,A7,A8,A9 , \
3710 a1,a2,a3,a4,a5,a6,a7,a8,a9 , \
3711 V(),V(),V(),V(),V(),V()).r.get(), \
3715 callOptions.apply(getClientStub()), \
3719 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3721 ::RCF::RemoveOut<A1 >::type a1, \
3722 ::RCF::RemoveOut<A2 >::type a2, \
3723 ::RCF::RemoveOut<A3 >::type a3, \
3724 ::RCF::RemoveOut<A4 >::type a4, \
3725 ::RCF::RemoveOut<A5 >::type a5, \
3726 ::RCF::RemoveOut<A6 >::type a6, \
3727 ::RCF::RemoveOut<A7 >::type a7, \
3728 ::RCF::RemoveOut<A8 >::type a8, \
3729 ::RCF::RemoveOut<A9 >::type a9) \
3741 #define RCF_METHOD_R10_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
3742 RCF_METHOD_R10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, R10))
3744 #define RCF_METHOD_R10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
3746 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3747 ::RCF::FutureImpl<R > func( \
3748 ::RCF::RemoveOut<A1 >::type a1, \
3749 ::RCF::RemoveOut<A2 >::type a2, \
3750 ::RCF::RemoveOut<A3 >::type a3, \
3751 ::RCF::RemoveOut<A4 >::type a4, \
3752 ::RCF::RemoveOut<A5 >::type a5, \
3753 ::RCF::RemoveOut<A6 >::type a6, \
3754 ::RCF::RemoveOut<A7 >::type a7, \
3755 ::RCF::RemoveOut<A8 >::type a8, \
3756 ::RCF::RemoveOut<A9 >::type a9, \
3757 ::RCF::RemoveOut<A10 >::type a10) \
3760 ::RCF::CallOptions() , \
3761 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
3763 ::RCF::FutureImpl<R > func( \
3764 const ::RCF::CallOptions &callOptions , \
3765 ::RCF::RemoveOut<A1 >::type a1, \
3766 ::RCF::RemoveOut<A2 >::type a2, \
3767 ::RCF::RemoveOut<A3 >::type a3, \
3768 ::RCF::RemoveOut<A4 >::type a4, \
3769 ::RCF::RemoveOut<A5 >::type a5, \
3770 ::RCF::RemoveOut<A6 >::type a6, \
3771 ::RCF::RemoveOut<A7 >::type a7, \
3772 ::RCF::RemoveOut<A8 >::type a8, \
3773 ::RCF::RemoveOut<A9 >::type a9, \
3774 ::RCF::RemoveOut<A10 >::type a10) \
3776 getClientStub().setAsync(false); \
3777 return RCF::FutureImpl<R >( \
3778 ::RCF::AllocateClientParameters< \
3780 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
3783 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
3784 V(),V(),V(),V(),V()).r.get(), \
3788 callOptions.apply(getClientStub()), \
3792 const char * getFunctionName(const id &) \
3796 const char * getArity(const id &) \
3802 template<typename T> \
3805 ::RCF::RcfSession &session, \
3808 ::RCF::ServerParameters< \
3810 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
3811 ::RCF::AllocateServerParameters< \
3813 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
3815 session.getAutoSend(), \
3830 #define RCF_METHOD_R10_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
3831 RCF_METHOD_R10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, R10))
3833 #define RCF_METHOD_R10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
3835 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3836 ::RCF::FutureImpl<R > func( \
3837 ::RCF::RemoveOut<A1 >::type a1, \
3838 ::RCF::RemoveOut<A2 >::type a2, \
3839 ::RCF::RemoveOut<A3 >::type a3, \
3840 ::RCF::RemoveOut<A4 >::type a4, \
3841 ::RCF::RemoveOut<A5 >::type a5, \
3842 ::RCF::RemoveOut<A6 >::type a6, \
3843 ::RCF::RemoveOut<A7 >::type a7, \
3844 ::RCF::RemoveOut<A8 >::type a8, \
3845 ::RCF::RemoveOut<A9 >::type a9, \
3846 ::RCF::RemoveOut<A10 >::type a10) \
3849 ::RCF::CallOptions() , \
3850 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
3853 ::RCF::FutureImpl<R > func( \
3854 const ::RCF::CallOptions &callOptions , \
3855 ::RCF::RemoveOut<A1 >::type a1, \
3856 ::RCF::RemoveOut<A2 >::type a2, \
3857 ::RCF::RemoveOut<A3 >::type a3, \
3858 ::RCF::RemoveOut<A4 >::type a4, \
3859 ::RCF::RemoveOut<A5 >::type a5, \
3860 ::RCF::RemoveOut<A6 >::type a6, \
3861 ::RCF::RemoveOut<A7 >::type a7, \
3862 ::RCF::RemoveOut<A8 >::type a8, \
3863 ::RCF::RemoveOut<A9 >::type a9, \
3864 ::RCF::RemoveOut<A10 >::type a10); \
3866 void error__method_defined_out_of_order__##func( \
3868 ::RCF::RemoveOut<A1 >::type a1, \
3869 ::RCF::RemoveOut<A2 >::type a2, \
3870 ::RCF::RemoveOut<A3 >::type a3, \
3871 ::RCF::RemoveOut<A4 >::type a4, \
3872 ::RCF::RemoveOut<A5 >::type a5, \
3873 ::RCF::RemoveOut<A6 >::type a6, \
3874 ::RCF::RemoveOut<A7 >::type a7, \
3875 ::RCF::RemoveOut<A8 >::type a8, \
3876 ::RCF::RemoveOut<A9 >::type a9, \
3877 ::RCF::RemoveOut<A10 >::type a10); \
3879 const char * getFunctionName(const id &) \
3883 const char * getArity(const id &) \
3889 template<typename T> \
3892 ::RCF::RcfSession &session, \
3895 ::RCF::ServerParameters< \
3897 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
3898 ::RCF::AllocateServerParameters< \
3900 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
3902 session.getAutoSend(), \
3917 #define RCF_METHOD_R10_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
3918 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__))
3920 #define RCF_METHOD_R10_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, interfaceId, funcId, genParms)\
3921 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
3922 typedef GeneratorParms<interfaceId> genParms; \
3923 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
3924 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
3925 const ::RCF::CallOptions &callOptions , \
3926 ::RCF::RemoveOut<A1 >::type a1, \
3927 ::RCF::RemoveOut<A2 >::type a2, \
3928 ::RCF::RemoveOut<A3 >::type a3, \
3929 ::RCF::RemoveOut<A4 >::type a4, \
3930 ::RCF::RemoveOut<A5 >::type a5, \
3931 ::RCF::RemoveOut<A6 >::type a6, \
3932 ::RCF::RemoveOut<A7 >::type a7, \
3933 ::RCF::RemoveOut<A8 >::type a8, \
3934 ::RCF::RemoveOut<A9 >::type a9, \
3935 ::RCF::RemoveOut<A10 >::type a10) \
3937 getClientStub().setAsync(false); \
3938 return RCF::FutureImpl<R >( \
3939 ::RCF::AllocateClientParameters< \
3941 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
3944 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
3945 V(),V(),V(),V(),V()).r.get(), \
3949 callOptions.apply(getClientStub()), \
3953 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
3955 ::RCF::RemoveOut<A1 >::type a1, \
3956 ::RCF::RemoveOut<A2 >::type a2, \
3957 ::RCF::RemoveOut<A3 >::type a3, \
3958 ::RCF::RemoveOut<A4 >::type a4, \
3959 ::RCF::RemoveOut<A5 >::type a5, \
3960 ::RCF::RemoveOut<A6 >::type a6, \
3961 ::RCF::RemoveOut<A7 >::type a7, \
3962 ::RCF::RemoveOut<A8 >::type a8, \
3963 ::RCF::RemoveOut<A9 >::type a9, \
3964 ::RCF::RemoveOut<A10 >::type a10) \
3975 #define RCF_METHOD_V10_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
3976 RCF_METHOD_V10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, V10))
3978 #define RCF_METHOD_V10_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
3980 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
3981 RCF_MAKE_NEXT_DISPATCH_ID(id) \
3982 ::RCF::FutureImpl<V> func( \
3983 ::RCF::RemoveOut<A1 >::type a1, \
3984 ::RCF::RemoveOut<A2 >::type a2, \
3985 ::RCF::RemoveOut<A3 >::type a3, \
3986 ::RCF::RemoveOut<A4 >::type a4, \
3987 ::RCF::RemoveOut<A5 >::type a5, \
3988 ::RCF::RemoveOut<A6 >::type a6, \
3989 ::RCF::RemoveOut<A7 >::type a7, \
3990 ::RCF::RemoveOut<A8 >::type a8, \
3991 ::RCF::RemoveOut<A9 >::type a9, \
3992 ::RCF::RemoveOut<A10 >::type a10) \
3995 ::RCF::CallOptions() , \
3996 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
3998 ::RCF::FutureImpl<V> func( \
3999 const ::RCF::CallOptions &callOptions , \
4000 ::RCF::RemoveOut<A1 >::type a1, \
4001 ::RCF::RemoveOut<A2 >::type a2, \
4002 ::RCF::RemoveOut<A3 >::type a3, \
4003 ::RCF::RemoveOut<A4 >::type a4, \
4004 ::RCF::RemoveOut<A5 >::type a5, \
4005 ::RCF::RemoveOut<A6 >::type a6, \
4006 ::RCF::RemoveOut<A7 >::type a7, \
4007 ::RCF::RemoveOut<A8 >::type a8, \
4008 ::RCF::RemoveOut<A9 >::type a9, \
4009 ::RCF::RemoveOut<A10 >::type a10) \
4011 getClientStub().setAsync(false); \
4012 return RCF::FutureImpl<V>( \
4013 ::RCF::AllocateClientParameters< \
4015 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
4018 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
4019 V(),V(),V(),V(),V()).r.get(), \
4023 callOptions.apply(getClientStub()), \
4027 const char * getFunctionName(const id &) \
4031 const char * getArity(const id &) \
4037 template<typename T> \
4040 ::RCF::RcfSession &session, \
4043 ::RCF::ServerParameters< \
4045 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
4046 ::RCF::AllocateServerParameters< \
4048 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
4049 RCF_UNUSED_VARIABLE(p); \
4064 #define RCF_METHOD_V10_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4065 RCF_METHOD_V10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, RCF_MAKE_UNIQUE_ID(func, V10))
4067 #define RCF_METHOD_V10_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, id) \
4069 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4070 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4071 ::RCF::FutureImpl<V> func( \
4072 ::RCF::RemoveOut<A1 >::type a1, \
4073 ::RCF::RemoveOut<A2 >::type a2, \
4074 ::RCF::RemoveOut<A3 >::type a3, \
4075 ::RCF::RemoveOut<A4 >::type a4, \
4076 ::RCF::RemoveOut<A5 >::type a5, \
4077 ::RCF::RemoveOut<A6 >::type a6, \
4078 ::RCF::RemoveOut<A7 >::type a7, \
4079 ::RCF::RemoveOut<A8 >::type a8, \
4080 ::RCF::RemoveOut<A9 >::type a9, \
4081 ::RCF::RemoveOut<A10 >::type a10) \
4084 ::RCF::CallOptions() , \
4085 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \
4088 ::RCF::FutureImpl<V> func( \
4089 const ::RCF::CallOptions &callOptions , \
4090 ::RCF::RemoveOut<A1 >::type a1, \
4091 ::RCF::RemoveOut<A2 >::type a2, \
4092 ::RCF::RemoveOut<A3 >::type a3, \
4093 ::RCF::RemoveOut<A4 >::type a4, \
4094 ::RCF::RemoveOut<A5 >::type a5, \
4095 ::RCF::RemoveOut<A6 >::type a6, \
4096 ::RCF::RemoveOut<A7 >::type a7, \
4097 ::RCF::RemoveOut<A8 >::type a8, \
4098 ::RCF::RemoveOut<A9 >::type a9, \
4099 ::RCF::RemoveOut<A10 >::type a10); \
4101 void error__method_defined_out_of_order__##func( \
4103 ::RCF::RemoveOut<A1 >::type a1, \
4104 ::RCF::RemoveOut<A2 >::type a2, \
4105 ::RCF::RemoveOut<A3 >::type a3, \
4106 ::RCF::RemoveOut<A4 >::type a4, \
4107 ::RCF::RemoveOut<A5 >::type a5, \
4108 ::RCF::RemoveOut<A6 >::type a6, \
4109 ::RCF::RemoveOut<A7 >::type a7, \
4110 ::RCF::RemoveOut<A8 >::type a8, \
4111 ::RCF::RemoveOut<A9 >::type a9, \
4112 ::RCF::RemoveOut<A10 >::type a10); \
4114 const char * getFunctionName(const id &) \
4118 const char * getArity(const id &) \
4124 template<typename T> \
4127 ::RCF::RcfSession &session, \
4130 ::RCF::ServerParameters< \
4132 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 > &p = \
4133 ::RCF::AllocateServerParameters< \
4135 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 >()(session); \
4136 RCF_UNUSED_VARIABLE(p); \
4151 #define RCF_METHOD_V10_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) \
4152 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__))
4154 #define RCF_METHOD_V10_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, interfaceId, funcId, genParms)\
4155 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4156 typedef GeneratorParms<interfaceId> genParms; \
4157 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4158 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
4159 const ::RCF::CallOptions &callOptions , \
4160 ::RCF::RemoveOut<A1 >::type a1, \
4161 ::RCF::RemoveOut<A2 >::type a2, \
4162 ::RCF::RemoveOut<A3 >::type a3, \
4163 ::RCF::RemoveOut<A4 >::type a4, \
4164 ::RCF::RemoveOut<A5 >::type a5, \
4165 ::RCF::RemoveOut<A6 >::type a6, \
4166 ::RCF::RemoveOut<A7 >::type a7, \
4167 ::RCF::RemoveOut<A8 >::type a8, \
4168 ::RCF::RemoveOut<A9 >::type a9, \
4169 ::RCF::RemoveOut<A10 >::type a10) \
4171 typedef ::RCF::Void V; \
4172 getClientStub().setAsync(false); \
4173 return RCF::FutureImpl<V >( \
4174 ::RCF::AllocateClientParameters< \
4176 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 , \
4179 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10 , \
4180 V(),V(),V(),V(),V()).r.get(), \
4184 callOptions.apply(getClientStub()), \
4188 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
4190 ::RCF::RemoveOut<A1 >::type a1, \
4191 ::RCF::RemoveOut<A2 >::type a2, \
4192 ::RCF::RemoveOut<A3 >::type a3, \
4193 ::RCF::RemoveOut<A4 >::type a4, \
4194 ::RCF::RemoveOut<A5 >::type a5, \
4195 ::RCF::RemoveOut<A6 >::type a6, \
4196 ::RCF::RemoveOut<A7 >::type a7, \
4197 ::RCF::RemoveOut<A8 >::type a8, \
4198 ::RCF::RemoveOut<A9 >::type a9, \
4199 ::RCF::RemoveOut<A10 >::type a10) \
4211 #define RCF_METHOD_R11_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
4212 RCF_METHOD_R11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, R11))
4214 #define RCF_METHOD_R11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id)\
4216 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4217 ::RCF::FutureImpl<R > func( \
4218 ::RCF::RemoveOut<A1 >::type a1, \
4219 ::RCF::RemoveOut<A2 >::type a2, \
4220 ::RCF::RemoveOut<A3 >::type a3, \
4221 ::RCF::RemoveOut<A4 >::type a4, \
4222 ::RCF::RemoveOut<A5 >::type a5, \
4223 ::RCF::RemoveOut<A6 >::type a6, \
4224 ::RCF::RemoveOut<A7 >::type a7, \
4225 ::RCF::RemoveOut<A8 >::type a8, \
4226 ::RCF::RemoveOut<A9 >::type a9, \
4227 ::RCF::RemoveOut<A10 >::type a10, \
4228 ::RCF::RemoveOut<A11 >::type a11) \
4231 ::RCF::CallOptions() , \
4232 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
4234 ::RCF::FutureImpl<R > func( \
4235 const ::RCF::CallOptions &callOptions , \
4236 ::RCF::RemoveOut<A1 >::type a1, \
4237 ::RCF::RemoveOut<A2 >::type a2, \
4238 ::RCF::RemoveOut<A3 >::type a3, \
4239 ::RCF::RemoveOut<A4 >::type a4, \
4240 ::RCF::RemoveOut<A5 >::type a5, \
4241 ::RCF::RemoveOut<A6 >::type a6, \
4242 ::RCF::RemoveOut<A7 >::type a7, \
4243 ::RCF::RemoveOut<A8 >::type a8, \
4244 ::RCF::RemoveOut<A9 >::type a9, \
4245 ::RCF::RemoveOut<A10 >::type a10, \
4246 ::RCF::RemoveOut<A11 >::type a11) \
4248 getClientStub().setAsync(false); \
4249 return RCF::FutureImpl<R >( \
4250 ::RCF::AllocateClientParameters< \
4252 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
4255 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
4256 V(),V(),V(),V()).r.get(), \
4260 callOptions.apply(getClientStub()), \
4264 const char * getFunctionName(const id &) \
4268 const char * getArity(const id &) \
4274 template<typename T> \
4277 ::RCF::RcfSession &session, \
4280 ::RCF::ServerParameters< \
4282 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
4283 ::RCF::AllocateServerParameters< \
4285 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session); \
4287 session.getAutoSend(), \
4303 #define RCF_METHOD_R11_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
4304 RCF_METHOD_R11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, R11))
4306 #define RCF_METHOD_R11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id) \
4308 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4309 ::RCF::FutureImpl<R > func( \
4310 ::RCF::RemoveOut<A1 >::type a1, \
4311 ::RCF::RemoveOut<A2 >::type a2, \
4312 ::RCF::RemoveOut<A3 >::type a3, \
4313 ::RCF::RemoveOut<A4 >::type a4, \
4314 ::RCF::RemoveOut<A5 >::type a5, \
4315 ::RCF::RemoveOut<A6 >::type a6, \
4316 ::RCF::RemoveOut<A7 >::type a7, \
4317 ::RCF::RemoveOut<A8 >::type a8, \
4318 ::RCF::RemoveOut<A9 >::type a9, \
4319 ::RCF::RemoveOut<A10 >::type a10, \
4320 ::RCF::RemoveOut<A11 >::type a11) \
4323 ::RCF::CallOptions() , \
4324 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
4327 ::RCF::FutureImpl<R > func( \
4328 const ::RCF::CallOptions &callOptions , \
4329 ::RCF::RemoveOut<A1 >::type a1, \
4330 ::RCF::RemoveOut<A2 >::type a2, \
4331 ::RCF::RemoveOut<A3 >::type a3, \
4332 ::RCF::RemoveOut<A4 >::type a4, \
4333 ::RCF::RemoveOut<A5 >::type a5, \
4334 ::RCF::RemoveOut<A6 >::type a6, \
4335 ::RCF::RemoveOut<A7 >::type a7, \
4336 ::RCF::RemoveOut<A8 >::type a8, \
4337 ::RCF::RemoveOut<A9 >::type a9, \
4338 ::RCF::RemoveOut<A10 >::type a10, \
4339 ::RCF::RemoveOut<A11 >::type a11); \
4341 void error__method_defined_out_of_order__##func( \
4343 ::RCF::RemoveOut<A1 >::type a1, \
4344 ::RCF::RemoveOut<A2 >::type a2, \
4345 ::RCF::RemoveOut<A3 >::type a3, \
4346 ::RCF::RemoveOut<A4 >::type a4, \
4347 ::RCF::RemoveOut<A5 >::type a5, \
4348 ::RCF::RemoveOut<A6 >::type a6, \
4349 ::RCF::RemoveOut<A7 >::type a7, \
4350 ::RCF::RemoveOut<A8 >::type a8, \
4351 ::RCF::RemoveOut<A9 >::type a9, \
4352 ::RCF::RemoveOut<A10 >::type a10, \
4353 ::RCF::RemoveOut<A11 >::type a11); \
4355 const char * getFunctionName(const id &) \
4359 const char * getArity(const id &) \
4365 template<typename T> \
4368 ::RCF::RcfSession &session, \
4371 ::RCF::ServerParameters< \
4373 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
4374 ::RCF::AllocateServerParameters< \
4376 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session); \
4378 session.getAutoSend(), \
4394 #define RCF_METHOD_R11_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
4395 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__))
4397 #define RCF_METHOD_R11_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, interfaceId, funcId, genParms)\
4398 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4399 typedef GeneratorParms<interfaceId> genParms; \
4400 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4401 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
4402 const ::RCF::CallOptions &callOptions , \
4403 ::RCF::RemoveOut<A1 >::type a1, \
4404 ::RCF::RemoveOut<A2 >::type a2, \
4405 ::RCF::RemoveOut<A3 >::type a3, \
4406 ::RCF::RemoveOut<A4 >::type a4, \
4407 ::RCF::RemoveOut<A5 >::type a5, \
4408 ::RCF::RemoveOut<A6 >::type a6, \
4409 ::RCF::RemoveOut<A7 >::type a7, \
4410 ::RCF::RemoveOut<A8 >::type a8, \
4411 ::RCF::RemoveOut<A9 >::type a9, \
4412 ::RCF::RemoveOut<A10 >::type a10, \
4413 ::RCF::RemoveOut<A11 >::type a11) \
4415 getClientStub().setAsync(false); \
4416 return RCF::FutureImpl<R >( \
4417 ::RCF::AllocateClientParameters< \
4419 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
4422 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
4423 V(),V(),V(),V()).r.get(), \
4427 callOptions.apply(getClientStub()), \
4431 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
4433 ::RCF::RemoveOut<A1 >::type a1, \
4434 ::RCF::RemoveOut<A2 >::type a2, \
4435 ::RCF::RemoveOut<A3 >::type a3, \
4436 ::RCF::RemoveOut<A4 >::type a4, \
4437 ::RCF::RemoveOut<A5 >::type a5, \
4438 ::RCF::RemoveOut<A6 >::type a6, \
4439 ::RCF::RemoveOut<A7 >::type a7, \
4440 ::RCF::RemoveOut<A8 >::type a8, \
4441 ::RCF::RemoveOut<A9 >::type a9, \
4442 ::RCF::RemoveOut<A10 >::type a10, \
4443 ::RCF::RemoveOut<A11 >::type a11) \
4454 #define RCF_METHOD_V11_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
4455 RCF_METHOD_V11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, V11))
4457 #define RCF_METHOD_V11_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id)\
4459 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4460 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4461 ::RCF::FutureImpl<V> func( \
4462 ::RCF::RemoveOut<A1 >::type a1, \
4463 ::RCF::RemoveOut<A2 >::type a2, \
4464 ::RCF::RemoveOut<A3 >::type a3, \
4465 ::RCF::RemoveOut<A4 >::type a4, \
4466 ::RCF::RemoveOut<A5 >::type a5, \
4467 ::RCF::RemoveOut<A6 >::type a6, \
4468 ::RCF::RemoveOut<A7 >::type a7, \
4469 ::RCF::RemoveOut<A8 >::type a8, \
4470 ::RCF::RemoveOut<A9 >::type a9, \
4471 ::RCF::RemoveOut<A10 >::type a10, \
4472 ::RCF::RemoveOut<A11 >::type a11) \
4475 ::RCF::CallOptions() , \
4476 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
4478 ::RCF::FutureImpl<V> func( \
4479 const ::RCF::CallOptions &callOptions , \
4480 ::RCF::RemoveOut<A1 >::type a1, \
4481 ::RCF::RemoveOut<A2 >::type a2, \
4482 ::RCF::RemoveOut<A3 >::type a3, \
4483 ::RCF::RemoveOut<A4 >::type a4, \
4484 ::RCF::RemoveOut<A5 >::type a5, \
4485 ::RCF::RemoveOut<A6 >::type a6, \
4486 ::RCF::RemoveOut<A7 >::type a7, \
4487 ::RCF::RemoveOut<A8 >::type a8, \
4488 ::RCF::RemoveOut<A9 >::type a9, \
4489 ::RCF::RemoveOut<A10 >::type a10, \
4490 ::RCF::RemoveOut<A11 >::type a11) \
4492 getClientStub().setAsync(false); \
4493 return RCF::FutureImpl<V>( \
4494 ::RCF::AllocateClientParameters< \
4496 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
4499 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
4500 V(),V(),V(),V()).r.get(), \
4504 callOptions.apply(getClientStub()), \
4508 const char * getFunctionName(const id &) \
4512 const char * getArity(const id &) \
4518 template<typename T> \
4521 ::RCF::RcfSession &session, \
4524 ::RCF::ServerParameters< \
4526 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
4527 ::RCF::AllocateServerParameters< \
4529 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session); \
4530 RCF_UNUSED_VARIABLE(p); \
4546 #define RCF_METHOD_V11_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
4547 RCF_METHOD_V11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, RCF_MAKE_UNIQUE_ID(func, V11))
4549 #define RCF_METHOD_V11_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, id) \
4551 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4552 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4553 ::RCF::FutureImpl<V> func( \
4554 ::RCF::RemoveOut<A1 >::type a1, \
4555 ::RCF::RemoveOut<A2 >::type a2, \
4556 ::RCF::RemoveOut<A3 >::type a3, \
4557 ::RCF::RemoveOut<A4 >::type a4, \
4558 ::RCF::RemoveOut<A5 >::type a5, \
4559 ::RCF::RemoveOut<A6 >::type a6, \
4560 ::RCF::RemoveOut<A7 >::type a7, \
4561 ::RCF::RemoveOut<A8 >::type a8, \
4562 ::RCF::RemoveOut<A9 >::type a9, \
4563 ::RCF::RemoveOut<A10 >::type a10, \
4564 ::RCF::RemoveOut<A11 >::type a11) \
4567 ::RCF::CallOptions() , \
4568 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \
4571 ::RCF::FutureImpl<V> func( \
4572 const ::RCF::CallOptions &callOptions , \
4573 ::RCF::RemoveOut<A1 >::type a1, \
4574 ::RCF::RemoveOut<A2 >::type a2, \
4575 ::RCF::RemoveOut<A3 >::type a3, \
4576 ::RCF::RemoveOut<A4 >::type a4, \
4577 ::RCF::RemoveOut<A5 >::type a5, \
4578 ::RCF::RemoveOut<A6 >::type a6, \
4579 ::RCF::RemoveOut<A7 >::type a7, \
4580 ::RCF::RemoveOut<A8 >::type a8, \
4581 ::RCF::RemoveOut<A9 >::type a9, \
4582 ::RCF::RemoveOut<A10 >::type a10, \
4583 ::RCF::RemoveOut<A11 >::type a11); \
4585 void error__method_defined_out_of_order__##func( \
4587 ::RCF::RemoveOut<A1 >::type a1, \
4588 ::RCF::RemoveOut<A2 >::type a2, \
4589 ::RCF::RemoveOut<A3 >::type a3, \
4590 ::RCF::RemoveOut<A4 >::type a4, \
4591 ::RCF::RemoveOut<A5 >::type a5, \
4592 ::RCF::RemoveOut<A6 >::type a6, \
4593 ::RCF::RemoveOut<A7 >::type a7, \
4594 ::RCF::RemoveOut<A8 >::type a8, \
4595 ::RCF::RemoveOut<A9 >::type a9, \
4596 ::RCF::RemoveOut<A10 >::type a10, \
4597 ::RCF::RemoveOut<A11 >::type a11); \
4599 const char * getFunctionName(const id &) \
4603 const char * getArity(const id &) \
4609 template<typename T> \
4612 ::RCF::RcfSession &session, \
4615 ::RCF::ServerParameters< \
4617 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 > &p = \
4618 ::RCF::AllocateServerParameters< \
4620 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 >()(session); \
4621 RCF_UNUSED_VARIABLE(p); \
4637 #define RCF_METHOD_V11_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11) \
4638 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__))
4640 #define RCF_METHOD_V11_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11, interfaceId, funcId, genParms)\
4641 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4642 typedef GeneratorParms<interfaceId> genParms; \
4643 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4644 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
4645 const ::RCF::CallOptions &callOptions , \
4646 ::RCF::RemoveOut<A1 >::type a1, \
4647 ::RCF::RemoveOut<A2 >::type a2, \
4648 ::RCF::RemoveOut<A3 >::type a3, \
4649 ::RCF::RemoveOut<A4 >::type a4, \
4650 ::RCF::RemoveOut<A5 >::type a5, \
4651 ::RCF::RemoveOut<A6 >::type a6, \
4652 ::RCF::RemoveOut<A7 >::type a7, \
4653 ::RCF::RemoveOut<A8 >::type a8, \
4654 ::RCF::RemoveOut<A9 >::type a9, \
4655 ::RCF::RemoveOut<A10 >::type a10, \
4656 ::RCF::RemoveOut<A11 >::type a11) \
4658 typedef ::RCF::Void V; \
4659 getClientStub().setAsync(false); \
4660 return RCF::FutureImpl<V >( \
4661 ::RCF::AllocateClientParameters< \
4663 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11 , \
4666 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11 , \
4667 V(),V(),V(),V()).r.get(), \
4671 callOptions.apply(getClientStub()), \
4675 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
4677 ::RCF::RemoveOut<A1 >::type a1, \
4678 ::RCF::RemoveOut<A2 >::type a2, \
4679 ::RCF::RemoveOut<A3 >::type a3, \
4680 ::RCF::RemoveOut<A4 >::type a4, \
4681 ::RCF::RemoveOut<A5 >::type a5, \
4682 ::RCF::RemoveOut<A6 >::type a6, \
4683 ::RCF::RemoveOut<A7 >::type a7, \
4684 ::RCF::RemoveOut<A8 >::type a8, \
4685 ::RCF::RemoveOut<A9 >::type a9, \
4686 ::RCF::RemoveOut<A10 >::type a10, \
4687 ::RCF::RemoveOut<A11 >::type a11) \
4699 #define RCF_METHOD_R12_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)\
4700 RCF_METHOD_R12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, R12))
4702 #define RCF_METHOD_R12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
4704 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4705 ::RCF::FutureImpl<R > func( \
4706 ::RCF::RemoveOut<A1 >::type a1, \
4707 ::RCF::RemoveOut<A2 >::type a2, \
4708 ::RCF::RemoveOut<A3 >::type a3, \
4709 ::RCF::RemoveOut<A4 >::type a4, \
4710 ::RCF::RemoveOut<A5 >::type a5, \
4711 ::RCF::RemoveOut<A6 >::type a6, \
4712 ::RCF::RemoveOut<A7 >::type a7, \
4713 ::RCF::RemoveOut<A8 >::type a8, \
4714 ::RCF::RemoveOut<A9 >::type a9, \
4715 ::RCF::RemoveOut<A10 >::type a10, \
4716 ::RCF::RemoveOut<A11 >::type a11, \
4717 ::RCF::RemoveOut<A12 >::type a12) \
4720 ::RCF::CallOptions() , \
4721 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
4723 ::RCF::FutureImpl<R > func( \
4724 const ::RCF::CallOptions &callOptions , \
4725 ::RCF::RemoveOut<A1 >::type a1, \
4726 ::RCF::RemoveOut<A2 >::type a2, \
4727 ::RCF::RemoveOut<A3 >::type a3, \
4728 ::RCF::RemoveOut<A4 >::type a4, \
4729 ::RCF::RemoveOut<A5 >::type a5, \
4730 ::RCF::RemoveOut<A6 >::type a6, \
4731 ::RCF::RemoveOut<A7 >::type a7, \
4732 ::RCF::RemoveOut<A8 >::type a8, \
4733 ::RCF::RemoveOut<A9 >::type a9, \
4734 ::RCF::RemoveOut<A10 >::type a10, \
4735 ::RCF::RemoveOut<A11 >::type a11, \
4736 ::RCF::RemoveOut<A12 >::type a12) \
4738 getClientStub().setAsync(false); \
4739 return RCF::FutureImpl<R >( \
4740 ::RCF::AllocateClientParameters< \
4742 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
4745 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
4746 V(),V(),V()).r.get(), \
4750 callOptions.apply(getClientStub()), \
4754 const char * getFunctionName(const id &) \
4758 const char * getArity(const id &) \
4764 template<typename T> \
4767 ::RCF::RcfSession &session, \
4770 ::RCF::ServerParameters< \
4772 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
4773 ::RCF::AllocateServerParameters< \
4775 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session); \
4777 session.getAutoSend(), \
4794 #define RCF_METHOD_R12_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
4795 RCF_METHOD_R12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, R12))
4797 #define RCF_METHOD_R12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
4799 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4800 ::RCF::FutureImpl<R > func( \
4801 ::RCF::RemoveOut<A1 >::type a1, \
4802 ::RCF::RemoveOut<A2 >::type a2, \
4803 ::RCF::RemoveOut<A3 >::type a3, \
4804 ::RCF::RemoveOut<A4 >::type a4, \
4805 ::RCF::RemoveOut<A5 >::type a5, \
4806 ::RCF::RemoveOut<A6 >::type a6, \
4807 ::RCF::RemoveOut<A7 >::type a7, \
4808 ::RCF::RemoveOut<A8 >::type a8, \
4809 ::RCF::RemoveOut<A9 >::type a9, \
4810 ::RCF::RemoveOut<A10 >::type a10, \
4811 ::RCF::RemoveOut<A11 >::type a11, \
4812 ::RCF::RemoveOut<A12 >::type a12) \
4815 ::RCF::CallOptions() , \
4816 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
4819 ::RCF::FutureImpl<R > func( \
4820 const ::RCF::CallOptions &callOptions , \
4821 ::RCF::RemoveOut<A1 >::type a1, \
4822 ::RCF::RemoveOut<A2 >::type a2, \
4823 ::RCF::RemoveOut<A3 >::type a3, \
4824 ::RCF::RemoveOut<A4 >::type a4, \
4825 ::RCF::RemoveOut<A5 >::type a5, \
4826 ::RCF::RemoveOut<A6 >::type a6, \
4827 ::RCF::RemoveOut<A7 >::type a7, \
4828 ::RCF::RemoveOut<A8 >::type a8, \
4829 ::RCF::RemoveOut<A9 >::type a9, \
4830 ::RCF::RemoveOut<A10 >::type a10, \
4831 ::RCF::RemoveOut<A11 >::type a11, \
4832 ::RCF::RemoveOut<A12 >::type a12); \
4834 void error__method_defined_out_of_order__##func( \
4836 ::RCF::RemoveOut<A1 >::type a1, \
4837 ::RCF::RemoveOut<A2 >::type a2, \
4838 ::RCF::RemoveOut<A3 >::type a3, \
4839 ::RCF::RemoveOut<A4 >::type a4, \
4840 ::RCF::RemoveOut<A5 >::type a5, \
4841 ::RCF::RemoveOut<A6 >::type a6, \
4842 ::RCF::RemoveOut<A7 >::type a7, \
4843 ::RCF::RemoveOut<A8 >::type a8, \
4844 ::RCF::RemoveOut<A9 >::type a9, \
4845 ::RCF::RemoveOut<A10 >::type a10, \
4846 ::RCF::RemoveOut<A11 >::type a11, \
4847 ::RCF::RemoveOut<A12 >::type a12); \
4849 const char * getFunctionName(const id &) \
4853 const char * getArity(const id &) \
4859 template<typename T> \
4862 ::RCF::RcfSession &session, \
4865 ::RCF::ServerParameters< \
4867 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
4868 ::RCF::AllocateServerParameters< \
4870 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session); \
4872 session.getAutoSend(), \
4889 #define RCF_METHOD_R12_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
4890 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__))
4892 #define RCF_METHOD_R12_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, interfaceId, funcId, genParms)\
4893 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
4894 typedef GeneratorParms<interfaceId> genParms; \
4895 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
4896 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
4897 const ::RCF::CallOptions &callOptions , \
4898 ::RCF::RemoveOut<A1 >::type a1, \
4899 ::RCF::RemoveOut<A2 >::type a2, \
4900 ::RCF::RemoveOut<A3 >::type a3, \
4901 ::RCF::RemoveOut<A4 >::type a4, \
4902 ::RCF::RemoveOut<A5 >::type a5, \
4903 ::RCF::RemoveOut<A6 >::type a6, \
4904 ::RCF::RemoveOut<A7 >::type a7, \
4905 ::RCF::RemoveOut<A8 >::type a8, \
4906 ::RCF::RemoveOut<A9 >::type a9, \
4907 ::RCF::RemoveOut<A10 >::type a10, \
4908 ::RCF::RemoveOut<A11 >::type a11, \
4909 ::RCF::RemoveOut<A12 >::type a12) \
4911 getClientStub().setAsync(false); \
4912 return RCF::FutureImpl<R >( \
4913 ::RCF::AllocateClientParameters< \
4915 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
4918 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
4919 V(),V(),V()).r.get(), \
4923 callOptions.apply(getClientStub()), \
4927 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
4929 ::RCF::RemoveOut<A1 >::type a1, \
4930 ::RCF::RemoveOut<A2 >::type a2, \
4931 ::RCF::RemoveOut<A3 >::type a3, \
4932 ::RCF::RemoveOut<A4 >::type a4, \
4933 ::RCF::RemoveOut<A5 >::type a5, \
4934 ::RCF::RemoveOut<A6 >::type a6, \
4935 ::RCF::RemoveOut<A7 >::type a7, \
4936 ::RCF::RemoveOut<A8 >::type a8, \
4937 ::RCF::RemoveOut<A9 >::type a9, \
4938 ::RCF::RemoveOut<A10 >::type a10, \
4939 ::RCF::RemoveOut<A11 >::type a11, \
4940 ::RCF::RemoveOut<A12 >::type a12) \
4951 #define RCF_METHOD_V12_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)\
4952 RCF_METHOD_V12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, V12))
4954 #define RCF_METHOD_V12_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
4956 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
4957 RCF_MAKE_NEXT_DISPATCH_ID(id) \
4958 ::RCF::FutureImpl<V> func( \
4959 ::RCF::RemoveOut<A1 >::type a1, \
4960 ::RCF::RemoveOut<A2 >::type a2, \
4961 ::RCF::RemoveOut<A3 >::type a3, \
4962 ::RCF::RemoveOut<A4 >::type a4, \
4963 ::RCF::RemoveOut<A5 >::type a5, \
4964 ::RCF::RemoveOut<A6 >::type a6, \
4965 ::RCF::RemoveOut<A7 >::type a7, \
4966 ::RCF::RemoveOut<A8 >::type a8, \
4967 ::RCF::RemoveOut<A9 >::type a9, \
4968 ::RCF::RemoveOut<A10 >::type a10, \
4969 ::RCF::RemoveOut<A11 >::type a11, \
4970 ::RCF::RemoveOut<A12 >::type a12) \
4973 ::RCF::CallOptions() , \
4974 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
4976 ::RCF::FutureImpl<V> func( \
4977 const ::RCF::CallOptions &callOptions , \
4978 ::RCF::RemoveOut<A1 >::type a1, \
4979 ::RCF::RemoveOut<A2 >::type a2, \
4980 ::RCF::RemoveOut<A3 >::type a3, \
4981 ::RCF::RemoveOut<A4 >::type a4, \
4982 ::RCF::RemoveOut<A5 >::type a5, \
4983 ::RCF::RemoveOut<A6 >::type a6, \
4984 ::RCF::RemoveOut<A7 >::type a7, \
4985 ::RCF::RemoveOut<A8 >::type a8, \
4986 ::RCF::RemoveOut<A9 >::type a9, \
4987 ::RCF::RemoveOut<A10 >::type a10, \
4988 ::RCF::RemoveOut<A11 >::type a11, \
4989 ::RCF::RemoveOut<A12 >::type a12) \
4991 getClientStub().setAsync(false); \
4992 return RCF::FutureImpl<V>( \
4993 ::RCF::AllocateClientParameters< \
4995 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
4998 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
4999 V(),V(),V()).r.get(), \
5003 callOptions.apply(getClientStub()), \
5007 const char * getFunctionName(const id &) \
5011 const char * getArity(const id &) \
5017 template<typename T> \
5020 ::RCF::RcfSession &session, \
5023 ::RCF::ServerParameters< \
5025 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
5026 ::RCF::AllocateServerParameters< \
5028 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session);\
5029 RCF_UNUSED_VARIABLE(p); \
5046 #define RCF_METHOD_V12_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
5047 RCF_METHOD_V12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, RCF_MAKE_UNIQUE_ID(func, V12))
5049 #define RCF_METHOD_V12_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, id)\
5051 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
5052 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5053 ::RCF::FutureImpl<V> func( \
5054 ::RCF::RemoveOut<A1 >::type a1, \
5055 ::RCF::RemoveOut<A2 >::type a2, \
5056 ::RCF::RemoveOut<A3 >::type a3, \
5057 ::RCF::RemoveOut<A4 >::type a4, \
5058 ::RCF::RemoveOut<A5 >::type a5, \
5059 ::RCF::RemoveOut<A6 >::type a6, \
5060 ::RCF::RemoveOut<A7 >::type a7, \
5061 ::RCF::RemoveOut<A8 >::type a8, \
5062 ::RCF::RemoveOut<A9 >::type a9, \
5063 ::RCF::RemoveOut<A10 >::type a10, \
5064 ::RCF::RemoveOut<A11 >::type a11, \
5065 ::RCF::RemoveOut<A12 >::type a12) \
5068 ::RCF::CallOptions() , \
5069 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \
5072 ::RCF::FutureImpl<V> func( \
5073 const ::RCF::CallOptions &callOptions , \
5074 ::RCF::RemoveOut<A1 >::type a1, \
5075 ::RCF::RemoveOut<A2 >::type a2, \
5076 ::RCF::RemoveOut<A3 >::type a3, \
5077 ::RCF::RemoveOut<A4 >::type a4, \
5078 ::RCF::RemoveOut<A5 >::type a5, \
5079 ::RCF::RemoveOut<A6 >::type a6, \
5080 ::RCF::RemoveOut<A7 >::type a7, \
5081 ::RCF::RemoveOut<A8 >::type a8, \
5082 ::RCF::RemoveOut<A9 >::type a9, \
5083 ::RCF::RemoveOut<A10 >::type a10, \
5084 ::RCF::RemoveOut<A11 >::type a11, \
5085 ::RCF::RemoveOut<A12 >::type a12); \
5087 void error__method_defined_out_of_order__##func( \
5089 ::RCF::RemoveOut<A1 >::type a1, \
5090 ::RCF::RemoveOut<A2 >::type a2, \
5091 ::RCF::RemoveOut<A3 >::type a3, \
5092 ::RCF::RemoveOut<A4 >::type a4, \
5093 ::RCF::RemoveOut<A5 >::type a5, \
5094 ::RCF::RemoveOut<A6 >::type a6, \
5095 ::RCF::RemoveOut<A7 >::type a7, \
5096 ::RCF::RemoveOut<A8 >::type a8, \
5097 ::RCF::RemoveOut<A9 >::type a9, \
5098 ::RCF::RemoveOut<A10 >::type a10, \
5099 ::RCF::RemoveOut<A11 >::type a11, \
5100 ::RCF::RemoveOut<A12 >::type a12); \
5102 const char * getFunctionName(const id &) \
5106 const char * getArity(const id &) \
5112 template<typename T> \
5115 ::RCF::RcfSession &session, \
5118 ::RCF::ServerParameters< \
5120 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 > &p = \
5121 ::RCF::AllocateServerParameters< \
5123 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 >()(session);\
5124 RCF_UNUSED_VARIABLE(p); \
5141 #define RCF_METHOD_V12_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12) \
5142 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__))
5144 #define RCF_METHOD_V12_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12, interfaceId, funcId, genParms)\
5145 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
5146 typedef GeneratorParms<interfaceId> genParms; \
5147 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
5148 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
5149 const ::RCF::CallOptions &callOptions , \
5150 ::RCF::RemoveOut<A1 >::type a1, \
5151 ::RCF::RemoveOut<A2 >::type a2, \
5152 ::RCF::RemoveOut<A3 >::type a3, \
5153 ::RCF::RemoveOut<A4 >::type a4, \
5154 ::RCF::RemoveOut<A5 >::type a5, \
5155 ::RCF::RemoveOut<A6 >::type a6, \
5156 ::RCF::RemoveOut<A7 >::type a7, \
5157 ::RCF::RemoveOut<A8 >::type a8, \
5158 ::RCF::RemoveOut<A9 >::type a9, \
5159 ::RCF::RemoveOut<A10 >::type a10, \
5160 ::RCF::RemoveOut<A11 >::type a11, \
5161 ::RCF::RemoveOut<A12 >::type a12) \
5163 typedef ::RCF::Void V; \
5164 getClientStub().setAsync(false); \
5165 return RCF::FutureImpl<V >( \
5166 ::RCF::AllocateClientParameters< \
5168 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 , \
5171 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12 , \
5172 V(),V(),V()).r.get(), \
5176 callOptions.apply(getClientStub()), \
5180 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5182 ::RCF::RemoveOut<A1 >::type a1, \
5183 ::RCF::RemoveOut<A2 >::type a2, \
5184 ::RCF::RemoveOut<A3 >::type a3, \
5185 ::RCF::RemoveOut<A4 >::type a4, \
5186 ::RCF::RemoveOut<A5 >::type a5, \
5187 ::RCF::RemoveOut<A6 >::type a6, \
5188 ::RCF::RemoveOut<A7 >::type a7, \
5189 ::RCF::RemoveOut<A8 >::type a8, \
5190 ::RCF::RemoveOut<A9 >::type a9, \
5191 ::RCF::RemoveOut<A10 >::type a10, \
5192 ::RCF::RemoveOut<A11 >::type a11, \
5193 ::RCF::RemoveOut<A12 >::type a12) \
5205 #define RCF_METHOD_R13_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
5206 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))
5208 #define RCF_METHOD_R13_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
5210 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5211 ::RCF::FutureImpl<R > func( \
5212 ::RCF::RemoveOut<A1 >::type a1, \
5213 ::RCF::RemoveOut<A2 >::type a2, \
5214 ::RCF::RemoveOut<A3 >::type a3, \
5215 ::RCF::RemoveOut<A4 >::type a4, \
5216 ::RCF::RemoveOut<A5 >::type a5, \
5217 ::RCF::RemoveOut<A6 >::type a6, \
5218 ::RCF::RemoveOut<A7 >::type a7, \
5219 ::RCF::RemoveOut<A8 >::type a8, \
5220 ::RCF::RemoveOut<A9 >::type a9, \
5221 ::RCF::RemoveOut<A10 >::type a10, \
5222 ::RCF::RemoveOut<A11 >::type a11, \
5223 ::RCF::RemoveOut<A12 >::type a12, \
5224 ::RCF::RemoveOut<A13 >::type a13) \
5227 ::RCF::CallOptions() , \
5228 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
5230 ::RCF::FutureImpl<R > func( \
5231 const ::RCF::CallOptions &callOptions , \
5232 ::RCF::RemoveOut<A1 >::type a1, \
5233 ::RCF::RemoveOut<A2 >::type a2, \
5234 ::RCF::RemoveOut<A3 >::type a3, \
5235 ::RCF::RemoveOut<A4 >::type a4, \
5236 ::RCF::RemoveOut<A5 >::type a5, \
5237 ::RCF::RemoveOut<A6 >::type a6, \
5238 ::RCF::RemoveOut<A7 >::type a7, \
5239 ::RCF::RemoveOut<A8 >::type a8, \
5240 ::RCF::RemoveOut<A9 >::type a9, \
5241 ::RCF::RemoveOut<A10 >::type a10, \
5242 ::RCF::RemoveOut<A11 >::type a11, \
5243 ::RCF::RemoveOut<A12 >::type a12, \
5244 ::RCF::RemoveOut<A13 >::type a13) \
5246 getClientStub().setAsync(false); \
5247 return RCF::FutureImpl<R >( \
5248 ::RCF::AllocateClientParameters< \
5250 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
5253 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
5258 callOptions.apply(getClientStub()), \
5262 const char * getFunctionName(const id &) \
5266 const char * getArity(const id &) \
5272 template<typename T> \
5275 ::RCF::RcfSession &session, \
5278 ::RCF::ServerParameters< \
5280 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
5281 ::RCF::AllocateServerParameters< \
5283 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
5285 session.getAutoSend(), \
5303 #define RCF_METHOD_R13_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
5304 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))
5306 #define RCF_METHOD_R13_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
5308 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5309 ::RCF::FutureImpl<R > func( \
5310 ::RCF::RemoveOut<A1 >::type a1, \
5311 ::RCF::RemoveOut<A2 >::type a2, \
5312 ::RCF::RemoveOut<A3 >::type a3, \
5313 ::RCF::RemoveOut<A4 >::type a4, \
5314 ::RCF::RemoveOut<A5 >::type a5, \
5315 ::RCF::RemoveOut<A6 >::type a6, \
5316 ::RCF::RemoveOut<A7 >::type a7, \
5317 ::RCF::RemoveOut<A8 >::type a8, \
5318 ::RCF::RemoveOut<A9 >::type a9, \
5319 ::RCF::RemoveOut<A10 >::type a10, \
5320 ::RCF::RemoveOut<A11 >::type a11, \
5321 ::RCF::RemoveOut<A12 >::type a12, \
5322 ::RCF::RemoveOut<A13 >::type a13) \
5325 ::RCF::CallOptions() , \
5326 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
5329 ::RCF::FutureImpl<R > func( \
5330 const ::RCF::CallOptions &callOptions , \
5331 ::RCF::RemoveOut<A1 >::type a1, \
5332 ::RCF::RemoveOut<A2 >::type a2, \
5333 ::RCF::RemoveOut<A3 >::type a3, \
5334 ::RCF::RemoveOut<A4 >::type a4, \
5335 ::RCF::RemoveOut<A5 >::type a5, \
5336 ::RCF::RemoveOut<A6 >::type a6, \
5337 ::RCF::RemoveOut<A7 >::type a7, \
5338 ::RCF::RemoveOut<A8 >::type a8, \
5339 ::RCF::RemoveOut<A9 >::type a9, \
5340 ::RCF::RemoveOut<A10 >::type a10, \
5341 ::RCF::RemoveOut<A11 >::type a11, \
5342 ::RCF::RemoveOut<A12 >::type a12, \
5343 ::RCF::RemoveOut<A13 >::type a13); \
5345 void error__method_defined_out_of_order__##func( \
5347 ::RCF::RemoveOut<A1 >::type a1, \
5348 ::RCF::RemoveOut<A2 >::type a2, \
5349 ::RCF::RemoveOut<A3 >::type a3, \
5350 ::RCF::RemoveOut<A4 >::type a4, \
5351 ::RCF::RemoveOut<A5 >::type a5, \
5352 ::RCF::RemoveOut<A6 >::type a6, \
5353 ::RCF::RemoveOut<A7 >::type a7, \
5354 ::RCF::RemoveOut<A8 >::type a8, \
5355 ::RCF::RemoveOut<A9 >::type a9, \
5356 ::RCF::RemoveOut<A10 >::type a10, \
5357 ::RCF::RemoveOut<A11 >::type a11, \
5358 ::RCF::RemoveOut<A12 >::type a12, \
5359 ::RCF::RemoveOut<A13 >::type a13); \
5361 const char * getFunctionName(const id &) \
5365 const char * getArity(const id &) \
5371 template<typename T> \
5374 ::RCF::RcfSession &session, \
5377 ::RCF::ServerParameters< \
5379 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
5380 ::RCF::AllocateServerParameters< \
5382 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
5384 session.getAutoSend(), \
5402 #define RCF_METHOD_R13_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
5403 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__))
5405 #define RCF_METHOD_R13_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, interfaceId, funcId, genParms)\
5406 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
5407 typedef GeneratorParms<interfaceId> genParms; \
5408 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
5409 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
5410 const ::RCF::CallOptions &callOptions , \
5411 ::RCF::RemoveOut<A1 >::type a1, \
5412 ::RCF::RemoveOut<A2 >::type a2, \
5413 ::RCF::RemoveOut<A3 >::type a3, \
5414 ::RCF::RemoveOut<A4 >::type a4, \
5415 ::RCF::RemoveOut<A5 >::type a5, \
5416 ::RCF::RemoveOut<A6 >::type a6, \
5417 ::RCF::RemoveOut<A7 >::type a7, \
5418 ::RCF::RemoveOut<A8 >::type a8, \
5419 ::RCF::RemoveOut<A9 >::type a9, \
5420 ::RCF::RemoveOut<A10 >::type a10, \
5421 ::RCF::RemoveOut<A11 >::type a11, \
5422 ::RCF::RemoveOut<A12 >::type a12, \
5423 ::RCF::RemoveOut<A13 >::type a13) \
5425 getClientStub().setAsync(false); \
5426 return RCF::FutureImpl<R >( \
5427 ::RCF::AllocateClientParameters< \
5429 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
5432 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
5437 callOptions.apply(getClientStub()), \
5441 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5443 ::RCF::RemoveOut<A1 >::type a1, \
5444 ::RCF::RemoveOut<A2 >::type a2, \
5445 ::RCF::RemoveOut<A3 >::type a3, \
5446 ::RCF::RemoveOut<A4 >::type a4, \
5447 ::RCF::RemoveOut<A5 >::type a5, \
5448 ::RCF::RemoveOut<A6 >::type a6, \
5449 ::RCF::RemoveOut<A7 >::type a7, \
5450 ::RCF::RemoveOut<A8 >::type a8, \
5451 ::RCF::RemoveOut<A9 >::type a9, \
5452 ::RCF::RemoveOut<A10 >::type a10, \
5453 ::RCF::RemoveOut<A11 >::type a11, \
5454 ::RCF::RemoveOut<A12 >::type a12, \
5455 ::RCF::RemoveOut<A13 >::type a13) \
5466 #define RCF_METHOD_V13_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
5467 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))
5469 #define RCF_METHOD_V13_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
5471 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
5472 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5473 ::RCF::FutureImpl<V> func( \
5474 ::RCF::RemoveOut<A1 >::type a1, \
5475 ::RCF::RemoveOut<A2 >::type a2, \
5476 ::RCF::RemoveOut<A3 >::type a3, \
5477 ::RCF::RemoveOut<A4 >::type a4, \
5478 ::RCF::RemoveOut<A5 >::type a5, \
5479 ::RCF::RemoveOut<A6 >::type a6, \
5480 ::RCF::RemoveOut<A7 >::type a7, \
5481 ::RCF::RemoveOut<A8 >::type a8, \
5482 ::RCF::RemoveOut<A9 >::type a9, \
5483 ::RCF::RemoveOut<A10 >::type a10, \
5484 ::RCF::RemoveOut<A11 >::type a11, \
5485 ::RCF::RemoveOut<A12 >::type a12, \
5486 ::RCF::RemoveOut<A13 >::type a13) \
5489 ::RCF::CallOptions() , \
5490 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
5492 ::RCF::FutureImpl<V> func( \
5493 const ::RCF::CallOptions &callOptions , \
5494 ::RCF::RemoveOut<A1 >::type a1, \
5495 ::RCF::RemoveOut<A2 >::type a2, \
5496 ::RCF::RemoveOut<A3 >::type a3, \
5497 ::RCF::RemoveOut<A4 >::type a4, \
5498 ::RCF::RemoveOut<A5 >::type a5, \
5499 ::RCF::RemoveOut<A6 >::type a6, \
5500 ::RCF::RemoveOut<A7 >::type a7, \
5501 ::RCF::RemoveOut<A8 >::type a8, \
5502 ::RCF::RemoveOut<A9 >::type a9, \
5503 ::RCF::RemoveOut<A10 >::type a10, \
5504 ::RCF::RemoveOut<A11 >::type a11, \
5505 ::RCF::RemoveOut<A12 >::type a12, \
5506 ::RCF::RemoveOut<A13 >::type a13) \
5508 getClientStub().setAsync(false); \
5509 return RCF::FutureImpl<V>( \
5510 ::RCF::AllocateClientParameters< \
5512 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
5515 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
5520 callOptions.apply(getClientStub()), \
5524 const char * getFunctionName(const id &) \
5528 const char * getArity(const id &) \
5534 template<typename T> \
5537 ::RCF::RcfSession &session, \
5540 ::RCF::ServerParameters< \
5542 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
5543 ::RCF::AllocateServerParameters< \
5545 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
5546 RCF_UNUSED_VARIABLE(p); \
5564 #define RCF_METHOD_V13_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
5565 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))
5567 #define RCF_METHOD_V13_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, id)\
5569 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
5570 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5571 ::RCF::FutureImpl<V> func( \
5572 ::RCF::RemoveOut<A1 >::type a1, \
5573 ::RCF::RemoveOut<A2 >::type a2, \
5574 ::RCF::RemoveOut<A3 >::type a3, \
5575 ::RCF::RemoveOut<A4 >::type a4, \
5576 ::RCF::RemoveOut<A5 >::type a5, \
5577 ::RCF::RemoveOut<A6 >::type a6, \
5578 ::RCF::RemoveOut<A7 >::type a7, \
5579 ::RCF::RemoveOut<A8 >::type a8, \
5580 ::RCF::RemoveOut<A9 >::type a9, \
5581 ::RCF::RemoveOut<A10 >::type a10, \
5582 ::RCF::RemoveOut<A11 >::type a11, \
5583 ::RCF::RemoveOut<A12 >::type a12, \
5584 ::RCF::RemoveOut<A13 >::type a13) \
5587 ::RCF::CallOptions() , \
5588 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); \
5591 ::RCF::FutureImpl<V> func( \
5592 const ::RCF::CallOptions &callOptions , \
5593 ::RCF::RemoveOut<A1 >::type a1, \
5594 ::RCF::RemoveOut<A2 >::type a2, \
5595 ::RCF::RemoveOut<A3 >::type a3, \
5596 ::RCF::RemoveOut<A4 >::type a4, \
5597 ::RCF::RemoveOut<A5 >::type a5, \
5598 ::RCF::RemoveOut<A6 >::type a6, \
5599 ::RCF::RemoveOut<A7 >::type a7, \
5600 ::RCF::RemoveOut<A8 >::type a8, \
5601 ::RCF::RemoveOut<A9 >::type a9, \
5602 ::RCF::RemoveOut<A10 >::type a10, \
5603 ::RCF::RemoveOut<A11 >::type a11, \
5604 ::RCF::RemoveOut<A12 >::type a12, \
5605 ::RCF::RemoveOut<A13 >::type a13); \
5607 void error__method_defined_out_of_order__##func( \
5609 ::RCF::RemoveOut<A1 >::type a1, \
5610 ::RCF::RemoveOut<A2 >::type a2, \
5611 ::RCF::RemoveOut<A3 >::type a3, \
5612 ::RCF::RemoveOut<A4 >::type a4, \
5613 ::RCF::RemoveOut<A5 >::type a5, \
5614 ::RCF::RemoveOut<A6 >::type a6, \
5615 ::RCF::RemoveOut<A7 >::type a7, \
5616 ::RCF::RemoveOut<A8 >::type a8, \
5617 ::RCF::RemoveOut<A9 >::type a9, \
5618 ::RCF::RemoveOut<A10 >::type a10, \
5619 ::RCF::RemoveOut<A11 >::type a11, \
5620 ::RCF::RemoveOut<A12 >::type a12, \
5621 ::RCF::RemoveOut<A13 >::type a13); \
5623 const char * getFunctionName(const id &) \
5627 const char * getArity(const id &) \
5633 template<typename T> \
5636 ::RCF::RcfSession &session, \
5639 ::RCF::ServerParameters< \
5641 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 > &p = \
5642 ::RCF::AllocateServerParameters< \
5644 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 >()(session);\
5645 RCF_UNUSED_VARIABLE(p); \
5663 #define RCF_METHOD_V13_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)\
5664 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__))
5666 #define RCF_METHOD_V13_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13, interfaceId, funcId, genParms)\
5667 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
5668 typedef GeneratorParms<interfaceId> genParms; \
5669 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
5670 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
5671 const ::RCF::CallOptions &callOptions , \
5672 ::RCF::RemoveOut<A1 >::type a1, \
5673 ::RCF::RemoveOut<A2 >::type a2, \
5674 ::RCF::RemoveOut<A3 >::type a3, \
5675 ::RCF::RemoveOut<A4 >::type a4, \
5676 ::RCF::RemoveOut<A5 >::type a5, \
5677 ::RCF::RemoveOut<A6 >::type a6, \
5678 ::RCF::RemoveOut<A7 >::type a7, \
5679 ::RCF::RemoveOut<A8 >::type a8, \
5680 ::RCF::RemoveOut<A9 >::type a9, \
5681 ::RCF::RemoveOut<A10 >::type a10, \
5682 ::RCF::RemoveOut<A11 >::type a11, \
5683 ::RCF::RemoveOut<A12 >::type a12, \
5684 ::RCF::RemoveOut<A13 >::type a13) \
5686 typedef ::RCF::Void V; \
5687 getClientStub().setAsync(false); \
5688 return RCF::FutureImpl<V >( \
5689 ::RCF::AllocateClientParameters< \
5691 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13 , \
5694 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 , \
5699 callOptions.apply(getClientStub()), \
5703 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5705 ::RCF::RemoveOut<A1 >::type a1, \
5706 ::RCF::RemoveOut<A2 >::type a2, \
5707 ::RCF::RemoveOut<A3 >::type a3, \
5708 ::RCF::RemoveOut<A4 >::type a4, \
5709 ::RCF::RemoveOut<A5 >::type a5, \
5710 ::RCF::RemoveOut<A6 >::type a6, \
5711 ::RCF::RemoveOut<A7 >::type a7, \
5712 ::RCF::RemoveOut<A8 >::type a8, \
5713 ::RCF::RemoveOut<A9 >::type a9, \
5714 ::RCF::RemoveOut<A10 >::type a10, \
5715 ::RCF::RemoveOut<A11 >::type a11, \
5716 ::RCF::RemoveOut<A12 >::type a12, \
5717 ::RCF::RemoveOut<A13 >::type a13) \
5729 #define RCF_METHOD_R14_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
5730 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))
5732 #define RCF_METHOD_R14_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
5734 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5735 ::RCF::FutureImpl<R > func( \
5736 ::RCF::RemoveOut<A1 >::type a1, \
5737 ::RCF::RemoveOut<A2 >::type a2, \
5738 ::RCF::RemoveOut<A3 >::type a3, \
5739 ::RCF::RemoveOut<A4 >::type a4, \
5740 ::RCF::RemoveOut<A5 >::type a5, \
5741 ::RCF::RemoveOut<A6 >::type a6, \
5742 ::RCF::RemoveOut<A7 >::type a7, \
5743 ::RCF::RemoveOut<A8 >::type a8, \
5744 ::RCF::RemoveOut<A9 >::type a9, \
5745 ::RCF::RemoveOut<A10 >::type a10, \
5746 ::RCF::RemoveOut<A11 >::type a11, \
5747 ::RCF::RemoveOut<A12 >::type a12, \
5748 ::RCF::RemoveOut<A13 >::type a13, \
5749 ::RCF::RemoveOut<A14 >::type a14) \
5752 ::RCF::CallOptions() , \
5753 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
5755 ::RCF::FutureImpl<R > func( \
5756 const ::RCF::CallOptions &callOptions , \
5757 ::RCF::RemoveOut<A1 >::type a1, \
5758 ::RCF::RemoveOut<A2 >::type a2, \
5759 ::RCF::RemoveOut<A3 >::type a3, \
5760 ::RCF::RemoveOut<A4 >::type a4, \
5761 ::RCF::RemoveOut<A5 >::type a5, \
5762 ::RCF::RemoveOut<A6 >::type a6, \
5763 ::RCF::RemoveOut<A7 >::type a7, \
5764 ::RCF::RemoveOut<A8 >::type a8, \
5765 ::RCF::RemoveOut<A9 >::type a9, \
5766 ::RCF::RemoveOut<A10 >::type a10, \
5767 ::RCF::RemoveOut<A11 >::type a11, \
5768 ::RCF::RemoveOut<A12 >::type a12, \
5769 ::RCF::RemoveOut<A13 >::type a13, \
5770 ::RCF::RemoveOut<A14 >::type a14) \
5772 getClientStub().setAsync(false); \
5773 return RCF::FutureImpl<R >( \
5774 ::RCF::AllocateClientParameters< \
5776 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
5779 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
5784 callOptions.apply(getClientStub()), \
5788 const char * getFunctionName(const id &) \
5792 const char * getArity(const id &) \
5798 template<typename T> \
5801 ::RCF::RcfSession &session, \
5804 ::RCF::ServerParameters< \
5806 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
5807 ::RCF::AllocateServerParameters< \
5809 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
5811 session.getAutoSend(), \
5830 #define RCF_METHOD_R14_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
5831 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))
5833 #define RCF_METHOD_R14_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
5835 RCF_MAKE_NEXT_DISPATCH_ID(id) \
5836 ::RCF::FutureImpl<R > func( \
5837 ::RCF::RemoveOut<A1 >::type a1, \
5838 ::RCF::RemoveOut<A2 >::type a2, \
5839 ::RCF::RemoveOut<A3 >::type a3, \
5840 ::RCF::RemoveOut<A4 >::type a4, \
5841 ::RCF::RemoveOut<A5 >::type a5, \
5842 ::RCF::RemoveOut<A6 >::type a6, \
5843 ::RCF::RemoveOut<A7 >::type a7, \
5844 ::RCF::RemoveOut<A8 >::type a8, \
5845 ::RCF::RemoveOut<A9 >::type a9, \
5846 ::RCF::RemoveOut<A10 >::type a10, \
5847 ::RCF::RemoveOut<A11 >::type a11, \
5848 ::RCF::RemoveOut<A12 >::type a12, \
5849 ::RCF::RemoveOut<A13 >::type a13, \
5850 ::RCF::RemoveOut<A14 >::type a14) \
5853 ::RCF::CallOptions() , \
5854 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
5857 ::RCF::FutureImpl<R > func( \
5858 const ::RCF::CallOptions &callOptions , \
5859 ::RCF::RemoveOut<A1 >::type a1, \
5860 ::RCF::RemoveOut<A2 >::type a2, \
5861 ::RCF::RemoveOut<A3 >::type a3, \
5862 ::RCF::RemoveOut<A4 >::type a4, \
5863 ::RCF::RemoveOut<A5 >::type a5, \
5864 ::RCF::RemoveOut<A6 >::type a6, \
5865 ::RCF::RemoveOut<A7 >::type a7, \
5866 ::RCF::RemoveOut<A8 >::type a8, \
5867 ::RCF::RemoveOut<A9 >::type a9, \
5868 ::RCF::RemoveOut<A10 >::type a10, \
5869 ::RCF::RemoveOut<A11 >::type a11, \
5870 ::RCF::RemoveOut<A12 >::type a12, \
5871 ::RCF::RemoveOut<A13 >::type a13, \
5872 ::RCF::RemoveOut<A14 >::type a14); \
5874 void error__method_defined_out_of_order__##func( \
5876 ::RCF::RemoveOut<A1 >::type a1, \
5877 ::RCF::RemoveOut<A2 >::type a2, \
5878 ::RCF::RemoveOut<A3 >::type a3, \
5879 ::RCF::RemoveOut<A4 >::type a4, \
5880 ::RCF::RemoveOut<A5 >::type a5, \
5881 ::RCF::RemoveOut<A6 >::type a6, \
5882 ::RCF::RemoveOut<A7 >::type a7, \
5883 ::RCF::RemoveOut<A8 >::type a8, \
5884 ::RCF::RemoveOut<A9 >::type a9, \
5885 ::RCF::RemoveOut<A10 >::type a10, \
5886 ::RCF::RemoveOut<A11 >::type a11, \
5887 ::RCF::RemoveOut<A12 >::type a12, \
5888 ::RCF::RemoveOut<A13 >::type a13, \
5889 ::RCF::RemoveOut<A14 >::type a14); \
5891 const char * getFunctionName(const id &) \
5895 const char * getArity(const id &) \
5901 template<typename T> \
5904 ::RCF::RcfSession &session, \
5907 ::RCF::ServerParameters< \
5909 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
5910 ::RCF::AllocateServerParameters< \
5912 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
5914 session.getAutoSend(), \
5933 #define RCF_METHOD_R14_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
5934 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__))
5936 #define RCF_METHOD_R14_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, interfaceId, funcId, genParms)\
5937 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
5938 typedef GeneratorParms<interfaceId> genParms; \
5939 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
5940 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
5941 const ::RCF::CallOptions &callOptions , \
5942 ::RCF::RemoveOut<A1 >::type a1, \
5943 ::RCF::RemoveOut<A2 >::type a2, \
5944 ::RCF::RemoveOut<A3 >::type a3, \
5945 ::RCF::RemoveOut<A4 >::type a4, \
5946 ::RCF::RemoveOut<A5 >::type a5, \
5947 ::RCF::RemoveOut<A6 >::type a6, \
5948 ::RCF::RemoveOut<A7 >::type a7, \
5949 ::RCF::RemoveOut<A8 >::type a8, \
5950 ::RCF::RemoveOut<A9 >::type a9, \
5951 ::RCF::RemoveOut<A10 >::type a10, \
5952 ::RCF::RemoveOut<A11 >::type a11, \
5953 ::RCF::RemoveOut<A12 >::type a12, \
5954 ::RCF::RemoveOut<A13 >::type a13, \
5955 ::RCF::RemoveOut<A14 >::type a14) \
5957 getClientStub().setAsync(false); \
5958 return RCF::FutureImpl<R >( \
5959 ::RCF::AllocateClientParameters< \
5961 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
5964 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
5969 callOptions.apply(getClientStub()), \
5973 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
5975 ::RCF::RemoveOut<A1 >::type a1, \
5976 ::RCF::RemoveOut<A2 >::type a2, \
5977 ::RCF::RemoveOut<A3 >::type a3, \
5978 ::RCF::RemoveOut<A4 >::type a4, \
5979 ::RCF::RemoveOut<A5 >::type a5, \
5980 ::RCF::RemoveOut<A6 >::type a6, \
5981 ::RCF::RemoveOut<A7 >::type a7, \
5982 ::RCF::RemoveOut<A8 >::type a8, \
5983 ::RCF::RemoveOut<A9 >::type a9, \
5984 ::RCF::RemoveOut<A10 >::type a10, \
5985 ::RCF::RemoveOut<A11 >::type a11, \
5986 ::RCF::RemoveOut<A12 >::type a12, \
5987 ::RCF::RemoveOut<A13 >::type a13, \
5988 ::RCF::RemoveOut<A14 >::type a14) \
5999 #define RCF_METHOD_V14_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
6000 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))
6002 #define RCF_METHOD_V14_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
6004 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
6005 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6006 ::RCF::FutureImpl<V> func( \
6007 ::RCF::RemoveOut<A1 >::type a1, \
6008 ::RCF::RemoveOut<A2 >::type a2, \
6009 ::RCF::RemoveOut<A3 >::type a3, \
6010 ::RCF::RemoveOut<A4 >::type a4, \
6011 ::RCF::RemoveOut<A5 >::type a5, \
6012 ::RCF::RemoveOut<A6 >::type a6, \
6013 ::RCF::RemoveOut<A7 >::type a7, \
6014 ::RCF::RemoveOut<A8 >::type a8, \
6015 ::RCF::RemoveOut<A9 >::type a9, \
6016 ::RCF::RemoveOut<A10 >::type a10, \
6017 ::RCF::RemoveOut<A11 >::type a11, \
6018 ::RCF::RemoveOut<A12 >::type a12, \
6019 ::RCF::RemoveOut<A13 >::type a13, \
6020 ::RCF::RemoveOut<A14 >::type a14) \
6023 ::RCF::CallOptions() , \
6024 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
6026 ::RCF::FutureImpl<V> func( \
6027 const ::RCF::CallOptions &callOptions , \
6028 ::RCF::RemoveOut<A1 >::type a1, \
6029 ::RCF::RemoveOut<A2 >::type a2, \
6030 ::RCF::RemoveOut<A3 >::type a3, \
6031 ::RCF::RemoveOut<A4 >::type a4, \
6032 ::RCF::RemoveOut<A5 >::type a5, \
6033 ::RCF::RemoveOut<A6 >::type a6, \
6034 ::RCF::RemoveOut<A7 >::type a7, \
6035 ::RCF::RemoveOut<A8 >::type a8, \
6036 ::RCF::RemoveOut<A9 >::type a9, \
6037 ::RCF::RemoveOut<A10 >::type a10, \
6038 ::RCF::RemoveOut<A11 >::type a11, \
6039 ::RCF::RemoveOut<A12 >::type a12, \
6040 ::RCF::RemoveOut<A13 >::type a13, \
6041 ::RCF::RemoveOut<A14 >::type a14) \
6043 getClientStub().setAsync(false); \
6044 return RCF::FutureImpl<V>( \
6045 ::RCF::AllocateClientParameters< \
6047 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
6050 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
6055 callOptions.apply(getClientStub()), \
6059 const char * getFunctionName(const id &) \
6063 const char * getArity(const id &) \
6069 template<typename T> \
6072 ::RCF::RcfSession &session, \
6075 ::RCF::ServerParameters< \
6077 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
6078 ::RCF::AllocateServerParameters< \
6080 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
6081 RCF_UNUSED_VARIABLE(p); \
6100 #define RCF_METHOD_V14_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
6101 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))
6103 #define RCF_METHOD_V14_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, id)\
6105 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
6106 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6107 ::RCF::FutureImpl<V> func( \
6108 ::RCF::RemoveOut<A1 >::type a1, \
6109 ::RCF::RemoveOut<A2 >::type a2, \
6110 ::RCF::RemoveOut<A3 >::type a3, \
6111 ::RCF::RemoveOut<A4 >::type a4, \
6112 ::RCF::RemoveOut<A5 >::type a5, \
6113 ::RCF::RemoveOut<A6 >::type a6, \
6114 ::RCF::RemoveOut<A7 >::type a7, \
6115 ::RCF::RemoveOut<A8 >::type a8, \
6116 ::RCF::RemoveOut<A9 >::type a9, \
6117 ::RCF::RemoveOut<A10 >::type a10, \
6118 ::RCF::RemoveOut<A11 >::type a11, \
6119 ::RCF::RemoveOut<A12 >::type a12, \
6120 ::RCF::RemoveOut<A13 >::type a13, \
6121 ::RCF::RemoveOut<A14 >::type a14) \
6124 ::RCF::CallOptions() , \
6125 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); \
6128 ::RCF::FutureImpl<V> func( \
6129 const ::RCF::CallOptions &callOptions , \
6130 ::RCF::RemoveOut<A1 >::type a1, \
6131 ::RCF::RemoveOut<A2 >::type a2, \
6132 ::RCF::RemoveOut<A3 >::type a3, \
6133 ::RCF::RemoveOut<A4 >::type a4, \
6134 ::RCF::RemoveOut<A5 >::type a5, \
6135 ::RCF::RemoveOut<A6 >::type a6, \
6136 ::RCF::RemoveOut<A7 >::type a7, \
6137 ::RCF::RemoveOut<A8 >::type a8, \
6138 ::RCF::RemoveOut<A9 >::type a9, \
6139 ::RCF::RemoveOut<A10 >::type a10, \
6140 ::RCF::RemoveOut<A11 >::type a11, \
6141 ::RCF::RemoveOut<A12 >::type a12, \
6142 ::RCF::RemoveOut<A13 >::type a13, \
6143 ::RCF::RemoveOut<A14 >::type a14); \
6145 void error__method_defined_out_of_order__##func( \
6147 ::RCF::RemoveOut<A1 >::type a1, \
6148 ::RCF::RemoveOut<A2 >::type a2, \
6149 ::RCF::RemoveOut<A3 >::type a3, \
6150 ::RCF::RemoveOut<A4 >::type a4, \
6151 ::RCF::RemoveOut<A5 >::type a5, \
6152 ::RCF::RemoveOut<A6 >::type a6, \
6153 ::RCF::RemoveOut<A7 >::type a7, \
6154 ::RCF::RemoveOut<A8 >::type a8, \
6155 ::RCF::RemoveOut<A9 >::type a9, \
6156 ::RCF::RemoveOut<A10 >::type a10, \
6157 ::RCF::RemoveOut<A11 >::type a11, \
6158 ::RCF::RemoveOut<A12 >::type a12, \
6159 ::RCF::RemoveOut<A13 >::type a13, \
6160 ::RCF::RemoveOut<A14 >::type a14); \
6162 const char * getFunctionName(const id &) \
6166 const char * getArity(const id &) \
6172 template<typename T> \
6175 ::RCF::RcfSession &session, \
6178 ::RCF::ServerParameters< \
6180 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 > &p = \
6181 ::RCF::AllocateServerParameters< \
6183 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 >()(session);\
6184 RCF_UNUSED_VARIABLE(p); \
6203 #define RCF_METHOD_V14_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)\
6204 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__))
6206 #define RCF_METHOD_V14_DEF_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, interfaceId, funcId, genParms)\
6207 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
6208 typedef GeneratorParms<interfaceId> genParms; \
6209 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
6210 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
6211 const ::RCF::CallOptions &callOptions , \
6212 ::RCF::RemoveOut<A1 >::type a1, \
6213 ::RCF::RemoveOut<A2 >::type a2, \
6214 ::RCF::RemoveOut<A3 >::type a3, \
6215 ::RCF::RemoveOut<A4 >::type a4, \
6216 ::RCF::RemoveOut<A5 >::type a5, \
6217 ::RCF::RemoveOut<A6 >::type a6, \
6218 ::RCF::RemoveOut<A7 >::type a7, \
6219 ::RCF::RemoveOut<A8 >::type a8, \
6220 ::RCF::RemoveOut<A9 >::type a9, \
6221 ::RCF::RemoveOut<A10 >::type a10, \
6222 ::RCF::RemoveOut<A11 >::type a11, \
6223 ::RCF::RemoveOut<A12 >::type a12, \
6224 ::RCF::RemoveOut<A13 >::type a13, \
6225 ::RCF::RemoveOut<A14 >::type a14) \
6227 typedef ::RCF::Void V; \
6228 getClientStub().setAsync(false); \
6229 return RCF::FutureImpl<V >( \
6230 ::RCF::AllocateClientParameters< \
6232 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 , \
6235 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14 , \
6240 callOptions.apply(getClientStub()), \
6244 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
6246 ::RCF::RemoveOut<A1 >::type a1, \
6247 ::RCF::RemoveOut<A2 >::type a2, \
6248 ::RCF::RemoveOut<A3 >::type a3, \
6249 ::RCF::RemoveOut<A4 >::type a4, \
6250 ::RCF::RemoveOut<A5 >::type a5, \
6251 ::RCF::RemoveOut<A6 >::type a6, \
6252 ::RCF::RemoveOut<A7 >::type a7, \
6253 ::RCF::RemoveOut<A8 >::type a8, \
6254 ::RCF::RemoveOut<A9 >::type a9, \
6255 ::RCF::RemoveOut<A10 >::type a10, \
6256 ::RCF::RemoveOut<A11 >::type a11, \
6257 ::RCF::RemoveOut<A12 >::type a12, \
6258 ::RCF::RemoveOut<A13 >::type a13, \
6259 ::RCF::RemoveOut<A14 >::type a14) \
6271 #define RCF_METHOD_R15_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
6272 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))
6274 #define RCF_METHOD_R15_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
6276 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6277 ::RCF::FutureImpl<R > func( \
6278 ::RCF::RemoveOut<A1 >::type a1, \
6279 ::RCF::RemoveOut<A2 >::type a2, \
6280 ::RCF::RemoveOut<A3 >::type a3, \
6281 ::RCF::RemoveOut<A4 >::type a4, \
6282 ::RCF::RemoveOut<A5 >::type a5, \
6283 ::RCF::RemoveOut<A6 >::type a6, \
6284 ::RCF::RemoveOut<A7 >::type a7, \
6285 ::RCF::RemoveOut<A8 >::type a8, \
6286 ::RCF::RemoveOut<A9 >::type a9, \
6287 ::RCF::RemoveOut<A10 >::type a10, \
6288 ::RCF::RemoveOut<A11 >::type a11, \
6289 ::RCF::RemoveOut<A12 >::type a12, \
6290 ::RCF::RemoveOut<A13 >::type a13, \
6291 ::RCF::RemoveOut<A14 >::type a14, \
6292 ::RCF::RemoveOut<A15 >::type a15) \
6295 ::RCF::CallOptions() , \
6296 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
6298 ::RCF::FutureImpl<R > func( \
6299 const ::RCF::CallOptions &callOptions , \
6300 ::RCF::RemoveOut<A1 >::type a1, \
6301 ::RCF::RemoveOut<A2 >::type a2, \
6302 ::RCF::RemoveOut<A3 >::type a3, \
6303 ::RCF::RemoveOut<A4 >::type a4, \
6304 ::RCF::RemoveOut<A5 >::type a5, \
6305 ::RCF::RemoveOut<A6 >::type a6, \
6306 ::RCF::RemoveOut<A7 >::type a7, \
6307 ::RCF::RemoveOut<A8 >::type a8, \
6308 ::RCF::RemoveOut<A9 >::type a9, \
6309 ::RCF::RemoveOut<A10 >::type a10, \
6310 ::RCF::RemoveOut<A11 >::type a11, \
6311 ::RCF::RemoveOut<A12 >::type a12, \
6312 ::RCF::RemoveOut<A13 >::type a13, \
6313 ::RCF::RemoveOut<A14 >::type a14, \
6314 ::RCF::RemoveOut<A15 >::type a15) \
6316 getClientStub().setAsync(false); \
6317 return RCF::FutureImpl<R >( \
6318 ::RCF::AllocateClientParameters< \
6320 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
6323 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
6328 callOptions.apply(getClientStub()), \
6332 const char * getFunctionName(const id &) \
6336 const char * getArity(const id &) \
6342 template<typename T> \
6345 ::RCF::RcfSession &session, \
6348 ::RCF::ServerParameters< \
6350 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = \
6351 ::RCF::AllocateServerParameters< \
6353 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
6355 session.getAutoSend(), \
6375 #define RCF_METHOD_R15_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
6376 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))
6378 #define RCF_METHOD_R15_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
6380 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6381 ::RCF::FutureImpl<R > func( \
6382 ::RCF::RemoveOut<A1 >::type a1, \
6383 ::RCF::RemoveOut<A2 >::type a2, \
6384 ::RCF::RemoveOut<A3 >::type a3, \
6385 ::RCF::RemoveOut<A4 >::type a4, \
6386 ::RCF::RemoveOut<A5 >::type a5, \
6387 ::RCF::RemoveOut<A6 >::type a6, \
6388 ::RCF::RemoveOut<A7 >::type a7, \
6389 ::RCF::RemoveOut<A8 >::type a8, \
6390 ::RCF::RemoveOut<A9 >::type a9, \
6391 ::RCF::RemoveOut<A10 >::type a10, \
6392 ::RCF::RemoveOut<A11 >::type a11, \
6393 ::RCF::RemoveOut<A12 >::type a12, \
6394 ::RCF::RemoveOut<A13 >::type a13, \
6395 ::RCF::RemoveOut<A14 >::type a14, \
6396 ::RCF::RemoveOut<A15 >::type a15) \
6399 ::RCF::CallOptions() , \
6400 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
6403 ::RCF::FutureImpl<R > func( \
6404 const ::RCF::CallOptions &callOptions , \
6405 ::RCF::RemoveOut<A1 >::type a1, \
6406 ::RCF::RemoveOut<A2 >::type a2, \
6407 ::RCF::RemoveOut<A3 >::type a3, \
6408 ::RCF::RemoveOut<A4 >::type a4, \
6409 ::RCF::RemoveOut<A5 >::type a5, \
6410 ::RCF::RemoveOut<A6 >::type a6, \
6411 ::RCF::RemoveOut<A7 >::type a7, \
6412 ::RCF::RemoveOut<A8 >::type a8, \
6413 ::RCF::RemoveOut<A9 >::type a9, \
6414 ::RCF::RemoveOut<A10 >::type a10, \
6415 ::RCF::RemoveOut<A11 >::type a11, \
6416 ::RCF::RemoveOut<A12 >::type a12, \
6417 ::RCF::RemoveOut<A13 >::type a13, \
6418 ::RCF::RemoveOut<A14 >::type a14, \
6419 ::RCF::RemoveOut<A15 >::type a15); \
6421 void error__method_defined_out_of_order__##func( \
6423 ::RCF::RemoveOut<A1 >::type a1, \
6424 ::RCF::RemoveOut<A2 >::type a2, \
6425 ::RCF::RemoveOut<A3 >::type a3, \
6426 ::RCF::RemoveOut<A4 >::type a4, \
6427 ::RCF::RemoveOut<A5 >::type a5, \
6428 ::RCF::RemoveOut<A6 >::type a6, \
6429 ::RCF::RemoveOut<A7 >::type a7, \
6430 ::RCF::RemoveOut<A8 >::type a8, \
6431 ::RCF::RemoveOut<A9 >::type a9, \
6432 ::RCF::RemoveOut<A10 >::type a10, \
6433 ::RCF::RemoveOut<A11 >::type a11, \
6434 ::RCF::RemoveOut<A12 >::type a12, \
6435 ::RCF::RemoveOut<A13 >::type a13, \
6436 ::RCF::RemoveOut<A14 >::type a14, \
6437 ::RCF::RemoveOut<A15 >::type a15); \
6439 const char * getFunctionName(const id &) \
6443 const char * getArity(const id &) \
6449 template<typename T> \
6452 ::RCF::RcfSession &session, \
6455 ::RCF::ServerParameters< \
6457 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = \
6458 ::RCF::AllocateServerParameters< \
6460 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
6462 session.getAutoSend(), \
6482 #define RCF_METHOD_R15_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
6483 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__))
6485 #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)\
6486 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
6487 typedef GeneratorParms<interfaceId> genParms; \
6488 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
6489 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<R > genParms::RcfClientT::func( \
6490 const ::RCF::CallOptions &callOptions , \
6491 ::RCF::RemoveOut<A1 >::type a1, \
6492 ::RCF::RemoveOut<A2 >::type a2, \
6493 ::RCF::RemoveOut<A3 >::type a3, \
6494 ::RCF::RemoveOut<A4 >::type a4, \
6495 ::RCF::RemoveOut<A5 >::type a5, \
6496 ::RCF::RemoveOut<A6 >::type a6, \
6497 ::RCF::RemoveOut<A7 >::type a7, \
6498 ::RCF::RemoveOut<A8 >::type a8, \
6499 ::RCF::RemoveOut<A9 >::type a9, \
6500 ::RCF::RemoveOut<A10 >::type a10, \
6501 ::RCF::RemoveOut<A11 >::type a11, \
6502 ::RCF::RemoveOut<A12 >::type a12, \
6503 ::RCF::RemoveOut<A13 >::type a13, \
6504 ::RCF::RemoveOut<A14 >::type a14, \
6505 ::RCF::RemoveOut<A15 >::type a15) \
6507 getClientStub().setAsync(false); \
6508 return RCF::FutureImpl<R >( \
6509 ::RCF::AllocateClientParameters< \
6511 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
6514 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
6519 callOptions.apply(getClientStub()), \
6523 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
6525 ::RCF::RemoveOut<A1 >::type a1, \
6526 ::RCF::RemoveOut<A2 >::type a2, \
6527 ::RCF::RemoveOut<A3 >::type a3, \
6528 ::RCF::RemoveOut<A4 >::type a4, \
6529 ::RCF::RemoveOut<A5 >::type a5, \
6530 ::RCF::RemoveOut<A6 >::type a6, \
6531 ::RCF::RemoveOut<A7 >::type a7, \
6532 ::RCF::RemoveOut<A8 >::type a8, \
6533 ::RCF::RemoveOut<A9 >::type a9, \
6534 ::RCF::RemoveOut<A10 >::type a10, \
6535 ::RCF::RemoveOut<A11 >::type a11, \
6536 ::RCF::RemoveOut<A12 >::type a12, \
6537 ::RCF::RemoveOut<A13 >::type a13, \
6538 ::RCF::RemoveOut<A14 >::type a14, \
6539 ::RCF::RemoveOut<A15 >::type a15) \
6550 #define RCF_METHOD_V15_INLINE(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
6551 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))
6553 #define RCF_METHOD_V15_INLINE_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
6555 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
6556 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6557 ::RCF::FutureImpl<V> func( \
6558 ::RCF::RemoveOut<A1 >::type a1, \
6559 ::RCF::RemoveOut<A2 >::type a2, \
6560 ::RCF::RemoveOut<A3 >::type a3, \
6561 ::RCF::RemoveOut<A4 >::type a4, \
6562 ::RCF::RemoveOut<A5 >::type a5, \
6563 ::RCF::RemoveOut<A6 >::type a6, \
6564 ::RCF::RemoveOut<A7 >::type a7, \
6565 ::RCF::RemoveOut<A8 >::type a8, \
6566 ::RCF::RemoveOut<A9 >::type a9, \
6567 ::RCF::RemoveOut<A10 >::type a10, \
6568 ::RCF::RemoveOut<A11 >::type a11, \
6569 ::RCF::RemoveOut<A12 >::type a12, \
6570 ::RCF::RemoveOut<A13 >::type a13, \
6571 ::RCF::RemoveOut<A14 >::type a14, \
6572 ::RCF::RemoveOut<A15 >::type a15) \
6575 ::RCF::CallOptions() , \
6576 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
6578 ::RCF::FutureImpl<V> func( \
6579 const ::RCF::CallOptions &callOptions , \
6580 ::RCF::RemoveOut<A1 >::type a1, \
6581 ::RCF::RemoveOut<A2 >::type a2, \
6582 ::RCF::RemoveOut<A3 >::type a3, \
6583 ::RCF::RemoveOut<A4 >::type a4, \
6584 ::RCF::RemoveOut<A5 >::type a5, \
6585 ::RCF::RemoveOut<A6 >::type a6, \
6586 ::RCF::RemoveOut<A7 >::type a7, \
6587 ::RCF::RemoveOut<A8 >::type a8, \
6588 ::RCF::RemoveOut<A9 >::type a9, \
6589 ::RCF::RemoveOut<A10 >::type a10, \
6590 ::RCF::RemoveOut<A11 >::type a11, \
6591 ::RCF::RemoveOut<A12 >::type a12, \
6592 ::RCF::RemoveOut<A13 >::type a13, \
6593 ::RCF::RemoveOut<A14 >::type a14, \
6594 ::RCF::RemoveOut<A15 >::type a15) \
6596 getClientStub().setAsync(false); \
6597 return RCF::FutureImpl<V>( \
6598 ::RCF::AllocateClientParameters< \
6600 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
6603 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
6608 callOptions.apply(getClientStub()), \
6612 const char * getFunctionName(const id &) \
6616 const char * getArity(const id &) \
6622 template<typename T> \
6625 ::RCF::RcfSession &session, \
6628 ::RCF::ServerParameters< \
6630 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = \
6631 ::RCF::AllocateServerParameters< \
6633 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
6634 RCF_UNUSED_VARIABLE(p); \
6654 #define RCF_METHOD_V15_DECL(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
6655 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))
6657 #define RCF_METHOD_V15_DECL_(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15, id)\
6659 BOOST_STATIC_ASSERT(( boost::is_same<R, void>::value )); \
6660 RCF_MAKE_NEXT_DISPATCH_ID(id) \
6661 ::RCF::FutureImpl<V> func( \
6662 ::RCF::RemoveOut<A1 >::type a1, \
6663 ::RCF::RemoveOut<A2 >::type a2, \
6664 ::RCF::RemoveOut<A3 >::type a3, \
6665 ::RCF::RemoveOut<A4 >::type a4, \
6666 ::RCF::RemoveOut<A5 >::type a5, \
6667 ::RCF::RemoveOut<A6 >::type a6, \
6668 ::RCF::RemoveOut<A7 >::type a7, \
6669 ::RCF::RemoveOut<A8 >::type a8, \
6670 ::RCF::RemoveOut<A9 >::type a9, \
6671 ::RCF::RemoveOut<A10 >::type a10, \
6672 ::RCF::RemoveOut<A11 >::type a11, \
6673 ::RCF::RemoveOut<A12 >::type a12, \
6674 ::RCF::RemoveOut<A13 >::type a13, \
6675 ::RCF::RemoveOut<A14 >::type a14, \
6676 ::RCF::RemoveOut<A15 >::type a15) \
6679 ::RCF::CallOptions() , \
6680 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); \
6683 ::RCF::FutureImpl<V> func( \
6684 const ::RCF::CallOptions &callOptions , \
6685 ::RCF::RemoveOut<A1 >::type a1, \
6686 ::RCF::RemoveOut<A2 >::type a2, \
6687 ::RCF::RemoveOut<A3 >::type a3, \
6688 ::RCF::RemoveOut<A4 >::type a4, \
6689 ::RCF::RemoveOut<A5 >::type a5, \
6690 ::RCF::RemoveOut<A6 >::type a6, \
6691 ::RCF::RemoveOut<A7 >::type a7, \
6692 ::RCF::RemoveOut<A8 >::type a8, \
6693 ::RCF::RemoveOut<A9 >::type a9, \
6694 ::RCF::RemoveOut<A10 >::type a10, \
6695 ::RCF::RemoveOut<A11 >::type a11, \
6696 ::RCF::RemoveOut<A12 >::type a12, \
6697 ::RCF::RemoveOut<A13 >::type a13, \
6698 ::RCF::RemoveOut<A14 >::type a14, \
6699 ::RCF::RemoveOut<A15 >::type a15); \
6701 void error__method_defined_out_of_order__##func( \
6703 ::RCF::RemoveOut<A1 >::type a1, \
6704 ::RCF::RemoveOut<A2 >::type a2, \
6705 ::RCF::RemoveOut<A3 >::type a3, \
6706 ::RCF::RemoveOut<A4 >::type a4, \
6707 ::RCF::RemoveOut<A5 >::type a5, \
6708 ::RCF::RemoveOut<A6 >::type a6, \
6709 ::RCF::RemoveOut<A7 >::type a7, \
6710 ::RCF::RemoveOut<A8 >::type a8, \
6711 ::RCF::RemoveOut<A9 >::type a9, \
6712 ::RCF::RemoveOut<A10 >::type a10, \
6713 ::RCF::RemoveOut<A11 >::type a11, \
6714 ::RCF::RemoveOut<A12 >::type a12, \
6715 ::RCF::RemoveOut<A13 >::type a13, \
6716 ::RCF::RemoveOut<A14 >::type a14, \
6717 ::RCF::RemoveOut<A15 >::type a15); \
6719 const char * getFunctionName(const id &) \
6723 const char * getArity(const id &) \
6729 template<typename T> \
6732 ::RCF::RcfSession &session, \
6735 ::RCF::ServerParameters< \
6737 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 > &p = \
6738 ::RCF::AllocateServerParameters< \
6740 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 >()(session);\
6741 RCF_UNUSED_VARIABLE(p); \
6761 #define RCF_METHOD_V15_DEF(R,func , A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)\
6762 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__))
6764 #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)\
6765 RCF_CURRENT_STATIC_ID(interfaceId, RCF_interface_id_helper, int, int) \
6766 typedef GeneratorParms<interfaceId> genParms; \
6767 RCF_ADVANCE_STATIC_ID(funcId, RCF_def_dispatch_id_helper, ::RCF::Dummy<genParms::RcfClientT>, genParms::RcfClientT, static)\
6768 RCF_EXPORT_INTERFACE ::RCF::FutureImpl<::RCF::Void> genParms::RcfClientT::func(\
6769 const ::RCF::CallOptions &callOptions , \
6770 ::RCF::RemoveOut<A1 >::type a1, \
6771 ::RCF::RemoveOut<A2 >::type a2, \
6772 ::RCF::RemoveOut<A3 >::type a3, \
6773 ::RCF::RemoveOut<A4 >::type a4, \
6774 ::RCF::RemoveOut<A5 >::type a5, \
6775 ::RCF::RemoveOut<A6 >::type a6, \
6776 ::RCF::RemoveOut<A7 >::type a7, \
6777 ::RCF::RemoveOut<A8 >::type a8, \
6778 ::RCF::RemoveOut<A9 >::type a9, \
6779 ::RCF::RemoveOut<A10 >::type a10, \
6780 ::RCF::RemoveOut<A11 >::type a11, \
6781 ::RCF::RemoveOut<A12 >::type a12, \
6782 ::RCF::RemoveOut<A13 >::type a13, \
6783 ::RCF::RemoveOut<A14 >::type a14, \
6784 ::RCF::RemoveOut<A15 >::type a15) \
6786 typedef ::RCF::Void V; \
6787 getClientStub().setAsync(false); \
6788 return RCF::FutureImpl<V >( \
6789 ::RCF::AllocateClientParameters< \
6791 A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15 \
6794 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15 \
6799 callOptions.apply(getClientStub()), \
6803 void genParms::RcfClientT::error__method_defined_out_of_order__##func( \
6805 ::RCF::RemoveOut<A1 >::type a1, \
6806 ::RCF::RemoveOut<A2 >::type a2, \
6807 ::RCF::RemoveOut<A3 >::type a3, \
6808 ::RCF::RemoveOut<A4 >::type a4, \
6809 ::RCF::RemoveOut<A5 >::type a5, \
6810 ::RCF::RemoveOut<A6 >::type a6, \
6811 ::RCF::RemoveOut<A7 >::type a7, \
6812 ::RCF::RemoveOut<A8 >::type a8, \
6813 ::RCF::RemoveOut<A9 >::type a9, \
6814 ::RCF::RemoveOut<A10 >::type a10, \
6815 ::RCF::RemoveOut<A11 >::type a11, \
6816 ::RCF::RemoveOut<A12 >::type a12, \
6817 ::RCF::RemoveOut<A13 >::type a13, \
6818 ::RCF::RemoveOut<A14 >::type a14, \
6819 ::RCF::RemoveOut<A15 >::type a15) \
6823 #endif // ! INCLUDE_RCF_RCFMETHODGEN_HPP