Public Member Functions | Private Attributes
rosmatlab::MexMethodMap< Type > Class Template Reference

#include <object.h>

List of all members.

Public Member Functions

template<typename Result >
MexMethodMapadd (const std::string &name, Result(Type::*function)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]))
template<typename Result >
MexMethodMapadd (const std::string &name, Result(Type::*function)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) const)
template<typename Result >
MexMethodMapadd (const std::string &name, Result(Type::*function)(int nrhs, const mxArray *prhs[]))
template<typename Result >
MexMethodMapadd (const std::string &name, Result(Type::*function)(int nrhs, const mxArray *prhs[]) const)
template<typename Result >
MexMethodMapadd (const std::string &name, Result(Type::*function)())
template<typename Result >
MexMethodMapadd (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
MexMethodMapthrowOnUnknown (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_

Detailed Description

template<class Type>
class rosmatlab::MexMethodMap< Type >

Definition at line 199 of file object.h.


Constructor & Destructor Documentation

template<class Type>
rosmatlab::MexMethodMap< Type >::MexMethodMap ( ) [inline]

Definition at line 221 of file object.h.


Member Function Documentation

template<class Type>
template<typename Result >
MexMethodMap& rosmatlab::MexMethodMap< Type >::add ( const std::string &  name,
Result(Type::*)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])  function 
) [inline]

Definition at line 241 of file object.h.

template<class Type>
template<typename Result >
MexMethodMap& rosmatlab::MexMethodMap< Type >::add ( const std::string &  name,
Result(Type::*)(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) const  function 
) [inline]

Definition at line 247 of file object.h.

template<class Type>
template<typename Result >
MexMethodMap& rosmatlab::MexMethodMap< Type >::add ( const std::string &  name,
Result(Type::*)(int nrhs, const mxArray *prhs[])  function 
) [inline]

Definition at line 253 of file object.h.

template<class Type>
template<typename Result >
MexMethodMap& rosmatlab::MexMethodMap< Type >::add ( const std::string &  name,
Result(Type::*)(int nrhs, const mxArray *prhs[]) const  function 
) [inline]

Definition at line 259 of file object.h.

template<class Type>
template<typename Result >
MexMethodMap& rosmatlab::MexMethodMap< Type >::add ( const std::string &  name,
Result(Type::*)()  function 
) [inline]

Definition at line 265 of file object.h.

template<class Type>
template<typename Result >
MexMethodMap& rosmatlab::MexMethodMap< Type >::add ( const std::string &  name,
Result(Type::*)() const  function 
) [inline]

Definition at line 271 of file object.h.

template<class Type>
bool rosmatlab::MexMethodMap< Type >::call ( Type *  object,
const std::string &  name,
int &  nlhs,
mxArray **&  plhs,
int &  nrhs,
const mxArray **&  prhs 
) const [inline]

Definition at line 310 of file object.h.

template<class Type>
bool rosmatlab::MexMethodMap< Type >::has ( const std::string &  name) const [inline]

Definition at line 306 of file object.h.

template<class Type>
bool rosmatlab::MexMethodMap< Type >::initialize ( ) [inline]

Definition at line 223 of file object.h.

template<class Type>
rosmatlab::MexMethodMap< Type >::operator void * ( ) const [inline]

Definition at line 231 of file object.h.

template<class Type>
MexMethodMap& rosmatlab::MexMethodMap< Type >::throwOnUnknown ( bool  value = true) [inline]

Definition at line 235 of file object.h.


Member Data Documentation

template<class Type>
bool rosmatlab::MexMethodMap< Type >::initialized_ [private]

Definition at line 217 of file object.h.

template<class Type>
std::map<std::string,boost::function<void(Type *, int, mxArray * rosmatlab::MexMethodMap< Type >::methods_[], int, const mxArray *[])> > [private]

Definition at line 215 of file object.h.

template<class Type>
bool rosmatlab::MexMethodMap< Type >::throw_on_unknown_ [private]

Definition at line 218 of file object.h.


The documentation for this class was generated from the following file:


rosmatlab
Author(s): Johannes Meyer
autogenerated on Fri Jul 25 2014 06:08:36