Parameter class for matlab input/output. More...
#include <params_matlab.h>
Public Member Functions | |
| params_matlab (const mxArray **data_ptr, std::map< wrapper::p_vals, int > contents) | |
| constructor | |
| params_matlab (mxArray **data_ptr, std::map< wrapper::p_vals, int > contents, int rows_in, int cols_in) | |
| wrapper_i_base * | make_wrapper_in () |
| Returns a pointer to a wrapper_i object based on the parameter object. | |
| wrapper_o_base * | make_wrapper_out () |
| Returns a pointer to a output wrapper_o object based on the parameter object. | |
Public Attributes | |
| const mxArray ** | data_in |
| Pointer to the pointer to the data array. | |
| mxArray ** | data_out |
| int | rows |
| Number of rows in the data. | |
| int | cols |
| number of columns in the data | |
| std::map< wrapper::p_vals, int > | contains |
Parameter class for matlab input/output.
| tracking::params_matlab::params_matlab | ( | const mxArray ** | data_ptr, | |
| std::map< wrapper::p_vals, int > | contents | |||
| ) | [inline] |
constructor
| tracking::params_matlab::params_matlab | ( | mxArray ** | data_ptr, | |
| std::map< wrapper::p_vals, int > | contents, | |||
| int | rows_in, | |||
| int | cols_in | |||
| ) | [inline] |
| wrapper_i_base* tracking::params_matlab::make_wrapper_in | ( | ) | [inline, virtual] |
Returns a pointer to a wrapper_i object based on the parameter object.
This function instataites an object, but the paramter class does not clean it up. This should only be called in cases where how it will be cleaned up is clear. This should probably be moved in to protected and have every child class be friends with master_box.
Implements tracking::params.
| wrapper_o_base* tracking::params_matlab::make_wrapper_out | ( | ) | [inline, virtual] |
Returns a pointer to a output wrapper_o object based on the parameter object.
This function instataites an object, but the paramter class does not clean it up. This should only be called in cases where how it will be cleaned up is clear. This should probably be moved in to protected and have every child class be friends with master_box.
Implements tracking::params.
number of columns in the data
std::map<wrapper::p_vals,int> tracking::params::contains [inherited] |
| const mxArray** tracking::params_matlab::data_in |
Pointer to the pointer to the data array.
| mxArray** tracking::params_matlab::data_out |
Referenced by tracking::wrapper_o_matlab::reset_wrapper().
Number of rows in the data.
1.5.9-20090622