libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
SaveContext Class Reference

Saves the context describe in an Env structure of one run and associates a Statistic Data structure. More...

#include <SaveContext.hpp>

Public Member Functions

 SaveContext ()
 Constructor.
 
 ~SaveContext ()
 Destructor.
 
void clear ()
 Erases all contexts.
 
unsigned int getNumberStored ()
 returns the number of environments Stored in the data structures
 
unsigned int saveCurrentEnvToStack ()
 Saves Current Environment to Stack.
 
void switchCurrentEnvTo (unsigned int i)
 Changes the Current Environment to a stored one.
 
void deleteEnv (unsigned int i)
 Delete Env.
 
void printVariables (unsigned int id)
 Prints the variables of The environment.
 
void printData (unsigned int i)
 Print all variables of an environment.
 
std::vector< double > & getTime (int id)
 Get Time Vector.
 
void addTime (std::vector< double > time)
 Add Time Vector.
 
std::map< Env::boolParameter,
boolContainer * > 
copyMap (std::map< Env::boolParameter, boolContainer * > map)
 Copy constructors of the 4 type of maps.
 
std::map< Env::intParameter,
intContainer * > 
copyMap (std::map< Env::intParameter, intContainer * > map)
 
std::map< Env::doubleParameter,
doubleContainer * > 
copyMap (std::map< Env::doubleParameter, doubleContainer * > map)
 
std::map< Env::stringParameter,
stringContainer * > 
copyMap (std::map< Env::stringParameter, stringContainer * > map)
 

Detailed Description

Saves the context describe in an Env structure of one run and associates a Statistic Data structure.


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