#include <object.h>
Public Types | |
typedef Signature * | function_pointer |
typedef boost::function < Signature > | function_type |
typedef boost::remove_pointer < typename boost::function_traits < Signature >::arg1_type > ::type | object_type |
Public Member Functions | |
MexFunctor (const function_type &func) | |
MexFunctor (function_pointer func) | |
void | operator() (object_type *obj, int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
Private Attributes | |
boost::function< Signature > | target_ |
typedef Signature* rosmatlab::internal::MexFunctor< Signature >::function_pointer |
typedef boost::function<Signature> rosmatlab::internal::MexFunctor< Signature >::function_type |
typedef boost::remove_pointer<typename boost::function_traits<Signature>::arg1_type>::type rosmatlab::internal::MexFunctor< Signature >::object_type |
rosmatlab::internal::MexFunctor< Signature >::MexFunctor | ( | const function_type & | func | ) | [inline] |
rosmatlab::internal::MexFunctor< Signature >::MexFunctor | ( | function_pointer | func | ) | [inline] |
void rosmatlab::internal::MexFunctor< Signature >::operator() | ( | object_type * | obj, |
int | nlhs, | ||
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | prhs[] | ||
) | [inline] |
boost::function<Signature> rosmatlab::internal::MexFunctor< Signature >::target_ [private] |