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_v Struct Template Reference

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

#include <s3_rpc.h>

Inheritance diagram for s3_rpc_caller_m_v_v:

Inheritance graph
[legend]
Collaboration diagram for s3_rpc_caller_m_v_v:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(T_obj::* methodptr_t )(void)

Public Methods

 s3_rpc_caller_m_v_v (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>
struct s3_rpc_caller_m_v_v< T_obj >

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

void T_obj::method().

Definition at line 146 of file s3_rpc.h.


Member Typedef Documentation

template<typename T_obj>
typedef void(T_obj::* s3_rpc_caller_m_v_v::methodptr_t)(void)
 

Definition at line 150 of file s3_rpc.h.


Constructor & Destructor Documentation

template<typename T_obj>
s3_rpc_caller_m_v_v< T_obj >::s3_rpc_caller_m_v_v methodptr_t    n_method
 

Definition at line 47 of file s3_rpc.tcc.


Member Function Documentation

template<typename T_obj>
void s3_rpc_caller_m_v_v< T_obj >::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 55 of file s3_rpc.tcc.

References s3_rpc_caller_m::err_invalid_args, method, and S3FC_DBG.

template<typename T_obj>
unsigned int s3_rpc_caller_m_v_v< T_obj >::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 82 of file s3_rpc.tcc.


Member Data Documentation

template<typename T_obj>
methodptr_t s3_rpc_caller_m_v_v::method [protected]
 

Definition at line 153 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