Abstract base Class to handle passing parameters around between the levels of the functions. More...
#include <params.h>
Public Member Functions | |
| params (std::map< wrapper::p_vals, int > contents) | |
| Default constructor. | |
| virtual | ~params () |
| hack to make stuff compile, kill this! | |
| virtual wrapper_o_base * | make_wrapper_out ()=0 |
| Returns a pointer to a output wrapper_o object based on the parameter object. | |
| virtual wrapper_i_base * | make_wrapper_in ()=0 |
| Returns a pointer to a wrapper_i object based on the parameter object. | |
Public Attributes | |
| std::map< wrapper::p_vals, int > | contains |
Abstract base Class to handle passing parameters around between the levels of the functions.
This will have lots of children.
| tracking::params::params | ( | std::map< wrapper::p_vals, int > | contents | ) | [inline] |
Default constructor.
| virtual tracking::params::~params | ( | ) | [inline, virtual] |
hack to make stuff compile, kill this!
virtual default destructor
| virtual wrapper_i_base* tracking::params::make_wrapper_in | ( | ) | [pure 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.
Implemented in tracking::params_file, tracking::params_matlab, tracking::params_ning, and tracking::params_ning_hd.
Referenced by tracking::master_box_t< particle >::init().
| virtual wrapper_o_base* tracking::params::make_wrapper_out | ( | ) | [pure 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.
Implemented in tracking::params_file, and tracking::params_matlab.
| std::map<wrapper::p_vals,int> tracking::params::contains |
1.5.9-20090622