#include <object.h>
Public Member Functions | |
| template<typename Result > | |
| MexMethodMap & | add (const std::string &name, Result(Type::*function)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])) |
| template<typename Result > | |
| MexMethodMap & | add (const std::string &name, Result(Type::*function)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) const) |
| template<typename Result > | |
| MexMethodMap & | add (const std::string &name, Result(Type::*function)(int nrhs, const mxArray *prhs[])) |
| template<typename Result > | |
| MexMethodMap & | add (const std::string &name, Result(Type::*function)(int nrhs, const mxArray *prhs[]) const) |
| template<typename Result > | |
| MexMethodMap & | add (const std::string &name, Result(Type::*function)()) |
| template<typename Result > | |
| MexMethodMap & | add (const std::string &name, Result(Type::*function)() const) |
| bool | call (Type *object, const std::string &name, int &nlhs, mxArray **&plhs, int &nrhs, const mxArray **&prhs) const |
| bool | has (const std::string &name) const |
| bool | initialize () |
| MexMethodMap () | |
| operator void * () const | |
| MexMethodMap & | throwOnUnknown (bool value=true) |
Private Attributes | |
| bool | initialized_ |
| std::map< std::string, boost::function< void(Type *, int, mxArray * | methods_ [], int, const mxArray *[])> > |
| bool | throw_on_unknown_ |
| rosmatlab::MexMethodMap< Type >::MexMethodMap | ( | ) | [inline] |
| MexMethodMap& rosmatlab::MexMethodMap< Type >::add | ( | const std::string & | name, |
| Result(Type::*)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) | function | ||
| ) | [inline] |
| MexMethodMap& rosmatlab::MexMethodMap< Type >::add | ( | const std::string & | name, |
| Result(Type::*)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) const | function | ||
| ) | [inline] |
| MexMethodMap& rosmatlab::MexMethodMap< Type >::add | ( | const std::string & | name, |
| Result(Type::*)(int nrhs, const mxArray *prhs[]) | function | ||
| ) | [inline] |
| MexMethodMap& rosmatlab::MexMethodMap< Type >::add | ( | const std::string & | name, |
| Result(Type::*)(int nrhs, const mxArray *prhs[]) const | function | ||
| ) | [inline] |
| MexMethodMap& rosmatlab::MexMethodMap< Type >::add | ( | const std::string & | name, |
| Result(Type::*)() | function | ||
| ) | [inline] |
| MexMethodMap& rosmatlab::MexMethodMap< Type >::add | ( | const std::string & | name, |
| Result(Type::*)() const | function | ||
| ) | [inline] |
| bool rosmatlab::MexMethodMap< Type >::call | ( | Type * | object, |
| const std::string & | name, | ||
| int & | nlhs, | ||
| mxArray **& | plhs, | ||
| int & | nrhs, | ||
| const mxArray **& | prhs | ||
| ) | const [inline] |
| bool rosmatlab::MexMethodMap< Type >::has | ( | const std::string & | name | ) | const [inline] |
| bool rosmatlab::MexMethodMap< Type >::initialize | ( | ) | [inline] |
| rosmatlab::MexMethodMap< Type >::operator void * | ( | ) | const [inline] |
| MexMethodMap& rosmatlab::MexMethodMap< Type >::throwOnUnknown | ( | bool | value = true | ) | [inline] |
bool rosmatlab::MexMethodMap< Type >::initialized_ [private] |
std::map<std::string,boost::function<void(Type *, int, mxArray * rosmatlab::MexMethodMap< Type >::methods_[], int, const mxArray *[])> > [private] |
bool rosmatlab::MexMethodMap< Type >::throw_on_unknown_ [private] |