30 #ifndef ObjWithRecorders_h 31 #define ObjWithRecorders_h 33 #include "xc_utils/src/nucleo/EntCmd.h" 34 #include "utility/handler/DataOutputHandler.h" 47 typedef std::list<Recorder *> lista_recorders;
48 typedef lista_recorders::iterator recorder_iterator;
49 typedef lista_recorders::const_iterator const_recorder_iterator;
51 lista_recorders theRecorders;
52 DataOutputHandler::map_output_handlers *output_handlers;
60 {
return theRecorders.size(); }
61 virtual Domain *get_domain_ptr(
void)= 0;
63 ObjWithRecorders(EntCmd *owr,DataOutputHandler::map_output_handlers *oh=
nullptr);
68 inline recorder_iterator recorder_begin(
void)
69 {
return theRecorders.begin(); }
70 inline const_recorder_iterator recorder_begin(
void)
const 71 {
return theRecorders.begin(); }
72 inline recorder_iterator recorder_end(
void)
73 {
return theRecorders.end(); }
74 inline const_recorder_iterator recorder_end(
void)
const 75 {
return theRecorders.end(); }
76 virtual int record(
int track,
double timeStamp= 0.0);
virtual ~ObjWithRecorders(void)
Destructor.
Definition: ObjWithRecorders.cc:163
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
void restart(void)
Rearranca los recorders.
Definition: ObjWithRecorders.cc:186
virtual int record(int track, double timeStamp=0.0)
Ejecuta los recorders sobre el tag being passed as parameter.
Definition: ObjWithRecorders.cc:178
virtual int addRecorder(Recorder &theRecorder)
Adds a recorder.
Definition: ObjWithRecorders.cc:171
Objeto capaz de gestionar Recorders.
Definition: ObjWithRecorders.h:44
void SetOutputHandlers(DataOutputHandler::map_output_handlers *oh)
Asigna el almacén de gestores de salida.
Definition: ObjWithRecorders.cc:218
An Recorder object is used in the program to store/restore information at each commit().
Definition: Recorder.h:79
Recorder * newRecorder(const std::string &, DataOutputHandler *oh=nullptr)
Lee un objeto Recorder desde archivo.
Definition: ObjWithRecorders.cc:76
size_t getNumRecorders(void) const
Returns the number of recorders already defined.
Definition: ObjWithRecorders.h:59
virtual int removeRecorders(void)
Elimina los recorders.
Definition: ObjWithRecorders.cc:193
void setLinks(Domain *dom)
Asigna el domain a los recorders.
Definition: ObjWithRecorders.cc:202
Definition: DataOutputHandler.h:61
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34