47 #ifndef _MIRA_RPCSIGNATURE_H_ 48 #define _MIRA_RPCSIGNATURE_H_ 53 #include <boost/preprocessor/repetition.hpp> 57 #include <serialization/adapters/std/vector> 112 for(RPCSignature::ParameterTypes::const_iterator i=v.
parameterTypes.begin();
125 template <
typename Reflector>
128 r.member(
"Name",
name,
"Method name");
129 r.member(
"ReturnType",
returnType,
"Type of return value");
130 r.member(
"ParameterTypes",
parameterTypes,
"Vector with types of parameters");
144 template <
typename R,
typename... ARGS>
RPCSignature()
Definition: RPCSignature.h:73
ReturnType returnType
The return type of the method.
Definition: RPCSignature.h:137
bool operator==(const RPCSignature &rhs) const
Definition: RPCSignature.h:101
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
RPCSignature(const std::string &iName)
Definition: RPCSignature.h:74
RPCSignature makeRPCSignature(std::string name)
Definition: RPCSignature.h:145
Get compiler and platform independent typenames.
bool operator<(const RPCSignature &rhs) const
Definition: RPCSignature.h:77
std::string ReturnType
Definition: RPCSignature.h:70
void reflect(Reflector &r)
Definition: RPCSignature.h:126
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:134
friend std::ostream & operator<<(std::ostream &s, const RPCSignature &v)
Definition: RPCSignature.h:108
std::vector< std::string > ParameterTypes
Definition: RPCSignature.h:71
Stores the signature of an RPC method including the methods name and its parameter types...
Definition: RPCSignature.h:68
RPCSignature(std::string &&iName)
Definition: RPCSignature.h:75
ParameterTypes parameterTypes
Vector of the type of each parameter.
Definition: RPCSignature.h:140