47 #ifndef _MIRA_RPCCALLDEFINITION_H_ 48 #define _MIRA_RPCCALLDEFINITION_H_ 52 #include <serialization/adapters/std/vector> 66 const std::string& iParams =
"")
73 template <
typename Reflector>
76 r.member(
"Service",
service,
"Service name");
77 r.member(
"Method",
method,
"Method name");
78 r.member(
"Params",
params,
"Parameter list as JSON array",
"");
std::vector< RPCCallDefinition > RPCCallDefinitions
Definition: RPCCallDefinition.h:91
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
std::string method
The method's name.
Definition: RPCCallDefinition.h:85
RPCCallDefinition(const std::string &iService, const std::string &iMethod, const std::string &iParams="")
Definition: RPCCallDefinition.h:65
std::string params
The parameters as JSON array (note: without enclosing [])
Definition: RPCCallDefinition.h:88
void reflect(Reflector &r)
Definition: RPCCallDefinition.h:74
RPCCallDefinition()
Definition: RPCCallDefinition.h:64
std::string service
The service's name.
Definition: RPCCallDefinition.h:82
Stores info required to call an RPC method - service name, method name, arguments.
Definition: RPCCallDefinition.h:62