47 #ifndef _MIRA_RPCSIGNATURE_H_ 48 #define _MIRA_RPCSIGNATURE_H_ 53 #include <serialization/adapters/std/vector> 108 for(RPCSignature::ParameterTypes::const_iterator i=v.
parameterTypes.begin();
121 template <
typename Reflector>
124 r.member(
"Name",
name,
"Method name");
125 r.member(
"ReturnType",
returnType,
"Type of return value");
126 r.member(
"ParameterTypes",
parameterTypes,
"Vector with types of parameters");
140 template <
typename R,
typename... ARGS>
RPCSignature()
Definition: RPCSignature.h:69
ReturnType returnType
The return type of the method.
Definition: RPCSignature.h:133
bool operator==(const RPCSignature &rhs) const
Definition: RPCSignature.h:97
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
RPCSignature(const std::string &iName)
Definition: RPCSignature.h:70
RPCSignature makeRPCSignature(std::string name)
Definition: RPCSignature.h:141
Get compiler and platform independent typenames.
bool operator<(const RPCSignature &rhs) const
Definition: RPCSignature.h:73
std::string ReturnType
Definition: RPCSignature.h:66
void reflect(Reflector &r)
Definition: RPCSignature.h:122
PropertyHint type(const std::string &t)
Sets the attribute "type" to the specified value.
Definition: PropertyHint.h:295
std::string name
The method's name.
Definition: RPCSignature.h:130
friend std::ostream & operator<<(std::ostream &s, const RPCSignature &v)
Definition: RPCSignature.h:104
std::vector< std::string > ParameterTypes
Definition: RPCSignature.h:67
Stores the signature of an RPC method including the methods name and its parameter types...
Definition: RPCSignature.h:64
RPCSignature(std::string &&iName)
Definition: RPCSignature.h:71
ParameterTypes parameterTypes
Vector of the type of each parameter.
Definition: RPCSignature.h:136