LRAUV  revA
LinearApproxLogWriter::VarData Class Reference
Collaboration diagram for LinearApproxLogWriter::VarData:

Public Member Functions

 VarData (const DataEntry *startEntry, float approxError)
 
 ~VarData ()
 
DataEntrygetDataEntry ()
 
float getDeltaT (const Timestamp timestamp)
 
void advance ()
 
bool checkNextEntry (const DataEntry *nextEntry)
 
bool isReady ()
 
bool wasNaN ()
 
float getApproxError ()
 
void setApproxError (float approxError)
 
bool flushed ()
 

Private Member Functions

 VarData (const VarData &old)
 

Private Attributes

DataEntrydataEntry_
 
DataValuedataValue_
 
const Unitunit_
 
float approxError_
 
float minUpperSlope_
 
float maxLowerSlope_
 
double startValue_
 
double endValue_
 
double nextValue_
 
Timestamp startTime_
 
Timestamp endTime_
 
Timestamp nextTime_
 
bool ready_
 
bool wasNaN_
 

Constructor & Destructor Documentation

LinearApproxLogWriter::VarData::VarData ( const DataEntry startEntry,
float  approxError 
)
LinearApproxLogWriter::VarData::~VarData ( )
LinearApproxLogWriter::VarData::VarData ( const VarData old)
private

Member Function Documentation

void LinearApproxLogWriter::VarData::advance ( )
bool LinearApproxLogWriter::VarData::checkNextEntry ( const DataEntry nextEntry)
bool LinearApproxLogWriter::VarData::flushed ( )
inline

References endTime_, nextTime_, and startTime_.

Referenced by LinearApproxLogWriter::flush().

float LinearApproxLogWriter::VarData::getApproxError ( )
inline

References approxError_.

DataEntry* LinearApproxLogWriter::VarData::getDataEntry ( )
inline
float LinearApproxLogWriter::VarData::getDeltaT ( const Timestamp  timestamp)
bool LinearApproxLogWriter::VarData::isReady ( )
inline

References ready_.

void LinearApproxLogWriter::VarData::setApproxError ( float  approxError)
inline

References approxError_.

bool LinearApproxLogWriter::VarData::wasNaN ( )
inline

References wasNaN_.

Referenced by LinearApproxLogWriter::write().

Member Data Documentation

float LinearApproxLogWriter::VarData::approxError_
private

Referenced by getApproxError(), and setApproxError().

DataEntry* LinearApproxLogWriter::VarData::dataEntry_
private

Referenced by getDataEntry().

DataValue* LinearApproxLogWriter::VarData::dataValue_
private

Referenced by VarData().

Timestamp LinearApproxLogWriter::VarData::endTime_
private

Referenced by flushed().

double LinearApproxLogWriter::VarData::endValue_
private

Referenced by VarData().

float LinearApproxLogWriter::VarData::maxLowerSlope_
private
float LinearApproxLogWriter::VarData::minUpperSlope_
private
Timestamp LinearApproxLogWriter::VarData::nextTime_
private

Referenced by flushed().

double LinearApproxLogWriter::VarData::nextValue_
private

Referenced by VarData().

bool LinearApproxLogWriter::VarData::ready_
private

Referenced by isReady().

Timestamp LinearApproxLogWriter::VarData::startTime_
private

Referenced by flushed().

double LinearApproxLogWriter::VarData::startValue_
private

Referenced by VarData().

const Unit& LinearApproxLogWriter::VarData::unit_
private

Referenced by VarData().

bool LinearApproxLogWriter::VarData::wasNaN_
private

Referenced by wasNaN().


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