libhomegear-base
0.7
Base library for Homegear and Homegear family modules.
|
#include <RpcMethod.h>
Classes | |
struct | ParameterError |
Public Member Functions | |
RpcMethod () | |
virtual | ~RpcMethod () |
ParameterError::Enum | checkParameters (std::shared_ptr< std::vector< PVariable >> parameters, std::vector< VariableType > types) |
ParameterError::Enum | checkParameters (std::shared_ptr< std::vector< PVariable >> parameters, std::vector< std::vector< VariableType >> types) |
virtual PVariable | invoke (PRpcClientInfo clientInfo, std::shared_ptr< std::vector< PVariable >> parameters) |
PVariable | getError (ParameterError::Enum error) |
PVariable | getSignature () |
void | addSignature (VariableType returnType, std::vector< VariableType > parameterTypes) |
PVariable | getHelp () |
void | setHelp (std::string help) |
Protected Attributes | |
PVariable | _signatures |
PVariable | _help |
|
inline |
|
inlinevirtual |
void BaseLib::Rpc::RpcMethod::addSignature | ( | VariableType | returnType, |
std::vector< VariableType > | parameterTypes | ||
) |
RpcMethod::ParameterError::Enum BaseLib::Rpc::RpcMethod::checkParameters | ( | std::shared_ptr< std::vector< PVariable >> | parameters, |
std::vector< VariableType > | types | ||
) |
RpcMethod::ParameterError::Enum BaseLib::Rpc::RpcMethod::checkParameters | ( | std::shared_ptr< std::vector< PVariable >> | parameters, |
std::vector< std::vector< VariableType >> | types | ||
) |
PVariable BaseLib::Rpc::RpcMethod::getError | ( | ParameterError::Enum | error | ) |
|
inline |
|
inline |
|
virtual |
void BaseLib::Rpc::RpcMethod::setHelp | ( | std::string | help | ) |
|
protected |
|
protected |