|
OpenWAM
|
#include <TController.h>
Public Member Functions | |
| TController (nmControlMethod meth, int i) | |
| ~TController () | |
| virtual void | LeeController (const char *FileWAM, fpos_t &filepos)=0 |
| virtual double | Output (double Time)=0 |
| virtual void | AsignaObjetos (TSensor **Sensor, TController **Controller)=0 |
| virtual void | LeeResultadosMedControlador (const char *FileWAM, fpos_t &filepos)=0 |
| virtual void | LeeResultadosInsControlador (const char *FileWAM, fpos_t &filepos)=0 |
| virtual void | CabeceraResultadosMedControlador (std::stringstream &medoutput)=0 |
| virtual void | CabeceraResultadosInsControlador (std::stringstream &insoutput)=0 |
| virtual void | ImprimeResultadosMedControlador (std::stringstream &medoutput)=0 |
| virtual void | ImprimeResultadosInsControlador (std::stringstream &insoutput)=0 |
| virtual void | IniciaMedias ()=0 |
| virtual void | ResultadosMediosController ()=0 |
| virtual void | AcumulaResultadosMediosController (double Actual)=0 |
| virtual void | ResultadosInstantController ()=0 |
Protected Attributes | |
| 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 oject is used to control parameter in the engine (rack positions, fuel injected ...)
Definition at line 37 of file TController.h.
| TController::TController | ( | nmControlMethod | meth, |
| int | i | ||
| ) |
Constructor of the controller class
| meth | Type of controller |
| i | Index |
Definition at line 38 of file TController.cpp.
References FControl, FControllerID, FResInstantCtrl, and FResMediosCtrl.
| TController::~TController | ( | ) |
|
pure virtual |
Acumulate average results
| Actual | Current tiem |
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Asign the input sensor and controllers
| Sensor | Array with the sensor objects |
| Controller | Array with the controller objects |
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Generate the header of the instantaneous results
| insoutput | StringStream where the instantaneous results are stored |
Implemented in TPIDController, TDecisor, TTable1D, and TGain.
|
pure virtual |
Generate the header of the average results
| medoutput | StringStream where the average results are stored |
Implemented in TPIDController, TDecisor, TTable1D, and TGain.
|
pure virtual |
Print the instantaneous results of the controller
Implemented in TPIDController, TDecisor, TTable1D, and TGain.
|
pure virtual |
Print the average results of the controller
| medoutput | StringStream where the average results are stored |
Implemented in TPIDController, TDecisor, TTable1D, and TGain.
|
pure virtual |
Initialize average results
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Read the information of the controller
| FileWAM | Input data filename |
| filepos | Position to read within the input file |
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Read the instantanous results selected
| FileWAM | Input data filename |
| filepos | Position to read within the input file |
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Read the average results selected
| FileWAM | Input data filename |
| filepos | Position to read within the input file |
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Return the output value of the controller
| Time | Current time |
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Calculate instantaneus results
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
|
pure virtual |
Calculate average results
Implemented in TPIDController, TDecisor, TTable1D, TGain, and TTable.
1.8.17