OpenWAM
|
Public Member Functions | |
TTable (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 () | |
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 |
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 tiem |
Implements TController.
Definition at line 358 of file TTable.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 79 of file TTable.cpp.
References TController::FSensor, and TController::FSensorID.
|
virtual |
Initialize average results
Implements TController.
Definition at line 303 of file TTable.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 TTable.cpp.
|
virtual |
Read the instantanous results selected
FileWAM | Input data filename |
filepos | Position to read within the input file |
Implements TController.
Definition at line 131 of file TTable.cpp.
References TController::FResInstantCtrl.
|
virtual |
Read the average results selected
FileWAM | Input data filename |
filepos | Position to read within the input file |
Implements TController.
Definition at line 88 of file TTable.cpp.
References TController::FResMediosCtrl.
|
virtual |
Return the output value of the controller
Time | Current time |
Implements TController.
Definition at line 46 of file TTable.cpp.
|
virtual |
Calculate instantaneus results
Implements TController.
Definition at line 392 of file TTable.cpp.
References TController::FResInstantCtrl.
|
virtual |
Calculate average results
Implements TController.
Definition at line 322 of file TTable.cpp.
References TController::FResMediosCtrl.