LRAUV  revA
LinearApproximationLogWriter::VarData Class Reference
Collaboration diagram for LinearApproximationLogWriter::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 ()
 

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

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

Member Function Documentation

void LinearApproximationLogWriter::VarData::advance ( )
bool LinearApproximationLogWriter::VarData::checkNextEntry ( const DataEntry nextEntry)
DataEntry* LinearApproximationLogWriter::VarData::getDataEntry ( )
inline
float LinearApproximationLogWriter::VarData::getDeltaT ( const Timestamp  timestamp)
bool LinearApproximationLogWriter::VarData::isReady ( )
inline

References ready_.

bool LinearApproximationLogWriter::VarData::wasNaN ( )
inline

Member Data Documentation

float LinearApproximationLogWriter::VarData::approxError_
private
DataEntry* LinearApproximationLogWriter::VarData::dataEntry_
private

Referenced by getDataEntry().

DataValue* LinearApproximationLogWriter::VarData::dataValue_
private

Referenced by VarData().

Timestamp LinearApproximationLogWriter::VarData::endTime_
private
double LinearApproximationLogWriter::VarData::endValue_
private

Referenced by VarData().

float LinearApproximationLogWriter::VarData::maxLowerSlope_
private
float LinearApproximationLogWriter::VarData::minUpperSlope_
private
Timestamp LinearApproximationLogWriter::VarData::nextTime_
private
double LinearApproximationLogWriter::VarData::nextValue_
private

Referenced by VarData().

bool LinearApproximationLogWriter::VarData::ready_
private

Referenced by isReady().

Timestamp LinearApproximationLogWriter::VarData::startTime_
private
double LinearApproximationLogWriter::VarData::startValue_
private

Referenced by VarData().

const Unit& LinearApproximationLogWriter::VarData::unit_
private

Referenced by VarData().

bool LinearApproximationLogWriter::VarData::wasNaN_
private

Referenced by wasNaN().


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