|
OpenWAM
|
#include <TTable1D.h>
Public Member Functions | |
| TTable1D (int i) | |
| ~TTable1D () | |
| double | Output (double Time) |
| void | LeeController (const char *FileWAM, fpos_t &filepos) |
| void | AsignaObjetos (TSensor **Sensor, TController **Controller) |
| void | LeeResultadosMedControlador (const char *FileWAM, fpos_t &filepos) |
| void | LeeResultadosInsControlador (const char *FileWAM, fpos_t &filepos) |
| void | CabeceraResultadosMedControlador (stringstream &medoutput) |
| void | CabeceraResultadosInsControlador (stringstream &insoutput) |
| void | ImprimeResultadosMedControlador (stringstream &medoutput) |
| void | ImprimeResultadosInsControlador (stringstream &insoutput) |
| void | IniciaMedias () |
| void | ResultadosMediosController () |
| void | AcumulaResultadosMediosController (double Actual) |
| void | ResultadosInstantController () |
Public Member Functions inherited from TController | |
| TController (nmControlMethod meth, int i) | |
| ~TController () | |
Additional Inherited Members | |
Protected Attributes inherited from TController | |
| std::vector< TSensor * > | FSensor |
| Array with the pointers of the sensor inputs. | |
| int | FNumSensors |
| Number of sensor input. | |
| iVector | FSensorID |
| Array with the ID of the sensor inputs. | |
| int | FControllerID |
| ID of this controller. | |
| nmControlMethod | FControl |
| Type of controller. | |
| stResMediosCtrl | FResMediosCtrl |
| Struct with the average results of the controllers. | |
| stResInstantCtrl | FResInstantCtrl |
| Struct with the average results of the controllers. | |
This object is use to generate one-dimensional map to simulate ECU maps
Definition at line 37 of file TTable1D.h.
| TTable1D::TTable1D | ( | int | i | ) |
| TTable1D::~TTable1D | ( | ) |
One dimensional table destructor
Definition at line 46 of file TTable1D.cpp.
|
virtual |
Acumulate the average results
| Actual | Current time |
Implements TController.
Definition at line 282 of file TTable1D.cpp.
References TController::FResMediosCtrl.
|
virtual |
Asign the controllers and the sensors
| Sensor | Array with sensors |
| Controller | Array with controllers |
Implements TController.
Definition at line 123 of file TTable1D.cpp.
References TController::FSensor, and TController::FSensorID.
|
virtual |
Generate the header of the instantaneus results for the controller
| insoutput | StringStream where the instantaneous results are stored |
Implements TController.
Definition at line 203 of file TTable1D.cpp.
References TController::FResInstantCtrl, and PutLabel().
|
virtual |
Generate the header of the average results for the controller
| medoutput | StringStream where the average results are stored |
Implements TController.
Definition at line 187 of file TTable1D.cpp.
References TController::FResMediosCtrl, and PutLabel().
|
virtual |
Print the instantaneous results
| insoutput | StringStream where the average results are stored |
Implements TController.
Definition at line 234 of file TTable1D.cpp.
References TController::FResInstantCtrl.
|
virtual |
Print the average results
| medoutput | StringStream where the average results are stored |
Implements TController.
Definition at line 219 of file TTable1D.cpp.
References TController::FResMediosCtrl.
|
virtual |
Initialize average results
Implements TController.
Definition at line 249 of file TTable1D.cpp.
References TController::FResMediosCtrl.
|
virtual |
Read data information of the controller
| FileWAM | Filename of the input data file |
| filepos | Position within the input data file to read |
Implements TController.
Definition at line 61 of file TTable1D.cpp.
References TController::FSensorID.
|
virtual |
Read the instantaneous results selected for the controller
| FileWAM | Filename of the input data file |
| filepos | Positon within the input data file to read |
Implements TController.
Definition at line 159 of file TTable1D.cpp.
References TController::FResInstantCtrl.
|
virtual |
Read the average results selected for the controller
| FileWAM | Filename of the input data file |
| filepos | Position within the input data file to read |
Implements TController.
Definition at line 131 of file TTable1D.cpp.
References TController::FResMediosCtrl.
|
virtual |
Return the output of this controller
| Time | Current time |
Implements TController.
Definition at line 50 of file TTable1D.cpp.
References AcumulaResultadosMediosController(), and TController::FSensor.
|
virtual |
Calculate the instantaneous results
Implements TController.
Definition at line 302 of file TTable1D.cpp.
References TController::FResInstantCtrl.
|
virtual |
Calculate average Results
Implements TController.
Definition at line 263 of file TTable1D.cpp.
References TController::FResMediosCtrl.
1.8.17