OpenWAM
|
Public Member Functions | |
TGain (int i) | |
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 () |
![]() | |
TController (nmControlMethod meth, int i) | |
~TController () | |
Additional Inherited Members | |
![]() | |
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. | |
|
virtual |
Acumulate average results
Actual | Current time |
Implements TController.
Definition at line 187 of file TGain.cpp.
References TController::FResMediosCtrl.
|
virtual |
Asign the input sensor and controllers
Sensor | Array with the sensor objects |
Controller | Array with the controller objects |
Implements TController.
Definition at line 70 of file TGain.cpp.
|
virtual |
Generate instantaneous results header
insoutput | StringStream where the instantaneous results are stored |
Implements TController.
Definition at line 139 of file TGain.cpp.
References TController::FResInstantCtrl, and PutLabel().
|
virtual |
Generate average results header
medoutput | StringStrems where the average results are stored |
Implements TController.
Definition at line 128 of file TGain.cpp.
References TController::FResMediosCtrl, and PutLabel().
|
virtual |
Print instantaneous results
insoutput | StringStream where the instantaneous results are stored |
Implements TController.
Definition at line 160 of file TGain.cpp.
References TController::FResInstantCtrl.
|
virtual |
Print average results
medoutput | StringStream where the average results are stored |
Implements TController.
Definition at line 150 of file TGain.cpp.
References TController::FResMediosCtrl.
|
virtual |
Initialize average results
Implements TController.
Definition at line 170 of file TGain.cpp.
References TController::FResMediosCtrl.
|
virtual |
Read the information of the controller
FileWAM | Input data filename |
filepos | Position to read within the input file |
Implements TController.
Definition at line 50 of file TGain.cpp.
|
virtual |
Read the instantaneous results selected
FileWAM | Input data filename |
filepos | Position within the input file |
Implements TController.
Definition at line 104 of file TGain.cpp.
References TController::FResInstantCtrl.
|
virtual |
Read the average results selected
FileWAM | Input data filename |
filepos | Position within the input file |
Implements TController.
Definition at line 79 of file TGain.cpp.
References TController::FResMediosCtrl.
|
virtual |
|
virtual |
Calculate instanteneous results
Implements TController.
Definition at line 201 of file TGain.cpp.
References TController::FResInstantCtrl.
|
virtual |
Calculate average results
Implements TController.
Definition at line 176 of file TGain.cpp.
References TController::FResMediosCtrl.