|
Rcpp Version 1.1.2
|
#include <InternalFunctionWithStdFunction.h>


Public Member Functions | |
| CppFunctionBaseFromStdFunction (const std::function< RESULT_TYPE(Args...)> &fun) | |
| virtual | ~CppFunctionBaseFromStdFunction () |
| SEXP | operator() (SEXP *args) |
| Public Member Functions inherited from Rcpp::CppFunctionBase | |
| CppFunctionBase () | |
| virtual | ~CppFunctionBase () |
Private Attributes | |
| const std::function< RESULT_TYPE(Args...)> | fun |
Definition at line 33 of file InternalFunctionWithStdFunction.h.
|
inline |
Definition at line 35 of file InternalFunctionWithStdFunction.h.
References fun.
|
inlinevirtual |
Definition at line 36 of file InternalFunctionWithStdFunction.h.
|
inlinevirtual |
modules call the function with this interface. input: an array of SEXP output: a SEXP.
Reimplemented from Rcpp::CppFunctionBase.
Definition at line 38 of file InternalFunctionWithStdFunction.h.
References BEGIN_RCPP, END_RCPP, and fun.
|
private |
Definition at line 45 of file InternalFunctionWithStdFunction.h.
Referenced by CppFunctionBaseFromStdFunction(), and operator()().