#include <CTendencyCurve.hpp>
|
| CTendencyCurve ()=delete |
|
| CTendencyCurve (const CTendencyCurve &other)=delete |
|
| CTendencyCurve (CTendencyCurve &&other)=delete |
|
| ~CTendencyCurve () |
|
CTendencyCurve & | operator= (const CTendencyCurve &other)=delete |
|
CTendencyCurve & | operator= (CTendencyCurve &&other)=delete |
|
bool | operator== (const CTendencyCurve &b) const |
|
void | addPoint (iv::types::timestamp timeSeconds, double value) const |
|
void | drawAxis (IGraphics *graphics, bool withAxisX, bool withAxisY, bool withVerticalGrid, bool withHorizontalGrid, iv::types::height textHeight, iv::types::color colorRGBAxisY, uint64_t indCurve, bool multipleCurves, bool isPrinting=false) const |
|
void | drawAxisReference (double valueX, IGraphics *graphics, double maxY, double minY, bool multipleCurves) const |
|
void | sortPoints () const |
|
std::shared_ptr< std::vector< std::shared_ptr< std::vector< iv::math::geometry::Point2d > > > > | generatePlotLines () const |
|
void | printValues (AbstractLog *logger) const |
|
std::string | strValue (double valueX, double valueY, unsigned char *justify) const |
|
std::vector< std::string > | strClickedTime (double clickedPointX) const |
|
void | writeClickedTime (IGraphics *graphics, double maxY, double minY, double clickedTime, unsigned char justify, bool multipleCurves, double sizeHeight) const |
|
double | moveValuePositionX (double actualPositionX, double percentage) const |
|
iv::time::Timestamp | getStartTime () const |
|
iv::time::Timestamp | getEndTime () const |
|
std::string | getDescriptionChannel () const |
|
std::string | getStrUnit () const |
|
double | getMinY () const |
|
double | getMaxY () const |
|
ETendencyCurveType | getCurveType () const |
|
|
static std::shared_ptr< CTendencyCurve > | createTendencyCurveAnalog (std::string_view tagChannel, std::string_view descriptionChannel, const iv::time::Timestamp &initInterval, const iv::time::Timestamp &endInterval, uint64_t step, double yMin, double yMax, double multiplier, uint16_t numDecimalsY, std::string_view strUnit, bool isDigital=false) |
|
static std::shared_ptr< CTendencyCurve > | createTendencyCurveDigital (std::string_view tagChannel, std::string_view descriptionChannel, const iv::time::Timestamp &initInterval, const iv::time::Timestamp &endInterval, uint64_t step, bool isDigital=true) |
|
|
| CTendencyCurve (ETendencyCurveType typeTendencyCurve, std::string_view tagChannel, std::string_view descriptionChannel, STendencyChannelData **tendencyChannelData, double yMin, double yMax, double multiplier, uint16_t numDecimalsY, std::string_view strUnit, bool isDigital) |
|
◆ CTendencyCurve() [1/4]
CTendencyCurve::CTendencyCurve |
( |
| ) |
|
|
delete |
◆ CTendencyCurve() [2/4]
◆ CTendencyCurve() [3/4]
◆ ~CTendencyCurve()
CTendencyCurve::~CTendencyCurve |
( |
| ) |
|
◆ CTendencyCurve() [4/4]
CTendencyCurve::CTendencyCurve |
( |
ETendencyCurveType | typeTendencyCurve, |
|
|
std::string_view | tagChannel, |
|
|
std::string_view | descriptionChannel, |
|
|
STendencyChannelData ** | tendencyChannelData, |
|
|
double | yMin, |
|
|
double | yMax, |
|
|
double | multiplier, |
|
|
uint16_t | numDecimalsY, |
|
|
std::string_view | strUnit, |
|
|
bool | isDigital ) |
|
private |
◆ addPoint()
◆ createTendencyCurveAnalog()
std::shared_ptr< CTendencyCurve > CTendencyCurve::createTendencyCurveAnalog |
( |
std::string_view | tagChannel, |
|
|
std::string_view | descriptionChannel, |
|
|
const iv::time::Timestamp & | initInterval, |
|
|
const iv::time::Timestamp & | endInterval, |
|
|
uint64_t | step, |
|
|
double | yMin, |
|
|
double | yMax, |
|
|
double | multiplier, |
|
|
uint16_t | numDecimalsY, |
|
|
std::string_view | strUnit, |
|
|
bool | isDigital = false ) |
|
static |
◆ createTendencyCurveDigital()
std::shared_ptr< CTendencyCurve > CTendencyCurve::createTendencyCurveDigital |
( |
std::string_view | tagChannel, |
|
|
std::string_view | descriptionChannel, |
|
|
const iv::time::Timestamp & | initInterval, |
|
|
const iv::time::Timestamp & | endInterval, |
|
|
uint64_t | step, |
|
|
bool | isDigital = true ) |
|
static |
◆ drawAxis()
void CTendencyCurve::drawAxis |
( |
IGraphics * | graphics, |
|
|
bool | withAxisX, |
|
|
bool | withAxisY, |
|
|
bool | withVerticalGrid, |
|
|
bool | withHorizontalGrid, |
|
|
iv::types::height | textHeight, |
|
|
iv::types::color | colorRGBAxisY, |
|
|
uint64_t | indCurve, |
|
|
bool | multipleCurves, |
|
|
bool | isPrinting = false ) const |
◆ drawAxisReference()
void CTendencyCurve::drawAxisReference |
( |
double | valueX, |
|
|
IGraphics * | graphics, |
|
|
double | maxY, |
|
|
double | minY, |
|
|
bool | multipleCurves ) const |
◆ generatePlotLines()
std::shared_ptr< std::vector< std::shared_ptr< std::vector< iv::math::geometry::Point2d > > > > CTendencyCurve::generatePlotLines |
( |
| ) |
const |
|
nodiscard |
◆ getCurveType()
◆ getDescriptionChannel()
std::string CTendencyCurve::getDescriptionChannel |
( |
| ) |
const |
|
nodiscard |
◆ getEndTime()
◆ getMaxY()
double CTendencyCurve::getMaxY |
( |
| ) |
const |
|
nodiscard |
◆ getMinY()
double CTendencyCurve::getMinY |
( |
| ) |
const |
|
nodiscard |
◆ getStartTime()
◆ getStrUnit()
std::string CTendencyCurve::getStrUnit |
( |
| ) |
const |
|
nodiscard |
◆ moveValuePositionX()
double CTendencyCurve::moveValuePositionX |
( |
double | actualPositionX, |
|
|
double | percentage ) const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
◆ printValues()
void CTendencyCurve::printValues |
( |
AbstractLog * | logger | ) |
const |
◆ prvGenerateSegmentLines()
◆ sortPoints()
void CTendencyCurve::sortPoints |
( |
| ) |
const |
◆ strClickedTime()
std::vector< std::string > CTendencyCurve::strClickedTime |
( |
double | clickedPointX | ) |
const |
◆ strValue()
std::string CTendencyCurve::strValue |
( |
double | valueX, |
|
|
double | valueY, |
|
|
unsigned char * | justify ) const |
◆ writeClickedTime()
void CTendencyCurve::writeClickedTime |
( |
IGraphics * | graphics, |
|
|
double | maxY, |
|
|
double | minY, |
|
|
double | clickedTime, |
|
|
unsigned char | justify, |
|
|
bool | multipleCurves, |
|
|
double | sizeHeight ) const |
◆ m_descriptionChannel
std::string CTendencyCurve::m_descriptionChannel |
|
private |
◆ m_isDigital
bool CTendencyCurve::m_isDigital |
|
private |
◆ m_multiplier
double CTendencyCurve::m_multiplier |
|
private |
◆ m_numDecimalsY
uint16_t CTendencyCurve::m_numDecimalsY |
|
private |
◆ m_strUnit
std::string CTendencyCurve::m_strUnit |
|
private |
◆ m_tagChannel
std::string CTendencyCurve::m_tagChannel |
|
private |
◆ m_tendencyChannelData
◆ m_typeTendencyCurve
◆ m_yMaxAnalog
double CTendencyCurve::m_yMaxAnalog |
|
private |
◆ m_yMinAnalog
double CTendencyCurve::m_yMinAnalog |
|
private |
The documentation for this class was generated from the following files: