9template <
typename POSTING_OBJECT,
typename POSTING_METHOD,
typename OBJECT_POINTER,
typename OBJECT_METHOD >
10bool __matter_get_posted_payload_synchronously(
matter * phandler, POSTING_OBJECT pposting, POSTING_METHOD posting_method, OBJECT_POINTER preturning, OBJECT_METHOD returning_method,
::payload &
payload,
const class time & timeWait)
13 if(pposting->is_branch_current())
16 payload = (preturning->*returning_method)();
22 auto posting = [pposting, posting_method](const ::procedure & procedure)
25 (pposting->*posting_method)(procedure);
29 ::function < void(const ::procedure &) > functionPost(posting);
34 return (preturning->*returning_method)();
38 functionReturn.set_timeout(timeWait);
40 return phandler->__get_posted_payload_synchronously(functionPost, functionReturn,
payload);
45template <
typename POSTING_OBJECT >
46void __matter_send_procedure(
matter * phandler, POSTING_OBJECT pposting,
void(non_pointer <POSTING_OBJECT>:: *posting_method)(const ::procedure &), const ::procedure & procedure)
49 if(pposting->is_branch_current())
56 auto posting = [pposting, posting_method](const ::procedure & procedure)
59 (pposting->*posting_method)(procedure);
63 phandler->__send_procedure(posting, procedure);
Definition _template_forward_declaration.h:297