S3FC project page S3FC home page

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

s3_rpc_caller_m_v_t2 Struct Template Reference

s3_rpc_caller_m that invokes a non-const method returning void and taking two arguments, i.e. More...

#include <s3_rpc.h>

Inheritance diagram for s3_rpc_caller_m_v_t2:

Inheritance graph
[legend]
Collaboration diagram for s3_rpc_caller_m_v_t2:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(T_obj::* methodptr_t )(const T_arg1 &, const T_arg2 &)

Public Methods

 s3_rpc_caller_m_v_t2 (methodptr_t n_method)
virtual void call (T_obj *obj, const std::vector< std::string > &args)
 Invoke the bound method of the T_obj instance obj. More...

virtual unsigned int get_num_params ()
 Return the number of parameters that the method that is invoked by call requires. More...


Protected Attributes

methodptr_t method

Detailed Description

template<typename T_obj, typename T_arg1, typename T_arg2>
struct s3_rpc_caller_m_v_t2< T_obj, T_arg1, T_arg2 >

s3_rpc_caller_m that invokes a non-const method returning void and taking two arguments, i.e.

void T_obj::method(const T_arg1&, const T_arg2&).

Definition at line 193 of file s3_rpc.h.


Member Typedef Documentation

template<typename T_obj, typename T_arg1, typename T_arg2>
typedef void(T_obj::* s3_rpc_caller_m_v_t2::methodptr_t)(const T_arg1&, const T_arg2&)
 

Definition at line 197 of file s3_rpc.h.


Constructor & Destructor Documentation

template<typename T_obj, typename T_arg1, typename T_arg2>
s3_rpc_caller_m_v_t2< T_obj, T_arg1, T_arg2 >::s3_rpc_caller_m_v_t2 methodptr_t    n_method
 

Definition at line 119 of file s3_rpc.tcc.


Member Function Documentation

template<typename T_obj, typename T_arg1, typename T_arg2>
void s3_rpc_caller_m_v_t2< T_obj, T_arg1, T_arg2 >::call T_obj *    obj,
const std::vector< std::string > &    args
[virtual]
 

Invoke the bound method of the T_obj instance obj.

Implements s3_rpc_caller_m.

Definition at line 127 of file s3_rpc.tcc.

References s3_rpc_caller_m::err_invalid_args, and method.

template<typename T_obj, typename T_arg1, typename T_arg2>
unsigned int s3_rpc_caller_m_v_t2< T_obj, T_arg1, T_arg2 >::get_num_params   [virtual]
 

Return the number of parameters that the method that is invoked by call requires.

Implements s3_rpc_caller_m.

Definition at line 143 of file s3_rpc.tcc.


Member Data Documentation

template<typename T_obj, typename T_arg1, typename T_arg2>
methodptr_t s3_rpc_caller_m_v_t2::method [protected]
 

Definition at line 200 of file s3_rpc.h.

Referenced by call.


The documentation for this struct was generated from the following files:
Send comments to: s3fc@stonethree.com SourceForge Logo