Rcpp Version 1.0.14
|
#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 39 of file InternalFunctionWithStdFunction.h.
|
inline |
Definition at line 41 of file InternalFunctionWithStdFunction.h.
|
inlinevirtual |
Definition at line 42 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 44 of file InternalFunctionWithStdFunction.h.
References Rcpp::as(), BEGIN_RCPP, END_RCPP, and Rcpp::InternalFunctionWithStdFunction::CppFunctionBaseFromStdFunction< RESULT_TYPE, Args >::fun.
|
private |
Definition at line 51 of file InternalFunctionWithStdFunction.h.
Referenced by Rcpp::InternalFunctionWithStdFunction::CppFunctionBaseFromStdFunction< RESULT_TYPE, Args >::operator()().