libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moTrackerSystemHistory Class Reference

#include <moFilterManager.h>

Inheritance diagram for moTrackerSystemHistory:
moAbstract

Public Member Functions

 moTrackerSystemHistory ()
 
virtual ~moTrackerSystemHistory ()
 
void StartRecording (long maxtime=60000, long granularity=30)
 Empieza a grabar. More...
 
bool IsRecording ()
 
void Record (moTrackerInstanceRecord &p_InstanceRecord, long p_Tick=-1)
 
void PauseRecording ()
 Util cuando no hay señales interesantes... More...
 
void ContinueRecording ()
 
void StopRecording ()
 
void Reset ()
 
long CountRecords ()
 
bool SaveToFile (moText filename)
 
bool SaveToXML (moText filename)
 
moTrackerInstanceRecordGet (int index)
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Public Attributes

long m_MaxTime
 
long m_Granularity
 
long m_nRecorded
 
double m_RecordFactor
 
moTimer m_Timer
 
moTrackerInstanceRecords m_History
 
- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 

Additional Inherited Members

- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Detailed Description

Definition at line 471 of file moFilterManager.h.

Constructor & Destructor Documentation

moTrackerSystemHistory::moTrackerSystemHistory ( )

Definition at line 100 of file moFilterManager.cpp.

moTrackerSystemHistory::~moTrackerSystemHistory ( )
virtual

Definition at line 106 of file moFilterManager.cpp.

Member Function Documentation

void moTrackerSystemHistory::ContinueRecording ( )

Definition at line 141 of file moFilterManager.cpp.

long moTrackerSystemHistory::CountRecords ( )

Definition at line 146 of file moFilterManager.cpp.

moTrackerInstanceRecord & moTrackerSystemHistory::Get ( int  index)

Definition at line 224 of file moFilterManager.cpp.

bool moTrackerSystemHistory::IsRecording ( )
inline

Definition at line 489 of file moFilterManager.h.

void moTrackerSystemHistory::PauseRecording ( )

Util cuando no hay señales interesantes...

Definition at line 193 of file moFilterManager.cpp.

void moTrackerSystemHistory::Record ( moTrackerInstanceRecord p_InstanceRecord,
long  p_Tick = -1 
)

Definition at line 152 of file moFilterManager.cpp.

void moTrackerSystemHistory::Reset ( )

Definition at line 205 of file moFilterManager.cpp.

bool moTrackerSystemHistory::SaveToFile ( moText  filename)

Definition at line 212 of file moFilterManager.cpp.

bool moTrackerSystemHistory::SaveToXML ( moText  filename)

Definition at line 218 of file moFilterManager.cpp.

void moTrackerSystemHistory::StartRecording ( long  maxtime = 60000,
long  granularity = 30 
)

Empieza a grabar.

Prepara el arreglo para los registros, arranca el temporizador y habilita así poder grabar. El objeto padre tiene que llamar regularmente a Record cuando tenga datos y esta clase se ocupará de registrar en funcion de la granularidad... En un futuro se podría generar algun tipo de interpolacion, extrapolación para mejorar los valores de estos datos.

Parameters
maxtimetiempo máximo que durará la grabación en milisegundos
granularityintervalo entre cada grabación en milisegundos

tiempo máximo de duracion de la grabacion

granularidad de la grabacion ( 30 ms [tiempo ] )

Definition at line 111 of file moFilterManager.cpp.

void moTrackerSystemHistory::StopRecording ( )

Definition at line 199 of file moFilterManager.cpp.

Member Data Documentation

long moTrackerSystemHistory::m_Granularity

Definition at line 504 of file moFilterManager.h.

moTrackerInstanceRecords moTrackerSystemHistory::m_History

Definition at line 509 of file moFilterManager.h.

long moTrackerSystemHistory::m_MaxTime

Definition at line 503 of file moFilterManager.h.

long moTrackerSystemHistory::m_nRecorded

Definition at line 505 of file moFilterManager.h.

double moTrackerSystemHistory::m_RecordFactor

Definition at line 506 of file moFilterManager.h.

moTimer moTrackerSystemHistory::m_Timer

Definition at line 508 of file moFilterManager.h.


The documentation for this class was generated from the following files: