![]() |
.Simulation
|
Object used for reading and storing data. More...
#include <DataManager.h>
Public Member Functions | |
| DataManager (QWidget *parent=0) | |
| Constructor. | |
| ~DataManager () | |
| Destructor. | |
| void | StoreData () |
| Reads and stores all available files in a specified directory. | |
| DataRPK & | GetRPGuess2Data () |
| Returns the RP Guess 2 data. More... | |
| DataRPK & | GetRPActual () |
| Returns the RP Actual data. More... | |
| DataSnapshot & | GetSnapshotData (int index) |
| Returns snapshot data at a given index. More... | |
| DataSavepoint & | GetSavepointData (int index) |
| Returns the save point data at a given index. More... | |
| DataCollisionEnergy & | GetCollisionEnergyData (int index) |
| Returns the collision energy data at a given index. More... | |
| int | GetMaxSets () const |
| Returns the maximum number of files in either the snapshot, save point, or collision energy lists. | |
| QString | GetDirPath () const |
| Returns the simulation output directory. | |
| void | SetDirPath (const QString &dir) |
| Sets the simulation output directory. | |
Protected Member Functions | |
| template<typename T > | |
| bool | CheckBounds (int index, vector< T > container) const |
| Check if an index is within the range of a given container or array. | |
Protected Attributes | |
| DataRPK | RPGuess2_ |
| Holds the RP prediction data set. More... | |
| DataRPK | RPActual_ |
| Holds the RP actual data set. More... | |
| vector< DataSnapshot > | Snapshot_ |
| List of compiled snapshot data. More... | |
| vector< DataSavepoint > | Savepoint_ |
| List of compiled save point data. More... | |
| vector< DataCollisionEnergy > | CollideEnergy_ |
| List of compiled collision energy data. More... | |
| QString | DirPath_ |
| Path of the file directory that the files are read from. More... | |
| int | MaxSets_ |
| Records the number of files whole sets stored. More... | |
| QWidget * | Parent_ |
Object used for reading and storing data.
| DataCollisionEnergy & DataManager::GetCollisionEnergyData | ( | int | index | ) |
Returns the collision energy data at a given index.
Returns a blank collision energy data if no data is found.
| DataRPK & DataManager::GetRPActual | ( | ) |
Returns the RP Actual data.
Returns a blank RPK if no data is found.
| DataRPK & DataManager::GetRPGuess2Data | ( | ) |
Returns the RP Guess 2 data.
Returns a blank RPK if no data is found.
| DataSavepoint & DataManager::GetSavepointData | ( | int | index | ) |
Returns the save point data at a given index.
Returns a blank save point data if no data is found.
| DataSnapshot & DataManager::GetSnapshotData | ( | int | index | ) |
Returns snapshot data at a given index.
Returns a blank snapshot if no data is found.
|
protected |
List of compiled collision energy data.
|
protected |
Path of the file directory that the files are read from.
|
protected |
Records the number of files whole sets stored.
|
protected |
Holds the RP actual data set.
|
protected |
Holds the RP prediction data set.
|
protected |
List of compiled save point data.
|
protected |
List of compiled snapshot data.
1.8.5